Go to the documentation of this file.
5 #include "CLHEP/Random/RandGaussQ.h"
16 double rmsConstantTerm)
17 : m_simMap(parameterMap), m_theCoder(coder), m_thisCT(rmsConstantTerm), m_applyConstantTerm(
applyConstantTerm) {}
33 clf *= fac * CLHEP::RandGaussQ::shoot(engine, 1.0,
m_thisCT);
EcalElectronicsSim(const EcalSimParameterMap *parameterMap, EcalCoder *coder, bool applyConstantTerm, double rmsConstantTerm)
const bool m_applyConstantTerm
virtual void analogToDigital(CLHEP::HepRandomEngine *, const EcalSamples &clf, EcalDataFrame &df) const
from EcalSamples to EcalDataFrame
void amplify(EcalSamples &clf, CLHEP::HepRandomEngine *) const
input signal is in pe. Converted in GeV
const CaloSimParameters & simParameters(const DetId &id) const override
return the sim parameters relative to the right subdet
const EcalSimParameterMap * m_simMap
map of parameters
void analogToDigital(CLHEP::HepRandomEngine *, EcalSamples &clf, EcalDataFrame &df) const
from EcalSamples to EcalDataFrame