#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) | |
virtual 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) |
virtual | ~ESDigitizer () |
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 (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 18 of file ESDigitizer.h.
ESDigitizer::ESDigitizer | ( | EcalHitResponse * | hitResponse, |
ElectronicsSim * | electronicsSim, | ||
bool | addNoise | ||
) |
Definition at line 13 of file ESDigitizer.cc.
|
virtual |
Definition at line 29 of file ESDigitizer.cc.
|
private |
Definition at line 210 of file ESDigitizer.cc.
|
overridevirtual |
turns hits into digis
Reimplemented from EcalTDigitizer< ESDigitizerTraits >.
Definition at line 167 of file ESDigitizer.cc.
void ESDigitizer::setDetIds | ( | const std::vector< DetId > & | detIds | ) |
tell the digitizer which cells exist; cannot change during a run
Definition at line 36 of file ESDigitizer.cc.
void ESDigitizer::setGain | ( | const int | gain | ) |
Definition at line 44 of file ESDigitizer.cc.
|
private |
Definition at line 36 of file ESDigitizer.h.
|
private |
Definition at line 38 of file ESDigitizer.h.
|
private |
Definition at line 39 of file ESDigitizer.h.
|
private |
Definition at line 40 of file ESDigitizer.h.
|
private |
Definition at line 41 of file ESDigitizer.h.
|
private |
Definition at line 42 of file ESDigitizer.h.
|
private |
Definition at line 37 of file ESDigitizer.h.
|
private |
Definition at line 61 of file ESDigitizer.h.