CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalTBDigiProducer.h
Go to the documentation of this file.
1 #ifndef SimCalorimetry_EcalTestBeam_EcalTBDigiProducer_h
2 #define SimCalorimetry_EcalTestBeam_EcalTBDigiProducer_h
3 
11 
12 namespace edm {
13  class ConsumesCollector;
14  class Event;
15  class EventSetup;
16  class ParameterSet;
17 } // namespace edm
18 class PEcalTBInfo;
20 
22 public:
24  ~EcalTBDigiProducer() override;
25 
26  void initializeEvent(edm::Event const &, edm::EventSetup const &) override;
27  void finalizeEvent(edm::Event &, edm::EventSetup const &) override;
28 
29 private:
30  void cacheEBDigis(const EBDigiCollection *ebDigiPtr) const override;
31  void cacheEEDigis(const EEDigiCollection *eeDigiPtr) const override;
32 
33  void setPhaseShift(const DetId &detId);
34 
35  void fillTBTDCRawInfo(EcalTBTDCRawInfo &theTBTDCRawInfo);
36 
39 
44 
47 
49 
50  std::vector<EcalTBTDCRecInfoAlgo::EcalTBTDCRanges> m_tdcRanges;
52 
54 
55  mutable std::unique_ptr<EBDigiCollection> m_ebDigis;
56  mutable std::unique_ptr<EEDigiCollection> m_eeDigis;
57  mutable std::unique_ptr<EcalTBTDCRawInfo> m_TDCproduct;
58 };
59 
60 #endif
const EcalTrigTowerConstituentsMap m_theTTmap
std::unique_ptr< EEDigiCollection > m_eeDigis
void cacheEBDigis(const EBDigiCollection *ebDigiPtr) const override
std::vector< EcalTBTDCRecInfoAlgo::EcalTBTDCRanges > m_tdcRanges
void fillTBTDCRawInfo(EcalTBTDCRawInfo &theTBTDCRawInfo)
std::unique_ptr< EBDigiCollection > m_ebDigis
void setPhaseShift(const DetId &detId)
void cacheEEDigis(const EEDigiCollection *eeDigiPtr) const override
std::string m_EBdigiFinalTag
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > m_geometryToken
void finalizeEvent(edm::Event &, edm::EventSetup const &) override
void initializeEvent(edm::Event const &, edm::EventSetup const &) override
Definition: DetId.h:17
EcalTBDigiProducer(const edm::ParameterSet &params, edm::ProducesCollector, edm::ConsumesCollector &iC)
EcalTBReadout * m_theTBReadout
~EcalTBDigiProducer() override
std::string m_EBdigiTempTag
std::unique_ptr< EcalTBTDCRawInfo > m_TDCproduct
std::string m_ecalTBInfoLabel