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 
17 
18 #include <vector>
19 
20 class ESDigitizer;
21 
22 class CaloGeometry;
26 
27 namespace edm {
28  template <typename T>
29  class Handle;
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, int bunchCrossing);
45 
47 
48  void updateGeometry();
49 
55 
56 private:
59  const bool m_componentWaveform;
62 };
63 
64 #endif
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
ComponentShapeCollection * m_ComponentShapes
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
HLT enums.
const CaloGeometry * m_Geometry
void accumulateCaloHits(HitsHandle const &ebHandle, int bunchCrossing)
void checkGeometry(const edm::EventSetup &eventSetup)
const std::string m_EBdigiCollection