1 #ifndef CaloSimAlgos_CaloSimParameters_h 2 #define CaloSimAlgos_CaloSimParameters_h CaloSimParameters(double simHitToPhotoelectrons, double photoelectronsToAnalog, double samplingFactor, double timePhase, int readoutFrameSize, int binOfMaximum, bool doPhotostatistics, bool syncPhase=true)
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.
Main class for Parameters in different subdetectors.
std::ostream & operator<<(std::ostream &os, const CaloSimParameters &p)
virtual double photoelectronsToAnalog(const DetId &detId) const
double simHitToPhotoelectrons() const
void setReadoutFrameSize(int frameSize)
some datamixing apps need this to be set dynamically
double timePhase() const
the adjustment you need to apply to get the signal where you want it
void setBinOfMaximum(int binOfMax)
double simHitToPhotoelectrons_
virtual double simHitToPhotoelectrons(const DetId &) const
virtual ~CaloSimParameters()