#include <HcalTBDigiProducer.h>
Public Member Functions | |
void | accumulate (edm::Event const &e, edm::EventSetup const &c) override |
void | accumulate (PileUpEventPrincipal const &e, edm::EventSetup const &c, edm::StreamID const &) override |
void | finalizeEvent (edm::Event &e, edm::EventSetup const &c) override |
HcalTBDigiProducer (const edm::ParameterSet &ps, edm::ProducerBase &mixMod, edm::ConsumesCollector &iC) | |
void | initializeEvent (edm::Event const &e, edm::EventSetup const &c) override |
~HcalTBDigiProducer () override | |
Public Member Functions inherited from DigiAccumulatorMixMod | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) |
virtual void | beginRun (edm::Run const &run, edm::EventSetup const &setup) |
DigiAccumulatorMixMod () | |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) |
virtual void | endRun (edm::Run const &run, edm::EventSetup const &setup) |
virtual void | finalizeBunchCrossing (edm::Event &event, edm::EventSetup const &setup, int bunchCrossing) |
virtual PileupMixingContent * | getEventPileupInfo () |
virtual void | initializeBunchCrossing (edm::Event const &event, edm::EventSetup const &setup, int bunchCrossing) |
virtual void | StorePileupInformation (std::vector< int > &numInteractionList, std::vector< int > &bunchCrossingList, std::vector< float > &TrueInteractionList, std::vector< edm::EventID > &eventList, int bunchSpace) |
virtual | ~DigiAccumulatorMixMod () |
Private Types | |
typedef CaloTDigitizer< HBHEDigitizerTraits > | HBHEDigitizer |
typedef CaloTDigitizer< HODigitizerTraits > | HODigitizer |
Private Member Functions | |
void | accumulateCaloHits (edm::Handle< std::vector< PCaloHit > > const &hits, int bunchCrossing, CLHEP::HepRandomEngine *) |
void | checkGeometry (const edm::EventSetup &eventSetup) |
CLHEP::HepRandomEngine * | randomEngine (edm::StreamID const &streamID) |
void | setPhaseShift (const DetId &detId) |
void | sortHits (const edm::PCaloHitContainer &hits) |
fills the vectors for each subdetector More... | |
void | updateGeometry () |
Private Attributes | |
bool | doPhaseShift |
std::string | ecalTBInfoLabel |
std::vector< DetId > | hbheCells |
const HcalTimeSlew * | hcalTimeSlew_delay_ |
std::vector< DetId > | hoCells |
std::vector< CLHEP::HepRandomEngine * > | randomEngines_ |
HcalAmplifier * | theAmplifier |
HcalCoderFactory * | theCoderFactory |
HcalElectronicsSim * | theElectronicsSim |
const CaloGeometry * | theGeometry |
HBHEDigitizer * | theHBHEDigitizer |
HBHEHitFilter | theHBHEHitFilter |
std::vector< PCaloHit > | theHBHEHits |
CaloHitResponse * | theHBHEResponse |
CaloVShape * | theHcalIntegratedShape |
CaloVShape * | theHcalShape |
HODigitizer * | theHODigitizer |
HOHitFilter | theHOHitFilter |
std::vector< PCaloHit > | theHOHits |
CaloHitResponse * | theHOResponse |
HcalTBSimParameterMap * | theParameterMap |
HcalTimeSlewSim * | theTimeSlewSim |
double | thisPhaseShift |
double | tunePhaseShift |
Definition at line 35 of file HcalTBDigiProducer.h.
|
private |
Reconstruction algorithm
Definition at line 65 of file HcalTBDigiProducer.h.
|
private |
Definition at line 66 of file HcalTBDigiProducer.h.
|
explicit |
Definition at line 22 of file HcalTBDigiProducer.cc.
References edm::ConsumesCollector::consumes(), HcalCoderFactory::DB, hcalUnsuppressedDigis_cfi::doNoise, doPhaseShift, hcalUnsuppressedDigis_cfi::doTimeSlew, ecalTBInfoLabel, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), DetId::Hcal, hcalTimeSlew_delay_, instance, hcalUnsuppressedDigis_cfi::minFCToDelay, edm::ProductRegistryHelper::produces(), CaloHitResponse::setHitFilter(), HcalAmplifier::setTimeSlewSim(), HcalTBSimParameterMap::simParameters(), AlCaHLTBitMon_QueryRunRegistry::string, ecalSimParameterMap_cff::syncPhase, theAmplifier, theCoderFactory, theElectronicsSim, theHBHEDigitizer, theHBHEHitFilter, theHBHEResponse, theHODigitizer, theHOHitFilter, theHOResponse, theParameterMap, theTimeSlewSim, and tunePhaseShift.
|
override |
Definition at line 76 of file HcalTBDigiProducer.cc.
References theAmplifier, theCoderFactory, theElectronicsSim, theHBHEDigitizer, theHBHEResponse, theHcalIntegratedShape, theHcalShape, theHODigitizer, theHOResponse, theParameterMap, and theTimeSlewSim.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 138 of file HcalTBDigiProducer.cc.
References accumulateCaloHits(), edm::Event::getByLabel(), randomEngine(), and edm::Event::streamID().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 148 of file HcalTBDigiProducer.cc.
References accumulateCaloHits(), PileUpEventPrincipal::bunchCrossing(), PileUpEventPrincipal::getByLabel(), and randomEngine().
|
private |
Definition at line 126 of file HcalTBDigiProducer.cc.
References CaloTDigitizer< Traits, runHelper >::add(), hfClusterShapes_cfi::hits, LogDebug, theHBHEDigitizer, and theHODigitizer.
Referenced by accumulate().
|
private |
make sure the digitizer has the correct list of all cells that exist in the geometry
Definition at line 191 of file HcalTBDigiProducer.cc.
References geometry, edm::EventSetup::get(), theGeometry, and updateGeometry().
Referenced by initializeEvent().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 158 of file HcalTBDigiProducer.cc.
References instance, LogDebug, eostools::move(), edm::Event::put(), randomEngine(), CaloTDigitizer< Traits, runHelper >::run(), edm::Event::streamID(), AlCaHLTBitMon_QueryRunRegistry::string, theHBHEDigitizer, and theHODigitizer.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 92 of file HcalTBDigiProducer.cc.
References checkGeometry(), doPhaseShift, ecalTBInfoLabel, edm::EventSetup::get(), edm::Event::getByLabel(), DetId::Hcal, hcalTimeSlew_delay_, CaloTDigitizer< Traits, runHelper >::initializeHits(), PEcalTBInfo::phaseShift(), edm::ESHandle< T >::product(), HcalCoderFactory::setDbService(), HcalAmplifier::setDbService(), setPhaseShift(), HcalAmplifier::setTimeSlew(), theAmplifier, theCoderFactory, theHBHEDigitizer, theHBHEHits, theHODigitizer, theHOHits, and thisPhaseShift.
|
private |
Definition at line 246 of file HcalTBDigiProducer.cc.
References edm::RandomNumberGenerator::getEngine(), randomEngines_, and edm::StreamID::value().
Referenced by accumulate(), and finalizeEvent().
|
private |
Definition at line 232 of file HcalTBDigiProducer.cc.
References CaloHitResponse::setPhaseShift(), HcalTBSimParameterMap::simParameters(), DetId::subdetId(), CaloSimParameters::syncPhase(), theHBHEResponse, theHOResponse, theParameterMap, thisPhaseShift, and tunePhaseShift.
Referenced by initializeEvent().
|
private |
fills the vectors for each subdetector
Definition at line 176 of file HcalTBDigiProducer.cc.
References HcalBarrel, HcalEndcap, HcalOuter, theHBHEHits, and theHOHits.
|
private |
Definition at line 206 of file HcalTBDigiProducer.cc.
References CaloGeometry::getValidDetIds(), hbheCells, DetId::Hcal, HcalBarrel, HcalEndcap, HcalOuter, hoCells, LogDebug, CaloTDigitizer< Traits, runHelper >::setDetIds(), CaloHitResponse::setGeometry(), theGeometry, theHBHEDigitizer, theHBHEResponse, theHODigitizer, and theHOResponse.
Referenced by checkGeometry().
|
private |
Definition at line 96 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and initializeEvent().
|
private |
Definition at line 93 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and initializeEvent().
|
private |
Definition at line 88 of file HcalTBDigiProducer.h.
Referenced by updateGeometry().
|
private |
Definition at line 60 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and initializeEvent().
|
private |
Definition at line 89 of file HcalTBDigiProducer.h.
Referenced by updateGeometry().
|
private |
Definition at line 99 of file HcalTBDigiProducer.h.
Referenced by randomEngine().
|
private |
Definition at line 75 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), initializeEvent(), and ~HcalTBDigiProducer().
|
private |
Definition at line 76 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), initializeEvent(), and ~HcalTBDigiProducer().
|
private |
Definition at line 77 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and ~HcalTBDigiProducer().
|
private |
Definition at line 87 of file HcalTBDigiProducer.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 84 of file HcalTBDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), HcalTBDigiProducer(), initializeEvent(), updateGeometry(), and ~HcalTBDigiProducer().
|
private |
Definition at line 79 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer().
|
private |
Definition at line 91 of file HcalTBDigiProducer.h.
Referenced by initializeEvent(), and sortHits().
|
private |
Definition at line 72 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), setPhaseShift(), updateGeometry(), and ~HcalTBDigiProducer().
|
private |
Definition at line 70 of file HcalTBDigiProducer.h.
Referenced by ~HcalTBDigiProducer().
|
private |
Definition at line 69 of file HcalTBDigiProducer.h.
Referenced by ~HcalTBDigiProducer().
|
private |
Definition at line 85 of file HcalTBDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), HcalTBDigiProducer(), initializeEvent(), updateGeometry(), and ~HcalTBDigiProducer().
|
private |
Definition at line 80 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer().
|
private |
Definition at line 91 of file HcalTBDigiProducer.h.
Referenced by initializeEvent(), and sortHits().
|
private |
Definition at line 73 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), setPhaseShift(), updateGeometry(), and ~HcalTBDigiProducer().
|
private |
Definition at line 68 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), setPhaseShift(), and ~HcalTBDigiProducer().
|
private |
Definition at line 82 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and ~HcalTBDigiProducer().
|
private |
Definition at line 94 of file HcalTBDigiProducer.h.
Referenced by initializeEvent(), and setPhaseShift().
|
private |
Definition at line 97 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and setPhaseShift().