#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 42 of file CaloTDigitizer.h.
typedef Traits::Digi CaloTDigitizer< Traits, runHelper >::Digi |
Definition at line 48 of file CaloTDigitizer.h.
typedef Traits::DigiCollection CaloTDigitizer< Traits, runHelper >::DigiCollection |
Definition at line 49 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 47 of file CaloTDigitizer.h.
|
inline |
Definition at line 51 of file CaloTDigitizer.h.
|
inline |
|
inline |
Definition at line 75 of file CaloTDigitizer.h.
Referenced by CastorDigiProducer::accumulateCaloHits(), HcalTBDigiProducer::accumulateCaloHits(), and counter.Counter::register().
|
inline |
Definition at line 134 of file CaloTDigitizer.h.
|
inline |
|
inline |
Definition at line 73 of file CaloTDigitizer.h.
|
inline |
Definition at line 83 of file CaloTDigitizer.h.
Referenced by CastorDigiProducer::initializeEvent(), and HcalTBDigiProducer::initializeEvent().
|
inline |
turns hits into digis
Definition at line 86 of file CaloTDigitizer.h.
Referenced by CastorDigiProducer::finalizeEvent(), and HcalTBDigiProducer::finalizeEvent().
|
inline |
Collects the digis.
Definition at line 90 of file CaloTDigitizer.h.
|
inline |
|
inline |
Definition at line 67 of file CaloTDigitizer.h.
Referenced by CastorDigiProducer::checkGeometry(), and HcalTBDigiProducer::updateGeometry().
|
inline |
Definition at line 69 of file CaloTDigitizer.h.
References cmsBatch::generator.
|
private |
Definition at line 152 of file CaloTDigitizer.h.
|
private |
Definition at line 154 of file CaloTDigitizer.h.
|
private |
Definition at line 153 of file CaloTDigitizer.h.
|
private |
Definition at line 147 of file CaloTDigitizer.h.
|
private |
Definition at line 151 of file CaloTDigitizer.h.
|
private |
Definition at line 150 of file CaloTDigitizer.h.
|
private |
Definition at line 148 of file CaloTDigitizer.h.
|
private |
Definition at line 149 of file CaloTDigitizer.h.