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  class ProducerBase;
13  class Event;
14  class EventSetup;
15  class ParameterSet;
16 }
17 class PEcalTBInfo;
19 
21 {
22  public:
23 
25  ~EcalTBDigiProducer() override ;
26 
27 
28  void initializeEvent(edm::Event const&, edm::EventSetup const&) override;
29  void finalizeEvent(edm::Event&, edm::EventSetup const&) override;
30 
31  private:
32 
33  void cacheEBDigis( const EBDigiCollection* ebDigiPtr ) const override ;
34  void cacheEEDigis( const EEDigiCollection* eeDigiPtr ) const override ;
35 
36  void setPhaseShift( const DetId& detId ) ;
37 
38  void fillTBTDCRawInfo( EcalTBTDCRawInfo& theTBTDCRawInfo ) ;
39 
42 
46 
49 
50  bool m_doReadout ;
51 
52  std::vector<EcalTBTDCRecInfoAlgo::EcalTBTDCRanges> m_tdcRanges ;
54 
56 
57  mutable std::unique_ptr<EBDigiCollection> m_ebDigis ;
58  mutable std::unique_ptr<EEDigiCollection> m_eeDigis ;
59  mutable std::unique_ptr<EcalTBTDCRawInfo> m_TDCproduct ;
60 };
61 
62 #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