#include <EcalElectronicsSim.h>
Public Types | |
typedef CaloTSamples< float, 10 > | EcalSamples |
Public Member Functions | |
void | analogToDigital (CLHEP::HepRandomEngine *, EcalSamples &clf, EcalDataFrame &df) const |
from EcalSamples to EcalDataFrame More... | |
EcalElectronicsSim (const EcalSimParameterMap *parameterMap, EcalCoder *coder, bool applyConstantTerm, double rmsConstantTerm) | |
void | newEvent () |
void | setNoiseSignalGenerator (const CaloVNoiseSignalGenerator *noiseSignalGenerator) |
~EcalElectronicsSim () | |
Private Member Functions | |
void | amplify (EcalSamples &clf, CLHEP::HepRandomEngine *) const |
input signal is in pe. Converted in GeV More... | |
Private Attributes | |
const bool | m_applyConstantTerm |
const EcalSimParameterMap * | m_simMap |
map of parameters More... | |
EcalCoder * | m_theCoder |
const double | m_thisCT |
const CaloVNoiseSignalGenerator * | theNoiseSignalGenerator |
Definition at line 22 of file EcalElectronicsSim.h.
typedef CaloTSamples<float,10> EcalElectronicsSim::EcalSamples |
Definition at line 26 of file EcalElectronicsSim.h.
EcalElectronicsSim::EcalElectronicsSim | ( | const EcalSimParameterMap * | parameterMap, |
EcalCoder * | coder, | ||
bool | applyConstantTerm, | ||
double | rmsConstantTerm | ||
) |
Definition at line 13 of file EcalElectronicsSim.cc.
EcalElectronicsSim::~EcalElectronicsSim | ( | ) |
Definition at line 24 of file EcalElectronicsSim.cc.
|
private |
input signal is in pe. Converted in GeV
Definition at line 41 of file EcalElectronicsSim.cc.
References CaloTSamplesBase< Ttype >::id(), m_applyConstantTerm, m_simMap, m_thisCT, hcalSimParameters_cfi::photoelectronsToAnalog, and EcalSimParameterMap::simParameters().
Referenced by analogToDigital().
void EcalElectronicsSim::analogToDigital | ( | CLHEP::HepRandomEngine * | engine, |
EcalElectronicsSim::EcalSamples & | clf, | ||
EcalDataFrame & | df | ||
) | const |
from EcalSamples to EcalDataFrame
Definition at line 29 of file EcalElectronicsSim.cc.
References amplify(), EcalCoder::analogToDigital(), and m_theCoder.
|
inline |
Definition at line 38 of file EcalElectronicsSim.h.
|
inline |
Definition at line 40 of file EcalElectronicsSim.h.
|
private |
Definition at line 58 of file EcalElectronicsSim.h.
Referenced by amplify().
|
private |
|
private |
Definition at line 55 of file EcalElectronicsSim.h.
Referenced by analogToDigital().
|
private |
Definition at line 57 of file EcalElectronicsSim.h.
Referenced by amplify().
|
private |
Definition at line 53 of file EcalElectronicsSim.h.