#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 EcalElectronicsSim< EcalCoder, EcalSamples, EcalDataFrame > | EcalElectronicsSim_Ph1 |
typedef CaloTSamples< float, 10 > | EcalSamples |
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 82 of file EcalDigiProducer.h.
|
private |
Definition at line 193 of file EcalDigiProducer.h.
|
private |
Definition at line 191 of file EcalDigiProducer.h.
|
private |
Definition at line 102 of file EcalDigiProducer.h.
EcalDigiProducer::EcalDigiProducer | ( | const edm::ParameterSet & | params, |
edm::ProducesCollector | producesCollector, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 37 of file EcalDigiProducer.cc.
References m_apdDigiTag, m_apdSeparateDigi, m_componentDigiTag, m_componentSeparateDigi, m_EBdigiCollection, m_EEdigiCollection, m_ESdigiCollection, and edm::ProducesCollector::produces().
EcalDigiProducer::EcalDigiProducer | ( | const edm::ParameterSet & | params, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 53 of file EcalDigiProducer.cc.
|
override |
Definition at line 318 of file EcalDigiProducer.cc.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 375 of file EcalDigiProducer.cc.
References accumulateCaloHits(), MillePedeFileConverter_cfg::e, options_cfi::eventSetup, m_APDShape, m_ComponentShapes, m_doEB, m_doEE, m_EBShape, m_EEShape, m_HitsEBToken_, m_HitsEEToken_, m_HitsESToken_, ComponentShapeCollection::setEventSetup(), and EcalShapeBase::setEventSetup().
Referenced by PreMixingEcalWorker::addSignals().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 394 of file EcalDigiProducer.cc.
References accumulateCaloHits(), MillePedeFileConverter_cfg::e, m_doEB, m_doEE, m_doES, and m_hitsProducerTag.
|
private |
Definition at line 347 of file EcalDigiProducer.cc.
References edm::HandleBase::isValid(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_ComponentDigitizer, m_componentSeparateDigi, 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 475 of file EcalDigiProducer.cc.
References Exception, edm::RandomNumberGenerator::getEngine(), edm::Service< T >::isAvailable(), m_APDResponse, m_ComponentResponse, m_doEB, and m_EBResponse.
Referenced by PreMixingEcalWorker::beginLuminosityBlock().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
private |
Definition at line 493 of file EcalDigiProducer.cc.
References options_cfi::eventSetup, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), EcalADCToGeVConstant::getEBValue(), EcalADCToGeVConstant::getEEValue(), ESGain::getESGain(), ESMIPToGeVConstant::getESValueHigh(), ESMIPToGeVConstant::getESValueLow(), EcalCondDBWriter_cfi::laser, LogDebug, m_agcToken, m_APDCoder, m_APDResponse, m_Coder, m_ComponentCoder, m_ComponentResponse, m_doES, m_doFastES, m_EBResponse, m_EBs25notCont, m_EEResponse, m_EEs25notCont, m_ESDigitizer, m_ESElectronicsSim, m_ESElectronicsSimFast, m_esGainToken, m_esMIPsToken, m_esMIPToGeVToken, m_esPedestalsToken, m_ESShape, m_grToken, m_icalToken, m_laserToken, m_pedestalsToken, m_useLCcorrection, and ESShape::setGain().
Referenced by initializeEvent().
|
private |
Definition at line 599 of file EcalDigiProducer.cc.
References edm::ESWatcher< T >::check(), options_cfi::eventSetup, m_Geometry, m_geometryToken, m_geometryWatcher, and updateGeometry().
Referenced by initializeEvent().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 419 of file EcalDigiProducer.cc.
References cacheEBDigis(), cacheEEDigis(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_componentDigiTag, m_ComponentDigitizer, m_componentSeparateDigi, 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 PreMixingEcalWorker::put().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 320 of file EcalDigiProducer.cc.
References checkCalibrations(), checkGeometry(), options_cfi::eventSetup, edm::RandomNumberGenerator::getEngine(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_ComponentDigitizer, m_componentSeparateDigi, m_doEB, m_doEE, m_doES, m_doFastES, m_EndcapDigitizer, m_ESDigitizer, m_ESOldDigitizer, and randomEngine_.
Referenced by 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 642 of file EcalDigiProducer.cc.
References m_EndcapDigitizer.
Referenced by PreMixingEcalWorker::PreMixingEcalWorker().
void EcalDigiProducer::setESNoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 648 of file EcalDigiProducer.cc.
References m_ESDigitizer.
Referenced by PreMixingEcalWorker::PreMixingEcalWorker().
|
private |
Definition at line 606 of file EcalDigiProducer.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, CaloGeometry::getSubdetectorGeometry(), CaloSubdetectorGeometry::getValidDetIds(), m_APDResponse, m_ComponentResponse, m_doEB, m_doEE, m_doES, m_doFastES, m_EBResponse, m_EEResponse, m_ESDigitizer, m_ESOldDigitizer, m_ESOldResponse, m_ESResponse, and m_Geometry.
Referenced by checkGeometry().
|
private |
Definition at line 173 of file EcalDigiProducer.h.
|
private |
Definition at line 132 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 198 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 155 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 186 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 197 of file EcalDigiProducer.h.
|
private |
Definition at line 156 of file EcalDigiProducer.h.
|
private |
Definition at line 161 of file EcalDigiProducer.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), and updateGeometry().
|
private |
Definition at line 143 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 114 of file EcalDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 188 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), initializeEvent(), and setEBNoiseSignalGenerator().
|
private |
Definition at line 195 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 200 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 158 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
private |
Definition at line 187 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 199 of file EcalDigiProducer.h.
|
private |
Definition at line 159 of file EcalDigiProducer.h.
|
private |
Definition at line 163 of file EcalDigiProducer.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), and updateGeometry().
|
private |
Definition at line 144 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 115 of file EcalDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 179 of file EcalDigiProducer.h.
Referenced by accumulate(), accumulateCaloHits(), beginLuminosityBlock(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 179 of file EcalDigiProducer.h.
Referenced by accumulate(), accumulateCaloHits(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 179 of file EcalDigiProducer.h.
Referenced by accumulate(), accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 177 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 204 of file EcalDigiProducer.h.
|
private |
Definition at line 120 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
protected |
Definition at line 166 of file EcalDigiProducer.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), and updateGeometry().
|
private |
Definition at line 146 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 116 of file EcalDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 205 of file EcalDigiProducer.h.
|
private |
Definition at line 121 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
protected |
Definition at line 167 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), and updateGeometry().
|
private |
Definition at line 147 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 117 of file EcalDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 194 of file EcalDigiProducer.h.
|
private |
Definition at line 189 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), initializeEvent(), and setEENoiseSignalGenerator().
|
private |
Definition at line 122 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
private |
Definition at line 184 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), setESNoiseSignalGenerator(), and updateGeometry().
|
private |
Definition at line 181 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 183 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 135 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 138 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 136 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 182 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 171 of file EcalDigiProducer.h.
Referenced by updateGeometry().
|
private |
Definition at line 137 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 170 of file EcalDigiProducer.h.
Referenced by updateGeometry().
|
private |
Definition at line 118 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 202 of file EcalDigiProducer.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 134 of file EcalDigiProducer.h.
Referenced by checkGeometry().
|
private |
Definition at line 139 of file EcalDigiProducer.h.
Referenced by checkGeometry().
|
private |
Definition at line 133 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 125 of file EcalDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 126 of file EcalDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 127 of file EcalDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 123 of file EcalDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 130 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 131 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
protected |
Definition at line 152 of file EcalDigiProducer.h.
|
private |
Definition at line 129 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 174 of file EcalDigiProducer.h.
|
private |
Definition at line 175 of file EcalDigiProducer.h.
|
private |
Definition at line 149 of file EcalDigiProducer.h.
|
private |
Definition at line 141 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 207 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().