#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(), and counter.Counter::register().
|
inline |
Definition at line 140 of file CaloTDigitizer.h.
|
inline |
|
inline |
Definition at line 74 of file CaloTDigitizer.h.
|
inline |
Definition at line 86 of file CaloTDigitizer.h.
Referenced by CastorDigiProducer::initializeEvent(), and HcalTBDigiProducer::initializeEvent().
|
inline |
turns hits into digis
Definition at line 91 of file CaloTDigitizer.h.
Referenced by CastorDigiProducer::finalizeEvent(), and HcalTBDigiProducer::finalizeEvent().
|
inline |
Collects the digis.
Definition at line 97 of file CaloTDigitizer.h.
|
inline |
|
inline |
Definition at line 63 of file CaloTDigitizer.h.
Referenced by CastorDigiProducer::checkGeometry(), and HcalTBDigiProducer::updateGeometry().
|
inline |
Definition at line 65 of file CaloTDigitizer.h.
References cmsBatch::generator.
|
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.