#include <CastorDigiProducer.h>
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... | |
Definition at line 26 of file CastorDigiProducer.h.
|
private |
Reconstruction algorithm
Definition at line 49 of file CastorDigiProducer.h.
|
explicit |
Definition at line 21 of file CastorDigiProducer.cc.
References edm::ConsumesCollector::consumes(), CastorCoderFactory::DB, edm::hlt::Exception, edm::RandomNumberGenerator::getEngine(), edm::ParameterSet::getParameter(), edm::Service< T >::isAvailable(), CaloHitResponse::setHitCorrection(), CaloHitResponse::setHitFilter(), CastorElectronicsSim::setRandomEngine(), theAmplifier, theCastorDigitizer, theCastorHitFilter, theCastorResponse, theCoderFactory, theElectronicsSim, theHitCorrection, and theParameterMap.
|
virtual |
Definition at line 66 of file CastorDigiProducer.cc.
References theAmplifier, theCastorDigitizer, theCastorIntegratedShape, theCastorResponse, theCastorShape, theCoderFactory, theElectronicsSim, theHitCorrection, and theParameterMap.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 105 of file CastorDigiProducer.cc.
References accumulateCaloHits(), edm::Event::getByLabel(), and edm::Handle< T >::product().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 113 of file CastorDigiProducer.cc.
References accumulateCaloHits(), PileUpEventPrincipal::bunchCrossing(), PileUpEventPrincipal::getByLabel(), and edm::Handle< T >::product().
|
private |
Definition at line 96 of file CastorDigiProducer.cc.
References CaloTDigitizer< Traits >::add(), CastorHitCorrection::fillChargeSums(), 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 156 of file CastorDigiProducer.cc.
References DetId::Calo, geometry, edm::EventSetup::get(), CaloTDigitizer< Traits >::setDetIds(), CaloHitResponse::setGeometry(), HcalCastorDetId::SubdetectorId, theCastorDigitizer, and theCastorResponse.
Referenced by initializeEvent().
|
private |
some hits in each subdetector, just for testing purposes
Definition at line 149 of file CastorDigiProducer.cc.
References DetId::rawId(), and theCastorHits.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 121 of file CastorDigiProducer.cc.
References edm::Event::put(), CaloTDigitizer< Traits >::run(), and theCastorDigitizer.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 78 of file CastorDigiProducer.cc.
References checkGeometry(), edm::EventSetup::get(), CaloTDigitizer< Traits >::initializeHits(), edm::ESHandle< class >::product(), CastorCoderFactory::setDbService(), CastorAmplifier::setDbService(), CastorSimParameterMap::setDbService(), theAmplifier, theCastorDigitizer, theCastorHits, theCoderFactory, and theParameterMap.
|
private |
fills the vectors for each subdetector
Definition at line 136 of file CastorDigiProducer.cc.
References DetId::Calo, DetId::det(), HcalCastorDetId::SubdetectorId, DetId::subdetId(), and theCastorHits.
|
private |
Definition at line 57 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer(), initializeEvent(), and ~CastorDigiProducer().
|
private |
Definition at line 65 of file CastorDigiProducer.h.
Referenced by accumulateCaloHits(), CastorDigiProducer(), checkGeometry(), finalizeEvent(), initializeEvent(), and ~CastorDigiProducer().
|
private |
Definition at line 61 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer().
|
private |
Definition at line 67 of file CastorDigiProducer.h.
Referenced by fillFakeHits(), initializeEvent(), and sortHits().
|
private |
Definition at line 53 of file CastorDigiProducer.h.
Referenced by ~CastorDigiProducer().
|
private |
Definition at line 55 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer(), checkGeometry(), and ~CastorDigiProducer().
|
private |
Definition at line 52 of file CastorDigiProducer.h.
Referenced by ~CastorDigiProducer().
|
private |
Definition at line 58 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer(), initializeEvent(), and ~CastorDigiProducer().
|
private |
Definition at line 59 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer(), and ~CastorDigiProducer().
|
private |
Definition at line 63 of file CastorDigiProducer.h.
Referenced by accumulateCaloHits(), CastorDigiProducer(), and ~CastorDigiProducer().
|
private |
Definition at line 51 of file CastorDigiProducer.h.
Referenced by CastorDigiProducer(), initializeEvent(), and ~CastorDigiProducer().