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 * 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