#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) |
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 55 of file EcalDigiProducer.h.
|
private |
Definition at line 76 of file EcalDigiProducer.h.
EcalDigiProducer::EcalDigiProducer | ( | const edm::ParameterSet & | params, |
edm::one::EDProducerBase & | mixMod, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 52 of file EcalDigiProducer.cc.
References column, edm::ConsumesCollector::consumes(), alignCSCRings::e, edm::ParameterSet::getParameter(), getHLTprescales::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 265 of file EcalDigiProducer.cc.
References column, edm::ConsumesCollector::consumes(), alignCSCRings::e, edm::ParameterSet::getParameter(), getHLTprescales::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 479 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 550 of file EcalDigiProducer.cc.
References accumulateCaloHits(), edm::Event::getByLabel(), and m_hitsProducerTag.
Referenced by edm::DataMixingEcalDigiWorkerProd::addEcalSignals().
|
virtual |
Implements DigiAccumulatorMixMod.
Definition at line 568 of file EcalDigiProducer.cc.
References accumulateCaloHits(), PileUpEventPrincipal::bunchCrossing(), PileUpEventPrincipal::getByLabel(), and m_hitsProducerTag.
|
private |
Definition at line 527 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().
|
inlineprivatevirtual |
Reimplemented in EcalTBDigiProducer.
Definition at line 73 of file EcalDigiProducer.h.
Referenced by finalizeEvent().
|
inlineprivatevirtual |
Reimplemented in EcalTBDigiProducer.
Definition at line 74 of file EcalDigiProducer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 629 of file EcalDigiProducer.cc.
References EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), edm::EventSetup::get(), EcalADCToGeVConstant::getEBValue(), EcalADCToGeVConstant::getEEValue(), 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(), ESElectronicsSim::setGain(), ESShape::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 753 of file EcalDigiProducer.cc.
References edm::EventSetup::get(), m_Geometry, and updateGeometry().
Referenced by initializeEvent().
|
virtual |
Implements DigiAccumulatorMixMod.
Reimplemented in EcalTBDigiProducer.
Definition at line 586 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, ESDigitizer::run(), EcalTDigitizer< Traits >::run(), and CaloTDigitizer< Traits >::run().
Referenced by EcalTBDigiProducer::finalizeEvent(), and edm::DataMixingEcalDigiWorkerProd::putEcal().
|
virtual |
Implements DigiAccumulatorMixMod.
Reimplemented in EcalTBDigiProducer.
Definition at line 511 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().
void EcalDigiProducer::setEBNoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 799 of file EcalDigiProducer.cc.
References m_BarrelDigitizer, and EcalTDigitizer< Traits >::setNoiseSignalGenerator().
void EcalDigiProducer::setEENoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 804 of file EcalDigiProducer.cc.
References m_EndcapDigitizer, and EcalTDigitizer< Traits >::setNoiseSignalGenerator().
void EcalDigiProducer::setESNoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 809 of file EcalDigiProducer.cc.
References m_ESDigitizer, and EcalTDigitizer< Traits >::setNoiseSignalGenerator().
|
private |
Definition at line 769 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 117 of file EcalDigiProducer.h.
|
private |
Definition at line 136 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 106 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 128 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), and ~EcalDigiProducer().
|
private |
Definition at line 135 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 107 of file EcalDigiProducer.h.
Referenced by ~EcalDigiProducer().
|
private |
Definition at line 109 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 97 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 85 of file EcalDigiProducer.h.
|
private |
Definition at line 129 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), setEBNoiseSignalGenerator(), and ~EcalDigiProducer().
|
private |
Definition at line 133 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 121 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 140 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 90 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
protected |
Definition at line 111 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), EcalTBDigiProducer::setPhaseShift(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 99 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 86 of file EcalDigiProducer.h.
|
private |
Definition at line 141 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 91 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
protected |
Definition at line 112 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), EcalTBDigiProducer::setPhaseShift(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 100 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 87 of file EcalDigiProducer.h.
|
private |
Definition at line 132 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 130 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), setEENoiseSignalGenerator(), and ~EcalDigiProducer().
|
private |
Definition at line 92 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
private |
Definition at line 126 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), setESNoiseSignalGenerator(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 123 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), and ~EcalDigiProducer().
|
private |
Definition at line 125 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), and ~EcalDigiProducer().
|
private |
Definition at line 124 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 115 of file EcalDigiProducer.h.
Referenced by updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 114 of file EcalDigiProducer.h.
Referenced by updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 88 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 138 of file EcalDigiProducer.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 93 of file EcalDigiProducer.h.
Referenced by accumulate(), and EcalDigiProducer().
|
protected |
Definition at line 104 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), EcalTBDigiProducer::setPhaseShift(), and ~EcalDigiProducer().
|
private |
Definition at line 118 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 119 of file EcalDigiProducer.h.
|
private |
Definition at line 102 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 95 of file EcalDigiProducer.h.
Referenced by checkCalibrations().