#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 53 of file EcalDigiProducer_Ph2.h.
Definition at line 55 of file EcalDigiProducer_Ph2.h.
Definition at line 56 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 128 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 75 of file EcalDigiProducer_Ph2.h.
EcalDigiProducer_Ph2::EcalDigiProducer_Ph2 | ( | const edm::ParameterSet & | params, |
edm::ProducesCollector | producesCollector, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 43 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 54 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(), MillePedeFileConverter_cfg::e, options_cfi::eventSetup, m_APDShape, m_EBShape, m_HitsEBToken, and EcalShapeBase::setEventSetup().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 209 of file EcalDigiProducer_Ph2.cc.
References accumulateCaloHits(), MillePedeFileConverter_cfg::e, 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 247 of file EcalDigiProducer_Ph2.cc.
References Exception, edm::RandomNumberGenerator::getEngine(), edm::Service< T >::isAvailable(), m_APDResponse, and m_EBResponse.
|
inlineprivatevirtual |
|
private |
Definition at line 261 of file EcalDigiProducer_Ph2.cc.
References agcToken_, options_cfi::eventSetup, ecalPh2::gains, 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 306 of file EcalDigiProducer_Ph2.cc.
References options_cfi::eventSetup, geom_token_, m_Geometry, and updateGeometry().
Referenced by initializeEvent().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 221 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(), options_cfi::eventSetup, edm::RandomNumberGenerator::getEngine(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, and randomEngine_.
void EcalDigiProducer_Ph2::setEBNoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 323 of file EcalDigiProducer_Ph2.cc.
References m_BarrelDigitizer.
|
private |
Definition at line 317 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 79 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 81 of file EcalDigiProducer_Ph2.h.
Referenced by checkGeometry().
|
private |
Definition at line 80 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 78 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 130 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 108 of file EcalDigiProducer_Ph2.h.
Referenced by EcalDigiProducer_Ph2().
|
private |
Definition at line 122 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 129 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 109 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 111 of file EcalDigiProducer_Ph2.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), and updateGeometry().
|
private |
Definition at line 98 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), EcalDigiProducer_Ph2(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 90 of file EcalDigiProducer_Ph2.h.
Referenced by accumulate().
|
private |
Definition at line 123 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), finalizeEvent(), initializeEvent(), and setEBNoiseSignalGenerator().
|
private |
Definition at line 126 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 134 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 93 of file EcalDigiProducer_Ph2.h.
Referenced by EcalDigiProducer_Ph2(), and finalizeEvent().
|
protected |
Definition at line 114 of file EcalDigiProducer_Ph2.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), and updateGeometry().
|
private |
Definition at line 100 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 91 of file EcalDigiProducer_Ph2.h.
Referenced by accumulate().
|
private |
Definition at line 125 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 132 of file EcalDigiProducer_Ph2.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 120 of file EcalDigiProducer_Ph2.h.
Referenced by accumulate().
|
private |
Definition at line 94 of file EcalDigiProducer_Ph2.h.
Referenced by accumulate().
|
protected |
Definition at line 105 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 117 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 118 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 102 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 96 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 77 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 136 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().