Go to the documentation of this file. 1 #ifndef CaloSimAlgos_CaloSimParameters_h
2 #define CaloSimAlgos_CaloSimParameters_h
virtual ~CaloSimParameters()
double photoelectronsToAnalog_
bool doPhotostatistics() const
whether or not to apply Poisson statistics to photoelectrons
double photoelectronsToAnalog() const
the factor which goes from photoelectrons to whatever gets read by ADCs
int readoutFrameSize() const
for now, the LinearFrames and trhe digis will be one-to-one.
double simHitToPhotoelectrons() const
CaloSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, int readoutFrameSize, int binOfMaximum, bool doPhotostatistics, bool syncPhase=true)
double timePhase() const
the adjustment you need to apply to get the signal where you want it
void setReadoutFrameSize(int frameSize)
some datamixing apps need this to be set dynamically
void setBinOfMaximum(int binOfMax)
Main class for Parameters in different subdetectors.
virtual double photoelectronsToAnalog(const DetId &detId) const
double simHitToPhotoelectrons_
virtual double simHitToPhotoelectrons(const DetId &) const
std::ostream & operator<<(std::ostream &os, const CaloSimParameters &p)