#include <EcalDigiProducer_Ph2.h>
Public Types | |
typedef EcalTDigitizer < EBDigitizerTraits_Ph2 > | EBDigitizer_Ph2 |
typedef EBDigitizerTraits_Ph2::ElectronicsSim | EcalElectronicsSim_Ph2 |
Public Member Functions | |
void | accumulate (edm::Event const &e, edm::EventSetup const &c) override |
void | accumulate (PileUpEventPrincipal const &e, edm::EventSetup const &c, edm::StreamID const &) override |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override |
EcalDigiProducer_Ph2 (const edm::ParameterSet ¶ms, edm::ProducesCollector producesCollector, edm::ConsumesCollector &iC) | |
EcalDigiProducer_Ph2 (const edm::ParameterSet ¶ms, edm::ConsumesCollector &iC) | |
void | finalizeEvent (edm::Event &e, edm::EventSetup const &c) override |
void | initializeEvent (edm::Event const &e, edm::EventSetup const &c) override |
void | setEBNoiseSignalGenerator (EcalBaseSignalGenerator *noiseGenerator) |
~EcalDigiProducer_Ph2 () override | |
Public Member Functions inherited from DigiAccumulatorMixMod | |
virtual void | beginRun (edm::Run const &run, edm::EventSetup const &setup) |
DigiAccumulatorMixMod () | |
DigiAccumulatorMixMod (DigiAccumulatorMixMod const &)=delete | |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) |
virtual void | endRun (edm::Run const &run, edm::EventSetup const &setup) |
virtual void | finalizeBunchCrossing (edm::Event &event, edm::EventSetup const &setup, int bunchCrossing) |
virtual PileupMixingContent * | getEventPileupInfo () |
virtual void | initializeBunchCrossing (edm::Event const &event, edm::EventSetup const &setup, int bunchCrossing) |
DigiAccumulatorMixMod const & | operator= (DigiAccumulatorMixMod const &)=delete |
virtual void | StorePileupInformation (std::vector< int > &numInteractionList, std::vector< int > &bunchCrossingList, std::vector< float > &TrueInteractionList, std::vector< edm::EventID > &eventList, int bunchSpace) |
virtual | ~DigiAccumulatorMixMod () |
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().