#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 51 of file EcalDigiProducer.h.
|
private |
Definition at line 67 of file EcalDigiProducer.h.
EcalDigiProducer::EcalDigiProducer | ( | const edm::ParameterSet & | params, |
edm::EDProducer & | mixMod | ||
) |
Definition at line 50 of file EcalDigiProducer.cc.
References 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_ParameterMap, m_readoutFrameSize, and EcalHitResponse::setPhaseShift().
|
virtual |
Definition at line 254 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 325 of file EcalDigiProducer.cc.
References accumulateCaloHits(), edm::Event::getByLabel(), and m_hitsProducerTag.
|
virtual |
Implements DigiAccumulatorMixMod.
Definition at line 343 of file EcalDigiProducer.cc.
References accumulateCaloHits(), PileUpEventPrincipal::bunchCrossing(), PileUpEventPrincipal::getByLabel(), and m_hitsProducerTag.
|
private |
Definition at line 302 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 64 of file EcalDigiProducer.h.
Referenced by finalizeEvent().
|
inlineprivatevirtual |
Reimplemented in EcalTBDigiProducer.
Definition at line 65 of file EcalDigiProducer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 404 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 528 of file EcalDigiProducer.cc.
References edm::EventSetup::get(), m_Geometry, and updateGeometry().
Referenced by initializeEvent().
|
virtual |
Implements DigiAccumulatorMixMod.
Reimplemented in EcalTBDigiProducer.
Definition at line 361 of file EcalDigiProducer.cc.
References cacheEBDigis(), cacheEEDigis(), m_apdDigiTag, 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().
|
virtual |
Implements DigiAccumulatorMixMod.
Reimplemented in EcalTBDigiProducer.
Definition at line 286 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().
|
private |
Definition at line 544 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 108 of file EcalDigiProducer.h.
|
private |
Definition at line 125 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 97 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
private |
Definition at line 117 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), and ~EcalDigiProducer().
|
private |
Definition at line 124 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 98 of file EcalDigiProducer.h.
Referenced by ~EcalDigiProducer().
|
private |
Definition at line 100 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 88 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 76 of file EcalDigiProducer.h.
|
private |
Definition at line 118 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), and ~EcalDigiProducer().
|
private |
Definition at line 122 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 110 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 129 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 81 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
protected |
Definition at line 102 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), EcalTBDigiProducer::setPhaseShift(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 90 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 77 of file EcalDigiProducer.h.
|
private |
Definition at line 130 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 82 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
protected |
Definition at line 103 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), EcalDigiProducer(), EcalTBDigiProducer::setPhaseShift(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 91 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 78 of file EcalDigiProducer.h.
|
private |
Definition at line 121 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and ~EcalDigiProducer().
|
private |
Definition at line 119 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), EcalDigiProducer(), finalizeEvent(), initializeEvent(), and ~EcalDigiProducer().
|
private |
Definition at line 83 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), and finalizeEvent().
|
private |
Definition at line 115 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 112 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), and ~EcalDigiProducer().
|
private |
Definition at line 114 of file EcalDigiProducer.h.
Referenced by checkCalibrations(), and ~EcalDigiProducer().
|
private |
Definition at line 113 of file EcalDigiProducer.h.
Referenced by accumulateCaloHits(), checkCalibrations(), finalizeEvent(), initializeEvent(), updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 106 of file EcalDigiProducer.h.
Referenced by updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 105 of file EcalDigiProducer.h.
Referenced by updateGeometry(), and ~EcalDigiProducer().
|
private |
Definition at line 79 of file EcalDigiProducer.h.
Referenced by checkCalibrations().
|
private |
Definition at line 127 of file EcalDigiProducer.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 84 of file EcalDigiProducer.h.
Referenced by accumulate().
|
protected |
Definition at line 95 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer(), EcalTBDigiProducer::setPhaseShift(), and ~EcalDigiProducer().
|
private |
Definition at line 93 of file EcalDigiProducer.h.
Referenced by EcalDigiProducer().
|
private |
Definition at line 86 of file EcalDigiProducer.h.
Referenced by checkCalibrations().