#include <EcalElectronicsSim.h>
Public Types | |
typedef CaloTSamples< float, 10 > | EcalSamples |
Public Member Functions | |
void | analogToDigital (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) const |
input signal is in pe. Converted in GeV More... | |
Private Attributes | |
CLHEP::RandGaussQ * | m_gaussQDistribution |
const EcalSimParameterMap * | m_simMap |
map of parameters More... | |
EcalCoder * | m_theCoder |
const CaloVNoiseSignalGenerator * | theNoiseSignalGenerator |
Definition at line 21 of file EcalElectronicsSim.h.
typedef CaloTSamples<float,10> EcalElectronicsSim::EcalSamples |
Definition at line 25 of file EcalElectronicsSim.h.
EcalElectronicsSim::EcalElectronicsSim | ( | const EcalSimParameterMap * | parameterMap, |
EcalCoder * | coder, | ||
bool | applyConstantTerm, | ||
double | rmsConstantTerm | ||
) |
Definition at line 15 of file EcalElectronicsSim.cc.
References edm::hlt::Exception, edm::RandomNumberGenerator::getEngine(), edm::Service< T >::isAvailable(), and m_gaussQDistribution.
EcalElectronicsSim::~EcalElectronicsSim | ( | ) |
Definition at line 40 of file EcalElectronicsSim.cc.
References m_gaussQDistribution.
|
private |
input signal is in pe. Converted in GeV
Definition at line 57 of file EcalElectronicsSim.cc.
References CaloTSamplesBase< Ttype >::id(), m_gaussQDistribution, m_simMap, and EcalSimParameterMap::simParameters().
Referenced by analogToDigital().
void EcalElectronicsSim::analogToDigital | ( | EcalElectronicsSim::EcalSamples & | clf, |
EcalDataFrame & | df | ||
) | const |
from EcalSamples to EcalDataFrame
Definition at line 46 of file EcalElectronicsSim.cc.
References amplify(), EcalCoder::analogToDigital(), and m_theCoder.
|
inline |
Definition at line 37 of file EcalElectronicsSim.h.
|
inline |
Definition at line 39 of file EcalElectronicsSim.h.
References theNoiseSignalGenerator.
|
private |
Definition at line 56 of file EcalElectronicsSim.h.
Referenced by amplify(), EcalElectronicsSim(), and ~EcalElectronicsSim().
|
private |
|
private |
Definition at line 54 of file EcalElectronicsSim.h.
Referenced by analogToDigital().
|
private |
Definition at line 52 of file EcalElectronicsSim.h.
Referenced by setNoiseSignalGenerator().