#include <EcalDigiProducer.h>
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) |
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) |
void | updateGeometry () |
Definition at line 58 of file EcalDigiProducer.h.
|
private |
Definition at line 80 of file EcalDigiProducer.h.
EcalDigiProducer::EcalDigiProducer | ( | const edm::ParameterSet & | params, |
edm::ProducerBase & | mixMod, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 57 of file EcalDigiProducer.cc.
References m_apdDigiTag, m_apdSeparateDigi, m_EBdigiCollection, m_EEdigiCollection, m_ESdigiCollection, and edm::ProductRegistryHelper::produces().
EcalDigiProducer::EcalDigiProducer | ( | const edm::ParameterSet & | params, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 68 of file EcalDigiProducer.cc.
References ecalElectronicsSim_cff::applyConstantTerm, ecalCosmicsSim_cff::cosmicsPhase, ecalCosmicsSim_cff::cosmicsShift, MillePedeFileConverter_cfg::e, funct::false, m_APDCoder, m_APDDigitizer, m_APDElectronicsSim, m_APDResponse, m_apdSeparateDigi, m_BarrelDigitizer, m_Coder, m_doEB, m_doEE, m_doES, m_EBCorrNoise, m_EBResponse, m_EECorrNoise, m_EEResponse, m_ElectronicsSim, m_EndcapDigitizer, m_hitsProducerTag, m_ParameterMap, m_PreMix1, and m_readoutFrameSize.
|
override |
Definition at line 291 of file EcalDigiProducer.cc.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 343 of file EcalDigiProducer.cc.
References accumulateCaloHits(), edm::Event::getByLabel(), m_doEB, m_doEE, m_doES, and m_hitsProducerTag.
Referenced by PreMixingEcalWorker::addSignals().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 367 of file EcalDigiProducer.cc.
References accumulateCaloHits(), PileUpEventPrincipal::bunchCrossing(), PileUpEventPrincipal::getByLabel(), m_doEB, m_doEE, m_doES, and m_hitsProducerTag.
|
private |
Definition at line 320 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, edm::Handle< T >::product(), and randomEngine_.
Referenced by accumulate().
|
overridevirtual |
Reimplemented from DigiAccumulatorMixMod.
Definition at line 441 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 PreMixingEcalWorker::beginLuminosityBlock().
|
inlineprivatevirtual |
Reimplemented in EcalTBDigiProducer.
Definition at line 77 of file EcalDigiProducer.h.
Referenced by finalizeEvent().
|
inlineprivatevirtual |
Reimplemented in EcalTBDigiProducer.
Definition at line 78 of file EcalDigiProducer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 459 of file EcalDigiProducer.cc.
References EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), edm::EventSetup::get(), EcalADCToGeVConstant::getEBValue(), EcalADCToGeVConstant::getEEValue(), 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< T >::product(), and ESShape::setGain().
Referenced by initializeEvent().
|
private |
Definition at line 584 of file EcalDigiProducer.cc.
References edm::EventSetup::get(), m_Geometry, and updateGeometry().
Referenced by initializeEvent().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Reimplemented in EcalTBDigiProducer.
Definition at line 391 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, eostools::move(), and randomEngine_.
Referenced by EcalTBDigiProducer::finalizeEvent(), and PreMixingEcalWorker::put().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Reimplemented in EcalTBDigiProducer.
Definition at line 295 of file EcalDigiProducer.cc.
References checkCalibrations(), checkGeometry(), edm::RandomNumberGenerator::getEngine(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_doEB, m_doEE, m_doES, m_doFastES, m_EndcapDigitizer, m_ESDigitizer, m_ESOldDigitizer, randomEngine_, and edm::Event::streamID().
Referenced by EcalTBDigiProducer::initializeEvent(), and PreMixingEcalWorker::initializeEvent().
void EcalDigiProducer::setEBNoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 636 of file EcalDigiProducer.cc.
References m_BarrelDigitizer.
Referenced by PreMixingEcalWorker::PreMixingEcalWorker().
void EcalDigiProducer::setEENoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 641 of file EcalDigiProducer.cc.
References m_EndcapDigitizer.
Referenced by PreMixingEcalWorker::PreMixingEcalWorker().
void EcalDigiProducer::setESNoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 646 of file EcalDigiProducer.cc.
References m_ESDigitizer.
Referenced by PreMixingEcalWorker::PreMixingEcalWorker().
|
private |
Definition at line 600 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 121 of file EcalDigiProducer.h.
|
private |
Definition at line 142 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), and EcalDigiProducer().
|
private |
Definition at line 110 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 134 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 141 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 111 of file EcalDigiProducer.h.
|
private |
Definition at line 113 of file EcalDigiProducer.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), EcalDigiProducer(), and updateGeometry().
|
private |
Definition at line 101 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 89 of file EcalDigiProducer.h.
|
private |
Definition at line 135 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), and setEBNoiseSignalGenerator().
|
private |
Definition at line 139 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), and EcalDigiProducer().
|
private |
Definition at line 127 of file EcalDigiProducer.h.
Referenced by accumulate(), accumulateCaloHits(), beginLuminosityBlock(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 127 of file EcalDigiProducer.h.
Referenced by accumulate(), accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 127 of file EcalDigiProducer.h.
Referenced by accumulate(), accumulateCaloHits(), checkCalibrations(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 125 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 146 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 94 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
protected |
Definition at line 115 of file EcalDigiProducer.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), EcalDigiProducer(), EcalTBDigiProducer::setPhaseShift(), and updateGeometry().
|
private |
Definition at line 103 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 90 of file EcalDigiProducer.h.
|
private |
Definition at line 147 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 95 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
protected |
Definition at line 116 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), EcalTBDigiProducer::setPhaseShift(), and updateGeometry().
|
private |
Definition at line 104 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 91 of file EcalDigiProducer.h.
|
private |
Definition at line 138 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 136 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), and setEENoiseSignalGenerator().
|
private |
Definition at line 96 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
private |
Definition at line 132 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), setESNoiseSignalGenerator(), and updateGeometry().
|
private |
Definition at line 129 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 131 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 130 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 119 of file EcalDigiProducer.h.
Referenced by updateGeometry().
|
private |
Definition at line 118 of file EcalDigiProducer.h.
Referenced by updateGeometry().
|
private |
Definition at line 92 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 144 of file EcalDigiProducer.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 97 of file EcalDigiProducer.h.
Referenced by accumulate(), and EcalDigiProducer().
|
protected |
Definition at line 108 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and EcalTBDigiProducer::setPhaseShift().
|
private |
Definition at line 122 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 123 of file EcalDigiProducer.h.
|
private |
Definition at line 106 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 99 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 149 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().