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 
12 
14 
15 #include <vector>
16 
17 class ESDigitizer;
18 
19 class CaloGeometry;
23 
24 namespace edm {
25  class Event;
26  class EventSetup;
27  template <typename T>
28  class Handle;
29  class ParameterSet;
30 } // namespace edm
31 
33 public:
35  ~EcalTimeDigiProducer() override;
36 
37  void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override;
38  void accumulate(edm::Event const &e, edm::EventSetup const &c) override;
39  void accumulate(PileUpEventPrincipal const &e, edm::EventSetup const &c, edm::StreamID const &) override;
40  void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override;
41 
42 private:
44  void accumulateCaloHits(HitsHandle const &ebHandle, HitsHandle const &eeHandle, int bunchCrossing);
45 
46  void checkGeometry(const edm::EventSetup &eventSetup);
47 
48  void updateGeometry();
49 
56 
57 private:
61 
64 };
65 
66 #endif
EcalTimeMapDigitizer * m_EndcapDigitizer
const edm::EDGetTokenT< std::vector< PCaloHit > > m_hitsProducerTokenEE
const edm::EDGetTokenT< std::vector< PCaloHit > > m_hitsProducerTokenEB
const edm::InputTag m_hitsProducerTagEB
const std::string m_EEdigiCollection
edm::Handle< std::vector< PCaloHit > > HitsHandle
EcalTimeMapDigitizer * m_BarrelDigitizer
HLT enums.
const CaloGeometry * m_Geometry
bool checkGeometry(bool=true)
const edm::InputTag m_hitsProducerTagEE
const std::string m_EBdigiCollection