#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::ProducesCollector, 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 () | |
DigiAccumulatorMixMod (DigiAccumulatorMixMod const &)=delete | |
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) |
DigiAccumulatorMixMod const & | operator= (DigiAccumulatorMixMod const &)=delete |
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) |
void | checkGeometry (const edm::EventSetup &eventSetup) |
void | setPhaseShift (const DetId &detId) |
void | sortHits (const edm::PCaloHitContainer &hits) |
fills the vectors for each subdetector More... | |
void | updateGeometry () |
Definition at line 36 of file HcalTBDigiProducer.h.
|
private |
Reconstruction algorithm
Definition at line 62 of file HcalTBDigiProducer.h.
|
private |
Definition at line 63 of file HcalTBDigiProducer.h.
|
explicit |
Definition at line 21 of file HcalTBDigiProducer.cc.
References edm::ConsumesCollector::consumes(), HcalCoderFactory::DB, hcalRecHitTable_cff::detId, DigiDM_cff::doNoise, doPhaseShift, hcalUnsuppressedDigis_cfi::doTimeSlew, ecalTBInfoLabel, edm::ParameterSet::getParameter(), DetId::Hcal, hcalTimeSlew_delay_, ProducerED_cfi::InputTag, instance, hcalUnsuppressedDigis_cfi::minFCToDelay, paraMap, edm::ProducesCollector::produces(), CaloHitResponse::setHitFilter(), HcalAmplifier::setTimeSlewSim(), HcalTBSimParameterMap::simParameters(), AlCaHLTBitMon_QueryRunRegistry::string, ecalSimParameterMap_cff::syncPhase, theAmplifier, theCoderFactory, theEcalTBToken_, theElectronicsSim, theHBHEDigitizer, theHBHEHitFilter, theHBHEResponse, theHODigitizer, theHOHitFilter, theHOResponse, theParameterMap, theTimeSlewSim, and tunePhaseShift.
|
override |
Definition at line 82 of file HcalTBDigiProducer.cc.
References paraMap, theAmplifier, theCoderFactory, theElectronicsSim, theHBHEResponse, theHcalIntegratedShape, theHcalShape, theHOResponse, theParameterMap, and theTimeSlewSim.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 149 of file HcalTBDigiProducer.cc.
References accumulateCaloHits(), MillePedeFileConverter_cfg::e, and hcalToken_.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 158 of file HcalTBDigiProducer.cc.
References accumulateCaloHits(), and MillePedeFileConverter_cfg::e.
|
private |
Definition at line 138 of file HcalTBDigiProducer.cc.
References hfClusterShapes_cfi::hits, LogDebug, randomEngine_, 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 202 of file HcalTBDigiProducer.cc.
References edm::ESWatcher< T >::check(), options_cfi::eventSetup, geometryToken_, geometryWatcher_, theGeometry, and updateGeometry().
Referenced by initializeEvent().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 170 of file HcalTBDigiProducer.cc.
References MillePedeFileConverter_cfg::e, instance, LogDebug, eostools::move(), randomEngine_, AlCaHLTBitMon_QueryRunRegistry::string, theHBHEDigitizer, and theHODigitizer.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 105 of file HcalTBDigiProducer.cc.
References checkGeometry(), PixelBaryCentreAnalyzer_cfg::conditions, conditionsToken_, doPhaseShift, MillePedeFileConverter_cfg::e, options_cfi::eventSetup, edm::RandomNumberGenerator::getEngine(), DetId::Hcal, hcalTimeSlew_delay_, hcalTimeSlew_delay_token_, PEcalTBInfo::phaseShift(), randomEngine_, HcalCoderFactory::setDbService(), HcalAmplifier::setDbService(), setPhaseShift(), HcalAmplifier::setTimeSlew(), theAmplifier, theCoderFactory, theEcalTBToken_, theHBHEDigitizer, theHBHEHits, theHODigitizer, theHOHits, and thisPhaseShift.
|
private |
Definition at line 234 of file HcalTBDigiProducer.cc.
References hcalRecHitTable_cff::detId, CaloHitResponse::setPhaseShift(), HcalTBSimParameterMap::simParameters(), theHBHEResponse, theHOResponse, theParameterMap, thisPhaseShift, and tunePhaseShift.
Referenced by initializeEvent().
|
private |
fills the vectors for each subdetector
Definition at line 189 of file HcalTBDigiProducer.cc.
References HcalBarrel, HcalEndcap, HcalOuter, hfClusterShapes_cfi::hits, theHBHEHits, and theHOHits.
|
private |
Definition at line 210 of file HcalTBDigiProducer.cc.
References CaloGeometry::getValidDetIds(), hbheCells, DetId::Hcal, HcalBarrel, HcalEndcap, HcalOuter, hoCells, LogDebug, CaloHitResponse::setGeometry(), theGeometry, theHBHEDigitizer, theHBHEResponse, theHODigitizer, and theHOResponse.
Referenced by checkGeometry().
|
private |
Definition at line 89 of file HcalTBDigiProducer.h.
Referenced by initializeEvent().
|
private |
Definition at line 102 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and initializeEvent().
|
private |
Definition at line 66 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer().
|
private |
Definition at line 88 of file HcalTBDigiProducer.h.
Referenced by checkGeometry().
|
private |
Definition at line 91 of file HcalTBDigiProducer.h.
Referenced by checkGeometry().
|
private |
Definition at line 95 of file HcalTBDigiProducer.h.
Referenced by updateGeometry().
|
private |
Definition at line 58 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and initializeEvent().
|
private |
Definition at line 90 of file HcalTBDigiProducer.h.
Referenced by initializeEvent().
|
private |
Definition at line 92 of file HcalTBDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 96 of file HcalTBDigiProducer.h.
Referenced by updateGeometry().
|
private |
Definition at line 69 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and ~HcalTBDigiProducer().
|
private |
Definition at line 104 of file HcalTBDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().
|
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(), initializeEvent(), and ~HcalTBDigiProducer().
|
private |
Definition at line 93 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and initializeEvent().
|
private |
Definition at line 78 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and ~HcalTBDigiProducer().
|
private |
Definition at line 94 of file HcalTBDigiProducer.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 85 of file HcalTBDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), HcalTBDigiProducer(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 80 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer().
|
private |
Definition at line 98 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 71 of file HcalTBDigiProducer.h.
Referenced by ~HcalTBDigiProducer().
|
private |
Definition at line 70 of file HcalTBDigiProducer.h.
Referenced by ~HcalTBDigiProducer().
|
private |
Definition at line 86 of file HcalTBDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), HcalTBDigiProducer(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 81 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer().
|
private |
Definition at line 98 of file HcalTBDigiProducer.h.
Referenced by initializeEvent(), and sortHits().
|
private |
Definition at line 74 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 83 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and ~HcalTBDigiProducer().
|
private |
Definition at line 100 of file HcalTBDigiProducer.h.
Referenced by initializeEvent(), and setPhaseShift().
|
private |
Definition at line 65 of file HcalTBDigiProducer.h.
Referenced by HcalTBDigiProducer(), and setPhaseShift().