#include <EcalTimeDigiProducer.h>
Public Member Functions | |
virtual void | accumulate (edm::Event const &e, edm::EventSetup const &c) |
virtual void | accumulate (PileUpEventPrincipal const &e, edm::EventSetup const &c, edm::StreamID const &) |
EcalTimeDigiProducer (const edm::ParameterSet ¶ms, edm::stream::EDProducerBase &mixMod, edm::ConsumesCollector &) | |
virtual void | finalizeEvent (edm::Event &e, edm::EventSetup const &c) |
virtual void | initializeEvent (edm::Event const &e, edm::EventSetup const &c) |
virtual | ~EcalTimeDigiProducer () |
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 32 of file EcalTimeDigiProducer.h.
|
private |
Definition at line 45 of file EcalTimeDigiProducer.h.
EcalTimeDigiProducer::EcalTimeDigiProducer | ( | const edm::ParameterSet & | params, |
edm::stream::EDProducerBase & | mixMod, | ||
edm::ConsumesCollector & | sumes | ||
) |
Definition at line 24 of file EcalTimeDigiProducer.cc.
References gather_cfg::cout, EcalBarrel, EcalEndcap, m_BarrelDigitizer, m_EBdigiCollection, m_EEdigiCollection, m_EndcapDigitizer, m_timeLayerEB, m_timeLayerEE, and EcalTimeMapDigitizer::setTimeLayerId().
|
virtual |
Definition at line 50 of file EcalTimeDigiProducer.cc.
|
virtual |
Implements DigiAccumulatorMixMod.
Definition at line 77 of file EcalTimeDigiProducer.cc.
References accumulateCaloHits(), gather_cfg::cout, edm::Event::getByToken(), m_hitsProducerTokenEB, and m_hitsProducerTokenEE.
|
virtual |
Implements DigiAccumulatorMixMod.
Definition at line 93 of file EcalTimeDigiProducer.cc.
References accumulateCaloHits(), PileUpEventPrincipal::bunchCrossing(), gather_cfg::cout, PileUpEventPrincipal::getByLabel(), m_hitsProducerTagEB, and m_hitsProducerTagEE.
|
private |
Definition at line 64 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 141 of file EcalTimeDigiProducer.cc.
References edm::EventSetup::get(), m_Geometry, and updateGeometry().
Referenced by initializeEvent().
|
virtual |
Implements DigiAccumulatorMixMod.
Definition at line 107 of file EcalTimeDigiProducer.cc.
References gather_cfg::cout, m_BarrelDigitizer, m_EBdigiCollection, m_EEdigiCollection, m_EndcapDigitizer, eostools::move(), and EcalTimeMapDigitizer::run().
|
virtual |
Implements DigiAccumulatorMixMod.
Definition at line 55 of file EcalTimeDigiProducer.cc.
References checkGeometry(), EcalTimeMapDigitizer::initializeMap(), m_BarrelDigitizer, and m_EndcapDigitizer.
|
private |
Definition at line 157 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 64 of file EcalTimeDigiProducer.h.
Referenced by accumulateCaloHits(), EcalTimeDigiProducer(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 52 of file EcalTimeDigiProducer.h.
Referenced by EcalTimeDigiProducer(), and finalizeEvent().
|
private |
Definition at line 53 of file EcalTimeDigiProducer.h.
Referenced by EcalTimeDigiProducer(), and finalizeEvent().
|
private |
Definition at line 65 of file EcalTimeDigiProducer.h.
Referenced by accumulateCaloHits(), EcalTimeDigiProducer(), finalizeEvent(), initializeEvent(), and updateGeometry().
|
private |
Definition at line 62 of file EcalTimeDigiProducer.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 54 of file EcalTimeDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 55 of file EcalTimeDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 56 of file EcalTimeDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 57 of file EcalTimeDigiProducer.h.
Referenced by accumulate().
|
private |
Definition at line 60 of file EcalTimeDigiProducer.h.
Referenced by EcalTimeDigiProducer().
|
private |
Definition at line 61 of file EcalTimeDigiProducer.h.
Referenced by EcalTimeDigiProducer().