#include <EcalDigiProducer_Ph2.h>
Public Types | |
typedef EcalTDigitizer < EBDigitizerTraits_Ph2 > | EBDigitizer_Ph2 |
typedef EBDigitizerTraits_Ph2::ElectronicsSim | EcalElectronicsSim_Ph2 |
Protected Attributes | |
std::unique_ptr < EBHitResponse_Ph2 > | m_EBResponse |
std::unique_ptr< const EcalSimParameterMap > | m_ParameterMap |
Private Types | |
typedef CaloTSamples< float, ecalPh2::sampleSize > | EcalSamples_Ph2 |
typedef edm::Handle < std::vector< PCaloHit > > | HitsHandle |
Private Member Functions | |
void | accumulateCaloHits (HitsHandle const &ebHandle, int bunchCrossing) |
virtual void | cacheEBDigis (const EBDigiCollectionPh2 *ebDigiPtr) 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_Ph2.h.
Definition at line 53 of file EcalDigiProducer_Ph2.h.
Definition at line 54 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 124 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 73 of file EcalDigiProducer_Ph2.h.
EcalDigiProducer_Ph2::EcalDigiProducer_Ph2 | ( | const edm::ParameterSet & | params, |
edm::ProducesCollector | producesCollector, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 44 of file EcalDigiProducer_Ph2.cc.
References m_apdDigiTag, m_apdSeparateDigi, m_EBdigiCollection, and edm::ProducesCollector::produces().
EcalDigiProducer_Ph2::EcalDigiProducer_Ph2 | ( | const edm::ParameterSet & | params, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 55 of file EcalDigiProducer_Ph2.cc.
|
override |
Definition at line 174 of file EcalDigiProducer_Ph2.cc.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 199 of file EcalDigiProducer_Ph2.cc.
References accumulateCaloHits(), edm::Event::getByLabel(), m_APDShape, m_EBShape, m_hitsProducerTag, and EcalShapeBase::setEventSetup().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 211 of file EcalDigiProducer_Ph2.cc.
References accumulateCaloHits(), PileUpEventPrincipal::bunchCrossing(), PileUpEventPrincipal::getByLabel(), and m_hitsProducerTag.
|
private |
Definition at line 189 of file EcalDigiProducer_Ph2.cc.
References edm::HandleBase::isValid(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, edm::Handle< T >::product(), and randomEngine_.
Referenced by accumulate().
|
overridevirtual |
Reimplemented from DigiAccumulatorMixMod.
Definition at line 249 of file EcalDigiProducer_Ph2.cc.
References Exception, edm::RandomNumberGenerator::getEngine(), edm::LuminosityBlock::index(), edm::Service< T >::isAvailable(), m_APDResponse, and m_EBResponse.
|
inlineprivatevirtual |
|
private |
Definition at line 263 of file EcalDigiProducer_Ph2.cc.
References agcToken_, ecalPh2::gains, edm::EventSetup::getData(), icalToken_, EcalCondDBWriter_cfi::laser, laserToken_, LogDebug, m_APDCoder, m_APDResponse, m_Coder, m_EBResponse, m_EBs25notCont, m_useLCcorrection, ecalPh2::MAXADC, and pedestalToken_.
Referenced by initializeEvent().
|
private |
Definition at line 308 of file EcalDigiProducer_Ph2.cc.
References geom_token_, edm::EventSetup::getHandle(), m_Geometry, and updateGeometry().
Referenced by initializeEvent().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 223 of file EcalDigiProducer_Ph2.cc.
References cacheEBDigis(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_EBdigiCollection, eostools::move(), and randomEngine_.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 176 of file EcalDigiProducer_Ph2.cc.
References checkCalibrations(), checkGeometry(), edm::RandomNumberGenerator::getEngine(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, randomEngine_, and edm::Event::streamID().
void EcalDigiProducer_Ph2::setEBNoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 325 of file EcalDigiProducer_Ph2.cc.
References m_BarrelDigitizer.
|
private |
Definition at line 319 of file EcalDigiProducer_Ph2.cc.
References DetId::Ecal, EcalBarrel, CaloGeometry::getSubdetectorGeometry(), m_APDResponse, m_EBResponse, and m_Geometry.
Referenced by checkGeometry().
|
private |
Definition at line 77 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 79 of file EcalDigiProducer_Ph2.h.
Referenced by checkGeometry().
|
private |
Definition at line 78 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 76 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 126 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 106 of file EcalDigiProducer_Ph2.h.
Referenced by EcalDigiProducer_Ph2().
|
private |
Definition at line 118 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 125 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 107 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 109 of file EcalDigiProducer_Ph2.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), and updateGeometry().
|
private |
Definition at line 96 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), EcalDigiProducer_Ph2(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 88 of file EcalDigiProducer_Ph2.h.
Referenced by accumulate().
|
private |
Definition at line 119 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), finalizeEvent(), initializeEvent(), and setEBNoiseSignalGenerator().
|
private |
Definition at line 122 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 130 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 91 of file EcalDigiProducer_Ph2.h.
Referenced by EcalDigiProducer_Ph2(), and finalizeEvent().
|
protected |
Definition at line 112 of file EcalDigiProducer_Ph2.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), and updateGeometry().
|
private |
Definition at line 98 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 89 of file EcalDigiProducer_Ph2.h.
Referenced by accumulate().
|
private |
Definition at line 121 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 128 of file EcalDigiProducer_Ph2.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 92 of file EcalDigiProducer_Ph2.h.
Referenced by accumulate().
|
protected |
Definition at line 103 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 115 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 116 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 100 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 94 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 75 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 132 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().