#include <CaloTDigitizer.h>
Public Types | |
typedef Traits::Digi | Digi |
typedef Traits::DigiCollection | DigiCollection |
typedef Traits::ElectronicsSim | ElectronicsSim |
Public Member Functions | |
void | add (const std::vector< PCaloHit > &hits, int bunchCrossing, CLHEP::HepRandomEngine *engine) |
void | addNoiseSignals (CLHEP::HepRandomEngine *engine) |
CaloTDigitizer (CaloHitResponse *hitResponse, ElectronicsSim *electronicsSim, bool addNoise) | |
const std::vector< DetId > & | detIds () const |
tell the digitizer which cells exist More... | |
const CaloSamplesCollection & | getCaloSamples () const |
void | initializeHits () |
void | run (MixCollection< PCaloHit > &, DigiCollection &) |
turns hits into digis More... | |
void | run (DigiCollection &output, CLHEP::HepRandomEngine *engine) |
Collects the digis. More... | |
void | setDebugCaloSamples (bool debug) |
void | setDetIds (const std::vector< DetId > &detIds) |
void | setNoiseSignalGenerator (CaloVNoiseSignalGenerator *generator) |
~CaloTDigitizer () | |
doesn't delete the pointers passed in More... | |
Private Attributes | |
bool | addNoise_ |
CaloSamplesCollection | csColl_ |
bool | debugCS_ |
runHelper< Traits > | runAnalogToDigital |
const std::vector< DetId > * | theDetIds |
ElectronicsSim * | theElectronicsSim |
CaloHitResponse * | theHitResponse |
CaloVNoiseSignalGenerator * | theNoiseSignalGenerator |
Definition at line 37 of file CaloTDigitizer.h.
typedef Traits::Digi CaloTDigitizer< Traits, runHelper >::Digi |
Definition at line 44 of file CaloTDigitizer.h.
typedef Traits::DigiCollection CaloTDigitizer< Traits, runHelper >::DigiCollection |
Definition at line 45 of file CaloTDigitizer.h.
typedef Traits::ElectronicsSim CaloTDigitizer< Traits, runHelper >::ElectronicsSim |
these are the types that need to be defined in the Traits class. The ElectronicsSim needs to have an interface that you'll see in the run() method
Definition at line 43 of file CaloTDigitizer.h.
|
inline |
Definition at line 47 of file CaloTDigitizer.h.
|
inline |
|
inline |
Definition at line 78 of file CaloTDigitizer.h.
Referenced by HcalTBDigiProducer::accumulateCaloHits(), CastorDigiProducer::accumulateCaloHits(), HcalDigitizer::accumulateCaloHits(), and counter.Counter::register().
|
inline |
Definition at line 140 of file CaloTDigitizer.h.
|
inline |
|
inline |
|
inline |
Definition at line 86 of file CaloTDigitizer.h.
Referenced by CastorDigiProducer::initializeEvent(), HcalTBDigiProducer::initializeEvent(), and HcalDigitizer::initializeEvent().
|
inline |
turns hits into digis
Definition at line 91 of file CaloTDigitizer.h.
Referenced by CastorDigiProducer::finalizeEvent(), HcalTBDigiProducer::finalizeEvent(), and HcalDigitizer::finalizeEvent().
|
inline |
Collects the digis.
Definition at line 97 of file CaloTDigitizer.h.
|
inline |
Definition at line 70 of file CaloTDigitizer.h.
References debug.
Referenced by HcalDigitizer::HcalDigitizer().
|
inline |
Definition at line 63 of file CaloTDigitizer.h.
Referenced by HcalDigitizer::buildHBHEQIECells(), HcalDigitizer::buildHFQIECells(), HcalDigitizer::buildHOSiPMCells(), CastorDigiProducer::checkGeometry(), HcalTBDigiProducer::updateGeometry(), and HcalDigitizer::updateGeometry().
|
inline |
Definition at line 65 of file CaloTDigitizer.h.
References cmsBatch::generator.
Referenced by HcalDigitizer::setHBHENoiseSignalGenerator(), HcalDigitizer::setHFNoiseSignalGenerator(), HcalDigitizer::setHONoiseSignalGenerator(), HcalDigitizer::setQIE10NoiseSignalGenerator(), HcalDigitizer::setQIE11NoiseSignalGenerator(), and HcalDigitizer::setZDCNoiseSignalGenerator().
|
private |
Definition at line 159 of file CaloTDigitizer.h.
|
private |
Definition at line 161 of file CaloTDigitizer.h.
|
private |
Definition at line 160 of file CaloTDigitizer.h.
|
private |
Definition at line 154 of file CaloTDigitizer.h.
|
private |
Definition at line 158 of file CaloTDigitizer.h.
|
private |
Definition at line 157 of file CaloTDigitizer.h.
|
private |
Definition at line 155 of file CaloTDigitizer.h.
|
private |
Definition at line 156 of file CaloTDigitizer.h.