StRoot
1
|
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 StEmcRawHit * | makeRawHit (const StMcCalorimeterHit *mcHit) |
workhorse function | |
Protected Member Functions | |
double | samplingFraction (double eta) |
Protected Attributes | |
StDetectorId | mDetectorId |
StEmcSimulatorMode | mMode |
const StBemcTables * | mTables |
const StEmcGeom * | mGeom |
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, kPrimarySecondaryFastMode } |
Definition at line 26 of file StEmcSimpleSimulator.h.