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, int bunchCrossing);
44 
45  void checkGeometry(const edm::EventSetup &eventSetup);
46 
47  void updateGeometry();
48 
52 
53 private:
56 
58 };
59 
60 #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:41
EcalTimeDigiProducer::m_Geometry
const CaloGeometry * m_Geometry
Definition: EcalTimeDigiProducer.h:55
EcalTimeDigiProducer::updateGeometry
void updateGeometry()
Definition: EcalTimeDigiProducer.cc:116
EcalTimeDigiProducer::m_timeLayerEB
int m_timeLayerEB
Definition: EcalTimeDigiProducer.h:54
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
Handle
edm::EDGetTokenT
Definition: EDGetToken.h:33
edm
HLT enums.
Definition: AlignableModifier.h:19
PileUpEventPrincipal
Definition: PileUpEventPrincipal.h:19
EcalDigitizerTraits.h
EcalTimeDigiProducer::m_hitsProducerTagEB
const edm::InputTag m_hitsProducerTagEB
Definition: EcalTimeDigiProducer.h:50
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:51
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Error.h
EcalTimeDigiProducer::~EcalTimeDigiProducer
~EcalTimeDigiProducer() override
Definition: EcalTimeDigiProducer.cc:39
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
PCaloHit.h
edm::EventSetup
Definition: EventSetup.h:58
EcalTimeDigiProducer::m_BarrelDigitizer
EcalTimeMapDigitizer * m_BarrelDigitizer
Definition: EcalTimeDigiProducer.h:57
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:56
EcalTimeDigiProducer::accumulateCaloHits
void accumulateCaloHits(HitsHandle const &ebHandle, int bunchCrossing)
Definition: EcalTimeDigiProducer.cc:48
EcalTimeDigiProducer::checkGeometry
void checkGeometry(const edm::EventSetup &eventSetup)
Definition: EcalTimeDigiProducer.cc:103
EcalTimeDigiProducer::finalizeEvent
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
Definition: EcalTimeDigiProducer.cc:80
EcalTimeDigiProducer
Definition: EcalTimeDigiProducer.h:31
ConsumesCollector.h
EventSetup
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
EcalTimeDigiProducer::m_EBdigiCollection
const std::string m_EBdigiCollection
Definition: EcalTimeDigiProducer.h:49
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
EcalTimeDigiProducer::EcalTimeDigiProducer
EcalTimeDigiProducer(const edm::ParameterSet &params, edm::ProducesCollector, edm::ConsumesCollector &)
Definition: EcalTimeDigiProducer.cc:18
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37