1 #ifndef STAR_StEmcSimpleSimulator
2 #define STAR_StEmcSimpleSimulator
8 #include "StEmcVirtualSimulator.h"
29 StDetectorId mDetectorId;
45 double samplingFraction(
double eta);
void setMaximumAdc(double adc)
mean value for maximum possible ADC
void setCalibSpread(float spread)
scale the hit energy using a Gaussian distribution with this width
virtual StEmcRawHit * makeRawHit(const StMcCalorimeterHit *mcHit)
workhorse function
void setCalibScale(float scale)
scale the hit energy using a Gaussian distribution with this mean
void setMaximumAdcSpread(double spread)
max ADC will be calculated by sampling a Gaussian with this width
void setTables(const StBemcTables *tables)
DB access for peds, calib coeffs, etc.
void setEmbeddingMode(bool flag)
if true, don't add pedestal noise to the hit