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 
4 
6 
13 
15 
16 #include <vector>
17 
18 class ESDigitizer ;
19 
20 class CaloGeometry ;
21 class EcalSimParameterMap ;
24 
25 namespace edm {
26  class Event;
27  class EventSetup;
28  template<typename T> class Handle;
29  class ParameterSet;
30 }
31 
33  public:
34 
36  virtual ~EcalTimeDigiProducer();
37 
38  virtual void initializeEvent(edm::Event const& e, edm::EventSetup const& c);
39  virtual void accumulate(edm::Event const& e, edm::EventSetup const& c);
40  virtual void accumulate(PileUpEventPrincipal const& e, edm::EventSetup const& c, edm::StreamID const&);
41  virtual void finalizeEvent(edm::Event& e, edm::EventSetup const& c);
42 
43  private:
44 
46  void accumulateCaloHits(HitsHandle const& ebHandle, HitsHandle const& eeHandle, int bunchCrossing);
47 
48  void checkGeometry(const edm::EventSetup& eventSetup) ;
49 
50  void updateGeometry() ;
51 
58 
59  private:
63 
66 };
67 
68 #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