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)
bool doPhotostatistics() const
whether or not to apply Poisson statistics to photoelectrons
double photoelectronsToAnalog_
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Main class for Parameters in different subdetectors.
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)
double simHitToPhotoelectrons() const
int readoutFrameSize() const
for now, the LinearFrames and trhe digis will be one-to-one.
virtual double photoelectronsToAnalog(const DetId &detId) const
virtual double simHitToPhotoelectrons(const DetId &) const
double simHitToPhotoelectrons_
double photoelectronsToAnalog() const
the factor which goes from photoelectrons to whatever gets read by ADCs
virtual ~CaloSimParameters()
bool syncPhase() const
choice of the ADC time alignment (synchronous for LHC, asynchronous for test beams) ...