#include <ESDigitizer.h>
Classes | |
class | Triplet |
Public Types | |
typedef ESDigitizerTraits::ElectronicsSim | ElectronicsSim |
Public Types inherited from EcalTDigitizer< ESDigitizerTraits > | |
typedef ESDigitizerTraits ::Digi | Digi |
typedef ESDigitizerTraits ::DigiCollection | DigiCollection |
typedef ESDigitizerTraits ::EcalSamples | EcalSamples |
typedef ESDigitizerTraits ::ElectronicsSim | ElectronicsSim |
Public Member Functions | |
ESDigitizer (EcalHitResponse *hitResponse, ElectronicsSim *electronicsSim, bool addNoise) | |
void | run (ESDigiCollection &output, CLHEP::HepRandomEngine *) override |
turns hits into digis More... | |
void | setDetIds (const std::vector< DetId > &detIds) |
tell the digitizer which cells exist; cannot change during a run More... | |
void | setGain (const int gain) |
~ESDigitizer () override | |
Public Member Functions inherited from EcalTDigitizer< ESDigitizerTraits > | |
void | add (const std::vector< PCaloHit > &hits, int bunchCrossing, CLHEP::HepRandomEngine *) |
void | addNoiseSignals () |
EcalTDigitizer (EcalHitResponse *hitResponse, ElectronicsSim *electronicsSim, bool addNoise) | |
virtual void | initializeHits () |
virtual void | run (DigiCollection &output, CLHEP::HepRandomEngine *) |
virtual void | run (MixCollection< PCaloHit > &input, DigiCollection &output) |
void | setNoiseSignalGenerator (EcalBaseSignalGenerator *noiseSignalGenerator) |
virtual | ~EcalTDigitizer () |
Private Member Functions | |
void | createNoisyList (std::vector< DetId > &abThreshCh, CLHEP::HepRandomEngine *) |
Private Attributes | |
const std::vector< DetId > * | m_detIds |
int | m_ESGain |
double | m_histoBin |
double | m_histoInf |
double | m_histoWid |
double | m_meanNoisy |
CLHEP::RandGeneral * | m_ranGeneral |
std::vector< Triplet > | m_trip |
Additional Inherited Members | |
Protected Member Functions inherited from EcalTDigitizer< ESDigitizerTraits > | |
bool | addNoise () const |
const ElectronicsSim * | elecSim () const |
const EcalHitResponse * | hitResponse () const |
Definition at line 14 of file ESDigitizer.h.
Definition at line 16 of file ESDigitizer.h.
ESDigitizer::ESDigitizer | ( | EcalHitResponse * | hitResponse, |
ElectronicsSim * | electronicsSim, | ||
bool | addNoise | ||
) |
Definition at line 13 of file ESDigitizer.cc.
References m_trip.
|
override |
|
private |
Definition at line 164 of file ESDigitizer.cc.
References cms::cuda::assert(), spr::find(), mps_fire::i, l1ctLayer2EG_cff::id, m_detIds, and m_meanNoisy.
Referenced by run().
|
override |
turns hits into digis
Definition at line 130 of file ESDigitizer.cc.
References EcalTDigitizer< ESDigitizerTraits >::addNoise(), cms::cuda::assert(), createNoisyList(), EcalTDigitizer< ESDigitizerTraits >::elecSim(), EcalHitResponse::findDetId(), EcalTDigitizer< ESDigitizerTraits >::hitResponse(), m_detIds, m_histoInf, m_histoWid, m_meanNoisy, m_ranGeneral, m_trip, convertSQLitetoXML_cfg::output, EcalTDigitizer< Traits >::run(), and CaloTSamplesBase< Ttype >::zero().
void ESDigitizer::setDetIds | ( | const std::vector< DetId > & | detIds | ) |
tell the digitizer which cells exist; cannot change during a run
Definition at line 29 of file ESDigitizer.cc.
References cms::cuda::assert(), and m_detIds.
void ESDigitizer::setGain | ( | const int | gain | ) |
Definition at line 34 of file ESDigitizer.cc.
References EcalTDigitizer< ESDigitizerTraits >::addNoise(), cms::cuda::assert(), edmScanValgrind::buffer, DMR_cfg::cerr, Exception, contentValuesFiles::fullPath, PedestalClient_cfi::gain, jetmet_cfg::histofile, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, edm::errors::InvalidReference, m_detIds, m_ESGain, m_histoBin, m_histoInf, m_histoWid, m_meanNoisy, m_ranGeneral, m_trip, mps_fire::result, mps_update::status, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 31 of file ESDigitizer.h.
Referenced by createNoisyList(), run(), setDetIds(), and setGain().
|
private |
Definition at line 33 of file ESDigitizer.h.
Referenced by setGain().
|
private |
Definition at line 34 of file ESDigitizer.h.
Referenced by setGain().
|
private |
Definition at line 35 of file ESDigitizer.h.
|
private |
Definition at line 36 of file ESDigitizer.h.
|
private |
Definition at line 37 of file ESDigitizer.h.
Referenced by createNoisyList(), run(), and setGain().
|
private |
Definition at line 32 of file ESDigitizer.h.
Referenced by run(), setGain(), and ~ESDigitizer().
|
private |
Definition at line 49 of file ESDigitizer.h.
Referenced by ESDigitizer(), run(), and setGain().