CMS 3D CMS Logo

EcalTBDigiProducer.h
Go to the documentation of this file.
1 #ifndef SimCalorimetry_EcalTestBeam_EcalTBDigiProducer_h
2 #define SimCalorimetry_EcalTestBeam_EcalTBDigiProducer_h
3 
9 
10 namespace edm {
11  class ConsumesCollector;
12  namespace stream {
13  class EDProducerBase;
14  }
15  class Event;
16  class EventSetup;
17  class ParameterSet;
18 }
19 class PEcalTBInfo;
21 
23 {
24  public:
25 
27  virtual ~EcalTBDigiProducer() ;
28 
29 
30  virtual void initializeEvent(edm::Event const&, edm::EventSetup const&);
31  virtual void finalizeEvent(edm::Event&, edm::EventSetup const&);
32 
33  private:
34 
35  virtual void cacheEBDigis( const EBDigiCollection* ebDigiPtr ) const ;
36  virtual void cacheEEDigis( const EEDigiCollection* eeDigiPtr ) const ;
37 
38  void setPhaseShift( const DetId& detId ) ;
39 
40  void fillTBTDCRawInfo( EcalTBTDCRawInfo& theTBTDCRawInfo ) ;
41 
44 
48 
51 
52  bool m_doReadout ;
53 
54  std::vector<EcalTBTDCRecInfoAlgo::EcalTBTDCRanges> m_tdcRanges ;
56 
58 
59  mutable std::unique_ptr<EBDigiCollection> m_ebDigis ;
60  mutable std::unique_ptr<EEDigiCollection> m_eeDigis ;
61  mutable std::unique_ptr<EcalTBTDCRawInfo> m_TDCproduct ;
62 };
63 
64 #endif
const EcalTrigTowerConstituentsMap m_theTTmap
std::unique_ptr< EEDigiCollection > m_eeDigis
std::vector< EcalTBTDCRecInfoAlgo::EcalTBTDCRanges > m_tdcRanges
std::unique_ptr< EBDigiCollection > m_ebDigis
std::string m_EBdigiFinalTag
Definition: DetId.h:18
EcalTBReadout * m_theTBReadout
HLT enums.
std::string m_EBdigiTempTag
std::unique_ptr< EcalTBTDCRawInfo > m_TDCproduct
std::string m_ecalTBInfoLabel