#include <EcalTimeDigiProducer.h>
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 |
EcalTimeDigiProducer (const edm::ParameterSet ¶ms, edm::ProducesCollector, edm::ConsumesCollector &) | |
void | finalizeEvent (edm::Event &e, edm::EventSetup const &c) override |
void | initializeEvent (edm::Event const &e, edm::EventSetup const &c) override |
~EcalTimeDigiProducer () override | |
Public Member Functions inherited from DigiAccumulatorMixMod | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) |
virtual void | beginRun (edm::Run const &run, edm::EventSetup const &setup) |
DigiAccumulatorMixMod () | |
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) |
virtual void | StorePileupInformation (std::vector< int > &numInteractionList, std::vector< int > &bunchCrossingList, std::vector< float > &TrueInteractionList, std::vector< edm::EventID > &eventList, int bunchSpace) |
virtual | ~DigiAccumulatorMixMod () |
Private Types | |
typedef edm::Handle< std::vector< PCaloHit > > | HitsHandle |
Private Member Functions | |
void | accumulateCaloHits (HitsHandle const &ebHandle, HitsHandle const &eeHandle, int bunchCrossing) |
void | checkGeometry (const edm::EventSetup &eventSetup) |
void | updateGeometry () |
Private Attributes | |
EcalTimeMapDigitizer * | m_BarrelDigitizer |
const std::string | m_EBdigiCollection |
const std::string | m_EEdigiCollection |
EcalTimeMapDigitizer * | m_EndcapDigitizer |
const CaloGeometry * | m_Geometry |
const edm::InputTag | m_hitsProducerTagEB |
const edm::InputTag | m_hitsProducerTagEE |
const edm::EDGetTokenT< std::vector< PCaloHit > > | m_hitsProducerTokenEB |
const edm::EDGetTokenT< std::vector< PCaloHit > > | m_hitsProducerTokenEE |
int | m_timeLayerEB |
int | m_timeLayerEE |
Definition at line 31 of file EcalTimeDigiProducer.h.
|
private |
Definition at line 42 of file EcalTimeDigiProducer.h.
EcalTimeDigiProducer::EcalTimeDigiProducer | ( | const edm::ParameterSet & | params, |
edm::ProducesCollector | producesCollector, | ||
edm::ConsumesCollector & | sumes | ||
) |
Definition at line 23 of file EcalTimeDigiProducer.cc.
References gather_cfg::cout, EcalBarrel, EcalEndcap, m_BarrelDigitizer, m_EBdigiCollection, m_EEdigiCollection, m_EndcapDigitizer, m_timeLayerEB, m_timeLayerEE, edm::ProducesCollector::produces(), and EcalTimeMapDigitizer::setTimeLayerId().
|
override |
Definition at line 51 of file EcalTimeDigiProducer.cc.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 75 of file EcalTimeDigiProducer.cc.
References accumulateCaloHits(), gather_cfg::cout, MillePedeFileConverter_cfg::e, m_hitsProducerTokenEB, and m_hitsProducerTokenEE.
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 90 of file EcalTimeDigiProducer.cc.
References accumulateCaloHits(), gather_cfg::cout, MillePedeFileConverter_cfg::e, m_hitsProducerTagEB, and m_hitsProducerTagEE.
|
private |
Definition at line 61 of file EcalTimeDigiProducer.cc.
References EcalTimeMapDigitizer::add(), edm::HandleBase::isValid(), m_BarrelDigitizer, m_EndcapDigitizer, and edm::Handle< T >::product().
Referenced by accumulate().
|
private |
Definition at line 138 of file EcalTimeDigiProducer.cc.
References edm::EventSetup::get(), get, m_Geometry, and updateGeometry().
Referenced by initializeEvent().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 105 of file EcalTimeDigiProducer.cc.
References gather_cfg::cout, m_BarrelDigitizer, m_EBdigiCollection, m_EEdigiCollection, m_EndcapDigitizer, eostools::move(), and EcalTimeMapDigitizer::run().
|
overridevirtual |
Implements DigiAccumulatorMixMod.
Definition at line 53 of file EcalTimeDigiProducer.cc.
References checkGeometry(), EcalTimeMapDigitizer::initializeMap(), m_BarrelDigitizer, and m_EndcapDigitizer.
|
private |
Definition at line 151 of file EcalTimeDigiProducer.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, CaloGeometry::getSubdetectorGeometry(), m_BarrelDigitizer, m_EndcapDigitizer, m_Geometry, and EcalTimeMapDigitizer::setGeometry().
Referenced by checkGeometry().
|
private |
Definition at line 61 of file EcalTimeDigiProducer.h.
Referenced by accumulateCaloHits(), EcalTimeDigiProducer(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 49 of file EcalTimeDigiProducer.h.
Referenced by EcalTimeDigiProducer(), and finalizeEvent().
|
private |
Definition at line 50 of file EcalTimeDigiProducer.h.
Referenced by EcalTimeDigiProducer(), and finalizeEvent().
|
private |
Definition at line 62 of file EcalTimeDigiProducer.h.
Referenced by accumulateCaloHits(), EcalTimeDigiProducer(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 59 of file EcalTimeDigiProducer.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 51 of file EcalTimeDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 52 of file EcalTimeDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 53 of file EcalTimeDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 54 of file EcalTimeDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 57 of file EcalTimeDigiProducer.h.
Referenced by EcalTimeDigiProducer().
|
private |
Definition at line 58 of file EcalTimeDigiProducer.h.
Referenced by EcalTimeDigiProducer().