CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalTimeDigiProducer.h
Go to the documentation of this file.
1 #ifndef SimCalorimetry_EcalSimProducers_EcalTimeDigiProducer_h
2 #define SimCalorimetry_EcalSimProducers_EcalTimeDigiProducer_h
3 
5 
16 
17 #include <vector>
18 
19 class ESDigitizer;
20 
21 class CaloGeometry;
25 
26 namespace edm {
27  template <typename T>
28  class Handle;
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 
54 
55 private:
58 
60 };
61 
62 #endif
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
const edm::EventSetup & c
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > m_geometryToken
EcalTimeDigiProducer(const edm::ParameterSet &params, edm::ProducesCollector, edm::ConsumesCollector &)
edm::ESWatcher< CaloGeometryRecord > m_geometryWatcher
const edm::EDGetTokenT< std::vector< PCaloHit > > m_hitsProducerTokenEB
const edm::InputTag m_hitsProducerTagEB
edm::Handle< std::vector< PCaloHit > > HitsHandle
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
EcalTimeMapDigitizer * m_BarrelDigitizer
const CaloGeometry * m_Geometry
void accumulateCaloHits(HitsHandle const &ebHandle, int bunchCrossing)
void checkGeometry(const edm::EventSetup &eventSetup)
const std::string m_EBdigiCollection