#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 55 of file EcalDigiProducer_Ph2.h.
Definition at line 57 of file EcalDigiProducer_Ph2.h.
Definition at line 58 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 138 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 77 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_componentDigiTag, m_componentSeparateDigi, m_EBdigiCollection, and edm::ProducesCollector::produces().
EcalDigiProducer_Ph2::EcalDigiProducer_Ph2 | ( | const edm::ParameterSet & | params, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 58 of file EcalDigiProducer_Ph2.cc.
|
override |
Definition at line 222 of file EcalDigiProducer_Ph2.cc.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 253 of file EcalDigiProducer_Ph2.cc.
References accumulateCaloHits(), MillePedeFileConverter_cfg::e, options_cfi::eventSetup, m_APDShape, m_ComponentShapes, m_EBShape, m_HitsEBToken, ComponentShapeCollection::setEventSetup(), and EcalShapeBase::setEventSetup().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 264 of file EcalDigiProducer_Ph2.cc.
References accumulateCaloHits(), MillePedeFileConverter_cfg::e, and m_hitsProducerTag.
|
private |
Definition at line 240 of file EcalDigiProducer_Ph2.cc.
References edm::HandleBase::isValid(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_ComponentDigitizer, m_componentSeparateDigi, edm::Handle< T >::product(), and randomEngine_.
Referenced by accumulate().
|
overridevirtual |
Reimplemented from DigiAccumulatorMixMod.
Definition at line 313 of file EcalDigiProducer_Ph2.cc.
References Exception, edm::RandomNumberGenerator::getEngine(), edm::Service< T >::isAvailable(), m_APDResponse, m_ComponentResponse, and m_EBResponse.
|
inlineprivatevirtual |
|
private |
Definition at line 329 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_ComponentCoder, m_ComponentResponse, m_EBResponse, m_EBs25notCont, m_useLCcorrection, ecalPh2::MAXADC, and pedestalToken_.
Referenced by initializeEvent().
|
private |
Definition at line 384 of file EcalDigiProducer_Ph2.cc.
References options_cfi::eventSetup, geom_token_, m_Geometry, and updateGeometry().
Referenced by initializeEvent().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 276 of file EcalDigiProducer_Ph2.cc.
References cacheEBDigis(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_componentDigiTag, m_ComponentDigitizer, m_componentSeparateDigi, m_EBdigiCollection, eostools::move(), and randomEngine_.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 224 of file EcalDigiProducer_Ph2.cc.
References checkCalibrations(), checkGeometry(), options_cfi::eventSetup, edm::RandomNumberGenerator::getEngine(), m_APDDigitizer, m_apdSeparateDigi, m_BarrelDigitizer, m_ComponentDigitizer, m_componentSeparateDigi, and randomEngine_.
void EcalDigiProducer_Ph2::setEBNoiseSignalGenerator | ( | EcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 403 of file EcalDigiProducer_Ph2.cc.
References m_BarrelDigitizer.
|
private |
Definition at line 395 of file EcalDigiProducer_Ph2.cc.
References DetId::Ecal, EcalBarrel, CaloGeometry::getSubdetectorGeometry(), m_APDResponse, m_ComponentResponse, m_EBResponse, and m_Geometry.
Referenced by checkGeometry().
|
private |
Definition at line 81 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 83 of file EcalDigiProducer_Ph2.h.
Referenced by checkGeometry().
|
private |
Definition at line 82 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 80 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 140 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 112 of file EcalDigiProducer_Ph2.h.
Referenced by EcalDigiProducer_Ph2().
|
private |
Definition at line 131 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 139 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 113 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 118 of file EcalDigiProducer_Ph2.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), and updateGeometry().
|
private |
Definition at line 101 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), EcalDigiProducer_Ph2(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 92 of file EcalDigiProducer_Ph2.h.
Referenced by accumulate().
|
private |
Definition at line 133 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), finalizeEvent(), initializeEvent(), and setEBNoiseSignalGenerator().
|
private |
Definition at line 136 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 142 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 115 of file EcalDigiProducer_Ph2.h.
Referenced by EcalDigiProducer_Ph2(), and finalizeEvent().
|
private |
Definition at line 132 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 141 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 116 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 120 of file EcalDigiProducer_Ph2.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), and updateGeometry().
|
private |
Definition at line 102 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), EcalDigiProducer_Ph2(), finalizeEvent(), and initializeEvent().
|
private |
Definition at line 93 of file EcalDigiProducer_Ph2.h.
Referenced by accumulate().
|
private |
Definition at line 146 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 96 of file EcalDigiProducer_Ph2.h.
Referenced by EcalDigiProducer_Ph2(), and finalizeEvent().
|
protected |
Definition at line 123 of file EcalDigiProducer_Ph2.h.
Referenced by beginLuminosityBlock(), checkCalibrations(), and updateGeometry().
|
private |
Definition at line 104 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 94 of file EcalDigiProducer_Ph2.h.
Referenced by accumulate().
|
private |
Definition at line 135 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 144 of file EcalDigiProducer_Ph2.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 129 of file EcalDigiProducer_Ph2.h.
Referenced by accumulate().
|
private |
Definition at line 97 of file EcalDigiProducer_Ph2.h.
Referenced by accumulate().
|
protected |
Definition at line 109 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 126 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 127 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 106 of file EcalDigiProducer_Ph2.h.
|
private |
Definition at line 99 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 79 of file EcalDigiProducer_Ph2.h.
Referenced by checkCalibrations().
|
private |
Definition at line 148 of file EcalDigiProducer_Ph2.h.
Referenced by accumulateCaloHits(), finalizeEvent(), and initializeEvent().