CMS 3D CMS Logo

EcalTimeDigiProducer.h
Go to the documentation of this file.
1 #ifndef SimCalorimetry_EcalSimProducers_EcalTimeDigiProducer_h
2 #define SimCalorimetry_EcalSimProducers_EcalTimeDigiProducer_h
3 
5 
13 
14 #include <vector>
15 
16 class ESDigitizer;
17 
18 class CaloGeometry;
22 
23 namespace edm {
24  class Event;
25  class EventSetup;
26  template <typename T>
27  class Handle;
28  class ParameterSet;
29 } // namespace edm
30 
32 public:
34  ~EcalTimeDigiProducer() override;
35 
36  void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override;
37  void accumulate(edm::Event const &e, edm::EventSetup const &c) override;
38  void accumulate(PileUpEventPrincipal const &e, edm::EventSetup const &c, edm::StreamID const &) override;
39  void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override;
40 
41 private:
43  void accumulateCaloHits(HitsHandle const &ebHandle, HitsHandle const &eeHandle, int bunchCrossing);
44 
45  void checkGeometry(const edm::EventSetup &eventSetup);
46 
47  void updateGeometry();
48 
55 
56 private:
60 
63 };
64 
65 #endif
EcalTimeMapDigitizer
Definition: EcalTimeMapDigitizer.h:19
edm::StreamID
Definition: StreamID.h:30
EcalTimeDigiProducer::initializeEvent
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
Definition: EcalTimeDigiProducer.cc:53
EcalTimeDigiProducer::m_Geometry
const CaloGeometry * m_Geometry
Definition: EcalTimeDigiProducer.h:59
EcalTimeDigiProducer::m_hitsProducerTokenEE
const edm::EDGetTokenT< std::vector< PCaloHit > > m_hitsProducerTokenEE
Definition: EcalTimeDigiProducer.h:54
EcalTimeDigiProducer::updateGeometry
void updateGeometry()
Definition: EcalTimeDigiProducer.cc:151
EcalTimeDigiProducer::m_timeLayerEB
int m_timeLayerEB
Definition: EcalTimeDigiProducer.h:57
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
Handle
edm::EDGetTokenT
Definition: EDGetToken.h:33
edm
HLT enums.
Definition: AlignableModifier.h:19
EcalTimeDigiProducer::accumulateCaloHits
void accumulateCaloHits(HitsHandle const &ebHandle, HitsHandle const &eeHandle, int bunchCrossing)
Definition: EcalTimeDigiProducer.cc:61
EcalTimeDigiProducer::m_EEdigiCollection
const std::string m_EEdigiCollection
Definition: EcalTimeDigiProducer.h:50
PileUpEventPrincipal
Definition: PileUpEventPrincipal.h:19
EcalDigitizerTraits.h
EcalTimeDigiProducer::m_hitsProducerTagEB
const edm::InputTag m_hitsProducerTagEB
Definition: EcalTimeDigiProducer.h:51
edm::Handle
Definition: AssociativeIterator.h:50
EcalTimeDigiProducer::HitsHandle
edm::Handle< std::vector< PCaloHit > > HitsHandle
Definition: EcalTimeDigiProducer.h:42
ProducesCollector.h
CaloGeometry
Definition: CaloGeometry.h:21
EcalSimParameterMap
Definition: EcalSimParameterMap.h:11
DigiAccumulatorMixMod.h
EcalDigiCollections.h
Event
DigiAccumulatorMixMod
Definition: DigiAccumulatorMixMod.h:41
EDGetToken.h
EcalTimeDigiProducer::m_hitsProducerTokenEB
const edm::EDGetTokenT< std::vector< PCaloHit > > m_hitsProducerTokenEB
Definition: EcalTimeDigiProducer.h:53
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Error.h
EcalTimeDigiProducer::~EcalTimeDigiProducer
~EcalTimeDigiProducer() override
Definition: EcalTimeDigiProducer.cc:51
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
PCaloHit.h
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
EcalTimeDigiProducer::m_BarrelDigitizer
EcalTimeMapDigitizer * m_BarrelDigitizer
Definition: EcalTimeDigiProducer.h:61
edm::ProducesCollector
Definition: ProducesCollector.h:43
ESDigitizer
Definition: ESDigitizer.h:14
EcalTimeDigiProducer::accumulate
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
Definition: EcalTimeDigiProducer.cc:75
EcalTimeDigiProducer::checkGeometry
void checkGeometry(const edm::EventSetup &eventSetup)
Definition: EcalTimeDigiProducer.cc:138
EcalTimeDigiProducer::finalizeEvent
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
Definition: EcalTimeDigiProducer.cc:105
EcalTimeDigiProducer
Definition: EcalTimeDigiProducer.h:31
ConsumesCollector.h
EventSetup
EcalTimeDigiProducer::m_EndcapDigitizer
EcalTimeMapDigitizer * m_EndcapDigitizer
Definition: EcalTimeDigiProducer.h:62
EcalTimeDigiProducer::m_EBdigiCollection
const std::string m_EBdigiCollection
Definition: EcalTimeDigiProducer.h:49
edm::Event
Definition: Event.h:73
EcalTimeDigiProducer::m_hitsProducerTagEE
const edm::InputTag m_hitsProducerTagEE
Definition: EcalTimeDigiProducer.h:52
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
EcalTimeDigiProducer::m_timeLayerEE
int m_timeLayerEE
Definition: EcalTimeDigiProducer.h:58
EcalTimeDigiProducer::EcalTimeDigiProducer
EcalTimeDigiProducer(const edm::ParameterSet &params, edm::ProducesCollector, edm::ConsumesCollector &)
Definition: EcalTimeDigiProducer.cc:23
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37