#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.
References CaloHitResponse::add(), hfClusterShapes_cfi::hits, CaloTDigitizer< Traits, runHelper >::theHitResponse, and CaloHitResponse::withinBunchRange().
Referenced by CastorDigiProducer::accumulateCaloHits(), and counter.Counter::register().
|
inline |
Definition at line 134 of file CaloTDigitizer.h.
References CaloHitResponse::add(), CaloVNoiseSignalGenerator::fillEvent(), CaloVNoiseSignalGenerator::getNoiseSignals(), CaloTDigitizer< Traits, runHelper >::theHitResponse, and CaloTDigitizer< Traits, runHelper >::theNoiseSignalGenerator.
Referenced by CaloTDigitizer< Traits, runHelper >::run().
|
inline |
tell the digitizer which cells exist
Definition at line 63 of file CaloTDigitizer.h.
References cms::cuda::assert(), and CaloTDigitizer< Traits, runHelper >::theDetIds.
Referenced by CaloTDigitizer< Traits, runHelper >::setDetIds().
|
inline |
Definition at line 73 of file CaloTDigitizer.h.
References CaloTDigitizer< Traits, runHelper >::csColl_.
|
inline |
Definition at line 83 of file CaloTDigitizer.h.
References CaloHitResponse::initializeHits(), and CaloTDigitizer< Traits, runHelper >::theHitResponse.
Referenced by CastorDigiProducer::initializeEvent().
|
inline |
turns hits into digis
Definition at line 86 of file CaloTDigitizer.h.
References cms::cuda::assert().
Referenced by CastorDigiProducer::finalizeEvent().
|
inline |
Collects the digis.
Definition at line 90 of file CaloTDigitizer.h.
References CaloTDigitizer< Traits, runHelper >::addNoise_, CaloTDigitizer< Traits, runHelper >::addNoiseSignals(), cms::cuda::assert(), CaloHitResponse::clear(), CaloTDigitizer< Traits, runHelper >::csColl_, CaloTDigitizer< Traits, runHelper >::debugCS_, CaloHitResponse::finalizeHits(), CaloHitResponse::findSignal(), CaloHitResponse::makeBlankSignal(), CaloHitResponse::nSignals(), convertSQLitetoXML_cfg::output, CaloTDigitizer< Traits, runHelper >::runAnalogToDigital, CaloHitResponse::setStorePrecise(), CaloTDigitizer< Traits, runHelper >::theDetIds, CaloTDigitizer< Traits, runHelper >::theElectronicsSim, CaloTDigitizer< Traits, runHelper >::theHitResponse, and CaloTDigitizer< Traits, runHelper >::theNoiseSignalGenerator.
|
inline |
Definition at line 71 of file CaloTDigitizer.h.
References debug, and CaloTDigitizer< Traits, runHelper >::debugCS_.
|
inline |
Definition at line 67 of file CaloTDigitizer.h.
References CaloTDigitizer< Traits, runHelper >::detIds(), and CaloTDigitizer< Traits, runHelper >::theDetIds.
Referenced by CastorDigiProducer::checkGeometry().
|
inline |
Definition at line 69 of file CaloTDigitizer.h.
References genfragment_ptgun_cfg::generator, and CaloTDigitizer< Traits, runHelper >::theNoiseSignalGenerator.
|
private |
Definition at line 152 of file CaloTDigitizer.h.
Referenced by CaloTDigitizer< Traits, runHelper >::run().
|
private |
Definition at line 154 of file CaloTDigitizer.h.
Referenced by CaloTDigitizer< Traits, runHelper >::getCaloSamples(), and CaloTDigitizer< Traits, runHelper >::run().
|
private |
Definition at line 153 of file CaloTDigitizer.h.
Referenced by CaloTDigitizer< Traits, runHelper >::run(), and CaloTDigitizer< Traits, runHelper >::setDebugCaloSamples().
|
private |
Definition at line 147 of file CaloTDigitizer.h.
Referenced by CaloTDigitizer< Traits, runHelper >::run().
|
private |
Definition at line 151 of file CaloTDigitizer.h.
Referenced by CaloTDigitizer< Traits, runHelper >::detIds(), CaloTDigitizer< Traits, runHelper >::run(), and CaloTDigitizer< Traits, runHelper >::setDetIds().
|
private |
Definition at line 150 of file CaloTDigitizer.h.
Referenced by CaloTDigitizer< Traits, runHelper >::run().
|
private |
Definition at line 148 of file CaloTDigitizer.h.
Referenced by CaloTDigitizer< Traits, runHelper >::add(), CaloTDigitizer< Traits, runHelper >::addNoiseSignals(), CaloTDigitizer< Traits, runHelper >::initializeHits(), and CaloTDigitizer< Traits, runHelper >::run().
|
private |
Definition at line 149 of file CaloTDigitizer.h.
Referenced by CaloTDigitizer< Traits, runHelper >::addNoiseSignals(), CaloTDigitizer< Traits, runHelper >::run(), and CaloTDigitizer< Traits, runHelper >::setNoiseSignalGenerator().