#include <EcalDigiProducer.h>
Public Member Functions | |
virtual void | accumulate (edm::Event const &e, edm::EventSetup const &c) override |
virtual void | accumulate (PileUpEventPrincipal const &e, edm::EventSetup const &c, edm::StreamID const &) override |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override |
EcalDigiProducer (const edm::ParameterSet ¶ms, edm::stream::EDProducerBase &mixMod, edm::ConsumesCollector &iC) | |
EcalDigiProducer (const edm::ParameterSet ¶ms, edm::ConsumesCollector &iC) | |
virtual void | finalizeEvent (edm::Event &e, edm::EventSetup const &c) override |
virtual void | initializeEvent (edm::Event const &e, edm::EventSetup const &c) override |
void | setEBNoiseSignalGenerator (EcalBaseSignalGenerator *noiseGenerator) |
void | setEENoiseSignalGenerator (EcalBaseSignalGenerator *noiseGenerator) |
void | setESNoiseSignalGenerator (EcalBaseSignalGenerator *noiseGenerator) |
virtual | ~EcalDigiProducer () |
Public Member Functions inherited from DigiAccumulatorMixMod | |
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 () |
Protected Attributes | |
std::unique_ptr< EBHitResponse > | m_EBResponse |
std::unique_ptr< EEHitResponse > | m_EEResponse |
std::unique_ptr< const EcalSimParameterMap > | m_ParameterMap |
Private Types | |
typedef edm::Handle < std::vector< PCaloHit > > | HitsHandle |
Private Member Functions | |
void | accumulateCaloHits (HitsHandle const &ebHandle, HitsHandle const &eeHandle, HitsHandle const &esHandle, int bunchCrossing, CLHEP::HepRandomEngine *) |
virtual void | cacheEBDigis (const EBDigiCollection *ebDigiPtr) const |
virtual void | cacheEEDigis (const EEDigiCollection *eeDigiPtr) const |
void | checkCalibrations (const edm::Event &event, const edm::EventSetup &eventSetup) |
void | checkGeometry (const edm::EventSetup &eventSetup) |
CLHEP::HepRandomEngine * | randomEngine (edm::StreamID const &streamID) |
void | updateGeometry () |
Definition at line 60 of file EcalDigiProducer.h.
|
private |
Definition at line 82 of file EcalDigiProducer.h.
EcalDigiProducer::EcalDigiProducer | ( | const edm::ParameterSet & | params, |
edm::stream::EDProducerBase & | mixMod, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 57 of file EcalDigiProducer.cc.
EcalDigiProducer::EcalDigiProducer | ( | const edm::ParameterSet & | params, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 281 of file EcalDigiProducer.cc.
|
virtual |
Definition at line 503 of file EcalDigiProducer.cc.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 552 of file EcalDigiProducer.cc.
References accumulateCaloHits(), edm::Event::getByLabel(), m_hitsProducerTag, randomEngine(), and edm::Event::streamID().
Referenced by edm::DataMixingEcalDigiWorkerProd::addEcalSignals().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 570 of file EcalDigiProducer.cc.
References accumulateCaloHits(), PileUpEventPrincipal::bunchCrossing(), PileUpEventPrincipal::getByLabel(), m_hitsProducerTag, and randomEngine().
|
private |
Definition at line 529 of file EcalDigiProducer.cc.
References edm::HandleBase::isValid(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_doEB, m_doEE, m_doES, m_doFastES, m_EndcapDigitizer, m_ESDigitizer, m_ESOldDigitizer, and edm::Handle< T >::product().
Referenced by accumulate().
|
overridevirtual |
Reimplemented from DigiAccumulatorMixMod.
Definition at line 636 of file EcalDigiProducer.cc.
References Exception, edm::RandomNumberGenerator::getEngine(), edm::LuminosityBlock::index(), edm::Service< T >::isAvailable(), m_APDResponse, m_doEB, and m_EBResponse.
Referenced by edm::DataMixingEcalDigiWorkerProd::beginLuminosityBlock().
|
inlineprivatevirtual |
Reimplemented in EcalTBDigiProducer.
Definition at line 79 of file EcalDigiProducer.h.
Referenced by finalizeEvent().
|
inlineprivatevirtual |
Reimplemented in EcalTBDigiProducer.
Definition at line 80 of file EcalDigiProducer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 654 of file EcalDigiProducer.cc.
References EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), edm::EventSetup::get(), EcalADCToGeVConstant::getEBValue(), EcalADCToGeVConstant::getEEValue(), EcalCondDBWriter_cfi::laser, LogDebug, m_APDCoder, m_APDResponse, m_Coder, m_doES, m_doFastES, m_EBResponse, m_EBs25notCont, m_EEResponse, m_EEs25notCont, m_ESDigitizer, m_ESElectronicsSim, m_ESElectronicsSimFast, m_ESOldDigitizer, m_ESShape, m_useLCcorrection, edm::ESHandle< class >::product(), and ESShape::setGain().
Referenced by initializeEvent().
|
private |
Definition at line 779 of file EcalDigiProducer.cc.
References edm::EventSetup::get(), m_Geometry, and updateGeometry().
Referenced by initializeEvent().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Reimplemented in EcalTBDigiProducer.
Definition at line 588 of file EcalDigiProducer.cc.
References cacheEBDigis(), cacheEEDigis(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_doEB, m_doEE, m_doES, m_doFastES, m_EBdigiCollection, m_EEdigiCollection, m_EndcapDigitizer, m_ESdigiCollection, m_ESDigitizer, m_ESOldDigitizer, randomEngine(), and edm::Event::streamID().
Referenced by EcalTBDigiProducer::finalizeEvent(), and edm::DataMixingEcalDigiWorkerProd::putEcal().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Reimplemented in EcalTBDigiProducer.
Definition at line 507 of file EcalDigiProducer.cc.
References checkCalibrations(), checkGeometry(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_doEB, m_doEE, m_doES, m_doFastES, m_EndcapDigitizer, m_ESDigitizer, and m_ESOldDigitizer.
Referenced by EcalTBDigiProducer::initializeEvent(), and edm::DataMixingEcalDigiWorkerProd::initializeEvent().
|
private |
Definition at line 831 of file EcalDigiProducer.cc.
References edm::RandomNumberGenerator::getEngine(), cmsHarvester::index, randomEngines_, and edm::StreamID::value().
Referenced by accumulate(), and finalizeEvent().
void EcalDigiProducer::setEBNoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 845 of file EcalDigiProducer.cc.
References m_BarrelDigitizer.
void EcalDigiProducer::setEENoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 850 of file EcalDigiProducer.cc.
References m_EndcapDigitizer.
void EcalDigiProducer::setESNoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 855 of file EcalDigiProducer.cc.
References m_ESDigitizer.
|
private |
Definition at line 795 of file EcalDigiProducer.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, CaloGeometry::getSubdetectorGeometry(), CaloSubdetectorGeometry::getValidDetIds(), m_APDResponse, m_doEB, m_doEE, m_doES, m_doFastES, m_EBResponse, m_EEResponse, m_ESDigitizer, m_ESOldDigitizer, m_ESOldResponse, m_ESResponse, m_Geometry, and nullptr.
Referenced by checkGeometry().
|
private |
Definition at line 125 of file EcalDigiProducer.h.
|
private |
Definition at line 146 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 114 of file EcalDigiProducer.h.
|
private |
Definition at line 138 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 145 of file EcalDigiProducer.h.
|
private |
Definition at line 115 of file EcalDigiProducer.h.
|
private |
Definition at line 117 of file EcalDigiProducer.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), and updateGeometry().
|
private |
Definition at line 105 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 93 of file EcalDigiProducer.h.
|
private |
Definition at line 139 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), initializeEvent(), and setEBNoiseSignalGenerator().
|
private |
Definition at line 143 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 131 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), beginLuminosityBlock(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 131 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 131 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 129 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 150 of file EcalDigiProducer.h.
|
private |
Definition at line 98 of file EcalDigiProducer.h.
Referenced by finalizeEvent().
|
protected |
Definition at line 119 of file EcalDigiProducer.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), EcalTBDigiProducer::setPhaseShift(), and updateGeometry().
|
private |
Definition at line 107 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 94 of file EcalDigiProducer.h.
|
private |
Definition at line 151 of file EcalDigiProducer.h.
|
private |
Definition at line 99 of file EcalDigiProducer.h.
Referenced by finalizeEvent().
|
protected |
Definition at line 120 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalTBDigiProducer::setPhaseShift(), and updateGeometry().
|
private |
Definition at line 108 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 95 of file EcalDigiProducer.h.
|
private |
Definition at line 142 of file EcalDigiProducer.h.
|
private |
Definition at line 140 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), initializeEvent(), and setEENoiseSignalGenerator().
|
private |
Definition at line 100 of file EcalDigiProducer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 136 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), setESNoiseSignalGenerator(), and updateGeometry().
|
private |
Definition at line 133 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 135 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 134 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 123 of file EcalDigiProducer.h.
Referenced by updateGeometry().
|
private |
Definition at line 122 of file EcalDigiProducer.h.
Referenced by updateGeometry().
|
private |
Definition at line 96 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 148 of file EcalDigiProducer.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 101 of file EcalDigiProducer.h.
Referenced by accumulate().
|
protected |
Definition at line 112 of file EcalDigiProducer.h.
Referenced by EcalTBDigiProducer::setPhaseShift().
|
private |
Definition at line 126 of file EcalDigiProducer.h.
|
private |
Definition at line 127 of file EcalDigiProducer.h.
|
private |
Definition at line 110 of file EcalDigiProducer.h.
|
private |
Definition at line 103 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 153 of file EcalDigiProducer.h.
Referenced by randomEngine().