StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StEmcSimpleSimulator Class Reference
Inheritance diagram for StEmcSimpleSimulator:
StEmcVirtualSimulator StEmcPmtSimulator

Public Member Functions

 StEmcSimpleSimulator (StDetectorId det, StEmcSimulatorMode mode)
void setTables (const StBemcTables *tables)
 DB access for peds, calib coeffs, etc.
void setCalibScale (float scale)
 scale the hit energy using a Gaussian distribution with this mean
void setCalibSpread (float spread)
 scale the hit energy using a Gaussian distribution with this width
void setEmbeddingMode (bool flag)
 if true, don't add pedestal noise to the hit
void setMaximumAdc (double adc)
 mean value for maximum possible ADC
void setMaximumAdcSpread (double spread)
 max ADC will be calculated by sampling a Gaussian with this width
virtual StEmcRawHitmakeRawHit (const StMcCalorimeterHit *mcHit)
 workhorse function

Protected Member Functions

double samplingFraction (double eta)

Protected Attributes

StDetectorId mDetectorId
StEmcSimulatorMode mMode
const StBemcTablesmTables
const StEmcGeommGeom
double mSF [3]
double mMaxADC
double mMaxADCSpread
bool mEmbeddingMode
double mCalibScale
double mCalibSpread
TRandom3 mRandom

Additional Inherited Members

- Public Types inherited from StEmcVirtualSimulator
enum  StEmcSimulatorMode {
  kTestMode, kSimpleMode, kPrimaryOnlyMode, kPrimarySecondaryFullMode,

Detailed Description

Definition at line 26 of file StEmcSimpleSimulator.h.

The documentation for this class was generated from the following files: