#include <EcalDigiProducer.h>
Protected Attributes | |
EBHitResponse * | m_EBResponse |
EEHitResponse * | m_EEResponse |
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::one::EDProducerBase & | mixMod, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 57 of file EcalDigiProducer.cc.
References column, edm::ConsumesCollector::consumes(), alignCSCRings::e, edm::ParameterSet::getParameter(), cmsHarvester::index, m_APDCoder, m_apdDigiTag, m_APDDigitizer, m_APDElectronicsSim, m_APDResponse, m_apdSeparateDigi, m_BarrelDigitizer, m_Coder, m_EBCorrNoise, m_EBdigiCollection, m_EBResponse, m_EECorrNoise, m_EEdigiCollection, m_EEResponse, m_ElectronicsSim, m_EndcapDigitizer, m_ESdigiCollection, m_hitsProducerTag, m_ParameterMap, m_PreMix1, m_readoutFrameSize, and EcalHitResponse::setPhaseShift().
EcalDigiProducer::EcalDigiProducer | ( | const edm::ParameterSet & | params, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 270 of file EcalDigiProducer.cc.
References column, edm::ConsumesCollector::consumes(), alignCSCRings::e, edm::ParameterSet::getParameter(), cmsHarvester::index, m_APDCoder, m_APDDigitizer, m_APDElectronicsSim, m_APDResponse, m_apdSeparateDigi, m_BarrelDigitizer, m_Coder, m_EBCorrNoise, m_EBResponse, m_EECorrNoise, m_EEResponse, m_ElectronicsSim, m_EndcapDigitizer, m_hitsProducerTag, m_ParameterMap, m_PreMix1, m_readoutFrameSize, and EcalHitResponse::setPhaseShift().
|
virtual |
Definition at line 484 of file EcalDigiProducer.cc.
References m_APDCoder, m_APDDigitizer, m_APDElectronicsSim, m_apdParameters, m_APDResponse, m_BarrelDigitizer, m_Coder, m_EBCorrNoise, m_EBResponse, m_EECorrNoise, m_EEResponse, m_ElectronicsSim, m_EndcapDigitizer, m_ESDigitizer, m_ESElectronicsSim, m_ESElectronicsSimFast, m_ESOldDigitizer, m_ESOldResponse, m_ESResponse, and m_ParameterMap.
|
virtual |
Implements DigiAccumulatorMixMod.
Definition at line 555 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 573 of file EcalDigiProducer.cc.
References accumulateCaloHits(), PileUpEventPrincipal::bunchCrossing(), PileUpEventPrincipal::getByLabel(), m_hitsProducerTag, and randomEngine().
|
private |
Definition at line 532 of file EcalDigiProducer.cc.
References EcalTDigitizer< Traits >::add(), CaloTDigitizer< Traits >::add(), edm::HandleBase::isValid(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_doFastES, m_EndcapDigitizer, m_ESDigitizer, m_ESOldDigitizer, and edm::Handle< T >::product().
Referenced by accumulate().
|
overridevirtual |
Reimplemented from DigiAccumulatorMixMod.
Definition at line 634 of file EcalDigiProducer.cc.
References edm::hlt::Exception, edm::RandomNumberGenerator::getEngine(), edm::LuminosityBlock::index(), EBHitResponse::initialize(), edm::Service< T >::isAvailable(), m_APDResponse, and m_EBResponse.
|
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 650 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_doFastES, m_EBResponse, m_EBs25notCont, m_EEResponse, m_EEs25notCont, m_ESDigitizer, m_ESElectronicsSim, m_ESElectronicsSimFast, m_ESOldDigitizer, m_ESShape, m_useLCcorrection, EcalCoder::MAXADC, EcalCoder::NGAINS, edm::ESHandle< class >::product(), EcalHitResponse::setEventTime(), EcalCoder::setFullScaleEnergy(), ESShape::setGain(), ESElectronicsSim::setGain(), ESDigitizer::setGain(), EcalCoder::setGainRatios(), EBHitResponse::setIntercal(), EcalCoder::setIntercalibConstants(), EcalHitResponse::setLaserConstants(), ESElectronicsSim::setMIPs(), ESElectronicsSimFast::setMIPs(), ESElectronicsSim::setMIPToGeV(), ESElectronicsSimFast::setMIPToGeV(), ESElectronicsSim::setPedestals(), ESElectronicsSimFast::setPedestals(), and EcalCoder::setPedestals().
Referenced by initializeEvent().
|
private |
Definition at line 774 of file EcalDigiProducer.cc.
References edm::EventSetup::get(), m_Geometry, and updateGeometry().
Referenced by initializeEvent().
|
virtual |
Implements DigiAccumulatorMixMod.
Reimplemented in EcalTBDigiProducer.
Definition at line 591 of file EcalDigiProducer.cc.
References cacheEBDigis(), cacheEEDigis(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_doFastES, m_EBdigiCollection, m_EEdigiCollection, m_EndcapDigitizer, m_ESdigiCollection, m_ESDigitizer, m_ESOldDigitizer, randomEngine(), ESDigitizer::run(), EcalTDigitizer< Traits >::run(), CaloTDigitizer< Traits >::run(), and edm::Event::streamID().
Referenced by EcalTBDigiProducer::finalizeEvent(), and edm::DataMixingEcalDigiWorkerProd::putEcal().
|
virtual |
Implements DigiAccumulatorMixMod.
Reimplemented in EcalTBDigiProducer.
Definition at line 516 of file EcalDigiProducer.cc.
References checkCalibrations(), checkGeometry(), EcalTDigitizer< Traits >::initializeHits(), CaloTDigitizer< Traits >::initializeHits(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_doFastES, m_EndcapDigitizer, m_ESDigitizer, and m_ESOldDigitizer.
Referenced by EcalTBDigiProducer::initializeEvent(), and edm::DataMixingEcalDigiWorkerProd::initializeEvent().
|
private |
Definition at line 821 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 835 of file EcalDigiProducer.cc.
References m_BarrelDigitizer, and EcalTDigitizer< Traits >::setNoiseSignalGenerator().
void EcalDigiProducer::setEENoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 840 of file EcalDigiProducer.cc.
References m_EndcapDigitizer, and EcalTDigitizer< Traits >::setNoiseSignalGenerator().
void EcalDigiProducer::setESNoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 845 of file EcalDigiProducer.cc.
References m_ESDigitizer, and EcalTDigitizer< Traits >::setNoiseSignalGenerator().
|
private |
Definition at line 790 of file EcalDigiProducer.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, CaloGeometry::getSubdetectorGeometry(), CaloSubdetectorGeometry::getValidDetIds(), m_APDResponse, m_doFastES, m_EBResponse, m_EEResponse, m_ESDigitizer, m_ESOldDigitizer, m_ESOldResponse, m_ESResponse, m_Geometry, ESDigitizer::setDetIds(), CaloTDigitizer< Traits >::setDetIds(), EcalHitResponse::setGeometry(), and CaloHitResponse::setGeometry().
Referenced by checkGeometry().
|
private |
Definition at line 125 of file EcalDigiProducer.h.
|
private |
Definition at line 144 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 114 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 136 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), and ~EcalDigiProducer().
|
private |
Definition at line 143 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 115 of file EcalDigiProducer.h.
Referenced by ~EcalDigiProducer().
|
private |
Definition at line 117 of file EcalDigiProducer.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), EcalDigiProducer(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 105 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 93 of file EcalDigiProducer.h.
|
private |
Definition at line 137 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), setEBNoiseSignalGenerator(), and ~EcalDigiProducer().
|
private |
Definition at line 141 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 129 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 148 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 98 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
protected |
Definition at line 119 of file EcalDigiProducer.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), EcalDigiProducer(), EcalTBDigiProducer::setPhaseShift(), updateGeometry(), and ~EcalDigiProducer().
|
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 149 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 99 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
protected |
Definition at line 120 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), EcalTBDigiProducer::setPhaseShift(), updateGeometry(), and ~EcalDigiProducer().
|
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 140 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 138 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), setEENoiseSignalGenerator(), and ~EcalDigiProducer().
|
private |
Definition at line 100 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
private |
Definition at line 134 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), setESNoiseSignalGenerator(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 131 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), and ~EcalDigiProducer().
|
private |
Definition at line 133 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), and ~EcalDigiProducer().
|
private |
Definition at line 132 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 123 of file EcalDigiProducer.h.
Referenced by updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 122 of file EcalDigiProducer.h.
Referenced by updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 96 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 146 of file EcalDigiProducer.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 101 of file EcalDigiProducer.h.
Referenced by accumulate(), and EcalDigiProducer().
|
protected |
Definition at line 112 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), EcalTBDigiProducer::setPhaseShift(), and ~EcalDigiProducer().
|
private |
Definition at line 126 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 127 of file EcalDigiProducer.h.
|
private |
Definition at line 110 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 103 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 151 of file EcalDigiProducer.h.
Referenced by randomEngine().