#include <ESElectronicsSimFast.h>
Public Types | |
enum | { MAXADC = 4095, MINADC = 0 } |
typedef CaloTSamples< float, 3 > | ESSamples |
Public Member Functions | |
void | analogToDigital (CLHEP::HepRandomEngine *, ESSamples &cs, ESDataFrame &df, bool isNoise=false) const |
ESElectronicsSimFast (bool addNoise, bool PreMix1) | |
void | newEvent () |
void | setMIPs (const ESIntercalibConstants *mips) |
void | setMIPToGeV (double MIPToGeV) |
void | setPedestals (const ESPedestals *peds) |
~ESElectronicsSimFast () | |
Private Attributes | |
bool | m_addNoise |
const ESIntercalibConstants * | m_mips |
double | m_MIPToGeV |
const ESPedestals * | m_peds |
bool | m_PreMix1 |
Definition at line 16 of file ESElectronicsSimFast.h.
typedef CaloTSamples<float,3> ESElectronicsSimFast::ESSamples |
Definition at line 20 of file ESElectronicsSimFast.h.
anonymous enum |
ESElectronicsSimFast::ESElectronicsSimFast | ( | bool | addNoise, |
bool | PreMix1 | ||
) |
Definition at line 8 of file ESElectronicsSimFast.cc.
ESElectronicsSimFast::~ESElectronicsSimFast | ( | ) |
Definition at line 21 of file ESElectronicsSimFast.cc.
void ESElectronicsSimFast::analogToDigital | ( | CLHEP::HepRandomEngine * | engine, |
ESSamples & | cs, | ||
ESDataFrame & | df, | ||
bool | isNoise = false |
||
) | const |
Definition at line 44 of file ESElectronicsSimFast.cc.
References ecalMGPA::adc(), ESCondObjectContainer< T >::end(), ESCondObjectContainer< T >::find(), ESCondObjectContainer< T >::getMap(), i, CaloTSamplesBase< Ttype >::id(), m_addNoise, m_mips, m_MIPToGeV, m_peds, m_PreMix1, MAXADC, MINADC, ESDataFrame::setSample(), ESDataFrame::setSize(), and CaloTSamplesBase< Ttype >::size().
|
inline |
Definition at line 39 of file ESElectronicsSimFast.h.
void ESElectronicsSimFast::setMIPs | ( | const ESIntercalibConstants * | mips | ) |
Definition at line 32 of file ESElectronicsSimFast.cc.
References m_mips.
Referenced by EcalDigiProducer::checkCalibrations().
void ESElectronicsSimFast::setMIPToGeV | ( | double | MIPToGeV | ) |
Definition at line 38 of file ESElectronicsSimFast.cc.
References m_MIPToGeV.
Referenced by EcalDigiProducer::checkCalibrations().
void ESElectronicsSimFast::setPedestals | ( | const ESPedestals * | peds | ) |
Definition at line 26 of file ESElectronicsSimFast.cc.
References m_peds.
Referenced by EcalDigiProducer::checkCalibrations().
|
private |
Definition at line 44 of file ESElectronicsSimFast.h.
Referenced by analogToDigital().
|
private |
Definition at line 52 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), and setMIPs().
|
private |
Definition at line 48 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), and setMIPToGeV().
|
private |
Definition at line 50 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), and setPedestals().
|
private |
Definition at line 46 of file ESElectronicsSimFast.h.
Referenced by analogToDigital().