#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) | |
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 |
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 | ) |
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 61 of file ESElectronicsSimFast.cc.
References ecalMGPA::adc(), ESCondObjectContainer< T >::end(), ESCondObjectContainer< T >::find(), ESCondObjectContainer< T >::getMap(), i, CaloTSamplesBase< Ttype >::id(), errorMatrix2Lands_multiChannel::id, m_addNoise, m_mips, m_MIPToGeV, m_peds, 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 49 of file ESElectronicsSimFast.cc.
References m_mips.
Referenced by EcalDigiProducer::checkCalibrations().
void ESElectronicsSimFast::setMIPToGeV | ( | double | MIPToGeV | ) |
Definition at line 55 of file ESElectronicsSimFast.cc.
References m_MIPToGeV.
Referenced by EcalDigiProducer::checkCalibrations().
void ESElectronicsSimFast::setPedestals | ( | const ESPedestals * | peds | ) |
Definition at line 43 of file ESElectronicsSimFast.cc.
References m_peds.
Referenced by EcalDigiProducer::checkCalibrations().
|
private |
Definition at line 41 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), and ESElectronicsSimFast().
|
private |
Definition at line 47 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), and setMIPs().
|
private |
Definition at line 43 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), and setMIPToGeV().
|
private |
Definition at line 45 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), and setPedestals().
|
private |
Definition at line 49 of file ESElectronicsSimFast.h.
Referenced by analogToDigital(), ESElectronicsSimFast(), and ~ESElectronicsSimFast().