Private Types | |
typedef CaloTDigitizer < CastorDigitizerTraits > | CastorDigitizer |
Private Member Functions | |
void | accumulateCaloHits (std::vector< PCaloHit > const &, int bunchCrossing) |
void | checkGeometry (const edm::EventSetup &eventSetup) |
void | fillFakeHits () |
some hits in each subdetector, just for testing purposes More... | |
void | sortHits (const edm::PCaloHitContainer &hits) |
fills the vectors for each subdetector More... | |
Private Attributes | |
CLHEP::HepRandomEngine * | randomEngine_ = nullptr |
CastorAmplifier * | theAmplifier |
CastorDigitizer * | theCastorDigitizer |
CastorHitFilter | theCastorHitFilter |
std::vector< PCaloHit > | theCastorHits |
CaloVShape * | theCastorIntegratedShape |
CaloHitResponse * | theCastorResponse |
CaloVShape * | theCastorShape |
CastorCoderFactory * | theCoderFactory |
const edm::ESGetToken < CastorDbService, CastorDbRecord > | theConditionsToken |
CastorElectronicsSim * | theElectronicsSim |
const edm::ESGetToken < CaloGeometry, CaloGeometryRecord > | theGeometryToken |
edm::ESWatcher < CaloGeometryRecord > | theGeometryWatcher |
CastorHitCorrection * | theHitCorrection |
edm::InputTag | theHitsProducerTag |
CastorSimParameterMap * | theParameterMap |
Definition at line 43 of file CastorDigiProducer.cc.
|
private |
Reconstruction algorithm
Definition at line 70 of file CastorDigiProducer.cc.
|
explicit |
Definition at line 93 of file CastorDigiProducer.cc.
References edm::ConsumesCollector::consumes(), CastorCoderFactory::DB, hcalUnsuppressedDigis_cfi::doNoise, hcalUnsuppressedDigis_cfi::doTimeSlew, Exception, edm::ParameterSet::getParameter(), edm::Service< T >::isAvailable(), edm::ProducesCollector::produces(), CaloHitResponse::setHitCorrection(), CaloHitResponse::setHitFilter(), theAmplifier, theCastorDigitizer, theCastorHitFilter, theCastorResponse, theCoderFactory, theElectronicsSim, theHitCorrection, theHitsProducerTag, and theParameterMap.
|
override |
Definition at line 137 of file CastorDigiProducer.cc.
References theAmplifier, theCastorDigitizer, theCastorIntegratedShape, theCastorResponse, theCastorShape, theCoderFactory, theElectronicsSim, theHitCorrection, and theParameterMap.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 179 of file CastorDigiProducer.cc.
References accumulateCaloHits(), edm::Event::getByLabel(), edm::Handle< T >::product(), and theHitsProducerTag.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 187 of file CastorDigiProducer.cc.
References accumulateCaloHits(), PileUpEventPrincipal::bunchCrossing(), PileUpEventPrincipal::getByLabel(), edm::Handle< T >::product(), and theHitsProducerTag.
|
private |
Definition at line 170 of file CastorDigiProducer.cc.
References CaloTDigitizer< Traits, runHelper >::add(), CastorHitCorrection::fillChargeSums(), randomEngine_, theCastorDigitizer, and theHitCorrection.
Referenced by accumulate().
|
private |
make sure the digitizer has the correct list of all cells that exist in the geometry
Definition at line 230 of file CastorDigiProducer.cc.
References DetId::Calo, edm::ESWatcher< T >::check(), relativeConstraints::geometry, edm::EventSetup::getData(), CaloGeometry::getValidDetIds(), CaloTDigitizer< Traits, runHelper >::setDetIds(), CaloHitResponse::setGeometry(), HcalCastorDetId::SubdetectorId, theCastorDigitizer, theCastorResponse, theGeometryToken, and theGeometryWatcher.
Referenced by initializeEvent().
|
private |
some hits in each subdetector, just for testing purposes
Definition at line 224 of file CastorDigiProducer.cc.
References DetId::rawId(), and theCastorHits.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 197 of file CastorDigiProducer.cc.
References eostools::move(), edm::Event::put(), randomEngine_, CaloTDigitizer< Traits, runHelper >::run(), and theCastorDigitizer.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 149 of file CastorDigiProducer.cc.
References checkGeometry(), submitPVValidationJobs::conditions, edm::EventSetup::getData(), edm::RandomNumberGenerator::getEngine(), CaloTDigitizer< Traits, runHelper >::initializeHits(), randomEngine_, CastorCoderFactory::setDbService(), CastorAmplifier::setDbService(), CastorSimParameterMap::setDbService(), edm::Event::streamID(), theAmplifier, theCastorDigitizer, theCastorHits, theCoderFactory, theConditionsToken, and theParameterMap.
|
private |
fills the vectors for each subdetector
Definition at line 213 of file CastorDigiProducer.cc.
References DetId::Calo, DetId::det(), HcalCastorDetId::SubdetectorId, DetId::subdetId(), and theCastorHits.
|
private |
Definition at line 90 of file CastorDigiProducer.cc.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 78 of file CastorDigiProducer.cc.
Referenced by CastorDigiProducer(), initializeEvent(), and ~CastorDigiProducer().
|
private |
Definition at line 86 of file CastorDigiProducer.cc.
Referenced by accumulateCaloHits(), CastorDigiProducer(), checkGeometry(), finalizeEvent(), initializeEvent(), and ~CastorDigiProducer().
|
private |
Definition at line 82 of file CastorDigiProducer.cc.
Referenced by CastorDigiProducer().
|
private |
Definition at line 88 of file CastorDigiProducer.cc.
Referenced by fillFakeHits(), initializeEvent(), and sortHits().
|
private |
Definition at line 74 of file CastorDigiProducer.cc.
Referenced by ~CastorDigiProducer().
|
private |
Definition at line 76 of file CastorDigiProducer.cc.
Referenced by CastorDigiProducer(), checkGeometry(), and ~CastorDigiProducer().
|
private |
Definition at line 73 of file CastorDigiProducer.cc.
Referenced by ~CastorDigiProducer().
|
private |
Definition at line 79 of file CastorDigiProducer.cc.
Referenced by CastorDigiProducer(), initializeEvent(), and ~CastorDigiProducer().
|
private |
Definition at line 65 of file CastorDigiProducer.cc.
Referenced by initializeEvent().
|
private |
Definition at line 80 of file CastorDigiProducer.cc.
Referenced by CastorDigiProducer(), and ~CastorDigiProducer().
|
private |
Definition at line 66 of file CastorDigiProducer.cc.
Referenced by checkGeometry().
|
private |
Definition at line 67 of file CastorDigiProducer.cc.
Referenced by checkGeometry().
|
private |
Definition at line 84 of file CastorDigiProducer.cc.
Referenced by accumulateCaloHits(), CastorDigiProducer(), and ~CastorDigiProducer().
|
private |
Definition at line 64 of file CastorDigiProducer.cc.
Referenced by accumulate(), and CastorDigiProducer().
|
private |
Definition at line 72 of file CastorDigiProducer.cc.
Referenced by CastorDigiProducer(), initializeEvent(), and ~CastorDigiProducer().