#include <ESElectronicsSimFast.h>
Public Types | |
enum | { MAXADC = 4095, MINADC = 0 } |
typedef CaloTSamples< float, 3 > | ESSamples |
Public Member Functions | |
void | analogToDigital (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 |
CLHEP::RandGaussQ * | m_ranGau |
Definition at line 15 of file ESElectronicsSimFast.h.
typedef CaloTSamples<float,3> ESElectronicsSimFast::ESSamples |
Definition at line 19 of file ESElectronicsSimFast.h.
anonymous enum |
ESElectronicsSimFast::ESElectronicsSimFast | ( | bool | addNoise, |
bool | PreMix1 | ||
) |
Definition at line 11 of file ESElectronicsSimFast.cc.
References edm::hlt::Exception, edm::RandomNumberGenerator::getEngine(), edm::Service< T >::isAvailable(), m_addNoise, and m_ranGau.
ESElectronicsSimFast::~ESElectronicsSimFast | ( | ) |
void ESElectronicsSimFast::analogToDigital | ( | ESSamples & | cs, |
ESDataFrame & | df, | ||
bool | isNoise = false |
||
) | const |
Definition at line 62 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, m_ranGau, MAXADC, MINADC, ESDataFrame::setSample(), ESDataFrame::setSize(), and CaloTSamplesBase< Ttype >::size().
|
inline |
Definition at line 37 of file ESElectronicsSimFast.h.
void ESElectronicsSimFast::setMIPs | ( | const ESIntercalibConstants * | mips | ) |
Definition at line 50 of file ESElectronicsSimFast.cc.
References m_mips.
Referenced by EcalDigiProducer::checkCalibrations().
void ESElectronicsSimFast::setMIPToGeV | ( | double | MIPToGeV | ) |
Definition at line 56 of file ESElectronicsSimFast.cc.
References m_MIPToGeV.
Referenced by EcalDigiProducer::checkCalibrations().
void ESElectronicsSimFast::setPedestals | ( | const ESPedestals * | peds | ) |
Definition at line 44 of file ESElectronicsSimFast.cc.
References m_peds.
Referenced by EcalDigiProducer::checkCalibrations().
|
private |
Definition at line 42 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), and ESElectronicsSimFast().
|
private |
Definition at line 50 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), and setMIPs().
|
private |
Definition at line 46 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), and setMIPToGeV().
|
private |
Definition at line 48 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), and setPedestals().
|
private |
Definition at line 44 of file ESElectronicsSimFast.h.
Referenced by analogToDigital().
|
private |
Definition at line 52 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), ESElectronicsSimFast(), and ~ESElectronicsSimFast().