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 
10 
11 namespace edm {
12  class ConsumesCollector;
13  class Event;
14  class EventSetup;
15  class ParameterSet;
16 } // namespace edm
17 class PEcalTBInfo;
19 
21 public:
23  ~EcalTBDigiProducer() override;
24 
25  void initializeEvent(edm::Event const &, edm::EventSetup const &) override;
26  void finalizeEvent(edm::Event &, edm::EventSetup const &) override;
27 
28 private:
29  void cacheEBDigis(const EBDigiCollection *ebDigiPtr) const override;
30  void cacheEEDigis(const EEDigiCollection *eeDigiPtr) const override;
31 
32  void setPhaseShift(const DetId &detId);
33 
34  void fillTBTDCRawInfo(EcalTBTDCRawInfo &theTBTDCRawInfo);
35 
38 
42 
45 
47 
48  std::vector<EcalTBTDCRecInfoAlgo::EcalTBTDCRanges> m_tdcRanges;
50 
52 
53  mutable std::unique_ptr<EBDigiCollection> m_ebDigis;
54  mutable std::unique_ptr<EEDigiCollection> m_eeDigis;
55  mutable std::unique_ptr<EcalTBTDCRawInfo> m_TDCproduct;
56 };
57 
58 #endif
EcalTBTDCRecInfoAlgo.h
EcalDigiProducer.h
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
edm
HLT enums.
Definition: AlignableModifier.h:19
EcalTBDigiProducer::m_theTBReadout
EcalTBReadout * m_theTBReadout
Definition: EcalTBDigiProducer.h:37
PileUpEventPrincipal
Definition: PileUpEventPrincipal.h:19
EcalTBDigiProducer::~EcalTBDigiProducer
~EcalTBDigiProducer() override
Definition: EcalTBDigiProducer.cc:62
EcalTBDigiProducer::cacheEBDigis
void cacheEBDigis(const EBDigiCollection *ebDigiPtr) const override
Definition: EcalTBDigiProducer.cc:143
EcalTBDigiProducer::initializeEvent
void initializeEvent(edm::Event const &, edm::EventSetup const &) override
Definition: EcalTBDigiProducer.cc:64
ProducesCollector.h
EcalTBDigiProducer::m_ebDigis
std::unique_ptr< EBDigiCollection > m_ebDigis
Definition: EcalTBDigiProducer.h:53
DetId
Definition: DetId.h:17
EcalTBDigiProducer::m_tdcRanges
std::vector< EcalTBTDCRecInfoAlgo::EcalTBTDCRanges > m_tdcRanges
Definition: EcalTBDigiProducer.h:48
Event
EcalTBDigiProducer::m_doReadout
bool m_doReadout
Definition: EcalTBDigiProducer.h:46
EcalTBDigiProducer::fillTBTDCRawInfo
void fillTBTDCRawInfo(EcalTBTDCRawInfo &theTBTDCRawInfo)
Definition: EcalTBDigiProducer.cc:129
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalTrigTowerConstituentsMap
Definition: EcalTrigTowerConstituentsMap.h:19
edm::ParameterSet
Definition: ParameterSet.h:47
EcalTBDigiProducer::m_doPhaseShift
bool m_doPhaseShift
Definition: EcalTBDigiProducer.h:43
ParameterSet
Definition: Functions.h:16
EBDigiCollection
Definition: EcalDigiCollections.h:56
EcalTBTDCRawInfo.h
EcalTBDigiProducer::m_TDCproduct
std::unique_ptr< EcalTBTDCRawInfo > m_TDCproduct
Definition: EcalTBDigiProducer.h:55
EEDigiCollection
Definition: EcalDigiCollections.h:69
PEcalTBInfo
Definition: PEcalTBInfo.h:18
EcalTBTDCRawInfo
Definition: EcalTBTDCRawInfo.h:13
EcalTBDigiProducer
Definition: EcalTBDigiProducer.h:20
edm::EventSetup
Definition: EventSetup.h:58
EcalTBDigiProducer::m_EBdigiFinalTag
std::string m_EBdigiFinalTag
Definition: EcalTBDigiProducer.h:40
EcalTBReadout.h
EcalTBReadout
Definition: EcalTBReadout.h:19
EcalTrigTowerConstituentsMap.h
EcalDigiProducer
Definition: EcalDigiProducer.h:59
EcalTBDigiProducer::finalizeEvent
void finalizeEvent(edm::Event &, edm::EventSetup const &) override
Definition: EcalTBDigiProducer.cc:86
EcalTBDigiProducer::EcalTBDigiProducer
EcalTBDigiProducer(const edm::ParameterSet &params, edm::ProducesCollector, edm::ConsumesCollector &iC)
Definition: EcalTBDigiProducer.cc:17
EcalTBDigiProducer::m_eeDigis
std::unique_ptr< EEDigiCollection > m_eeDigis
Definition: EcalTBDigiProducer.h:54
edm::ProducesCollector
Definition: ProducesCollector.h:43
EcalTBDigiProducer::cacheEEDigis
void cacheEEDigis(const EEDigiCollection *eeDigiPtr) const override
Definition: EcalTBDigiProducer.cc:148
EcalTBDigiProducer::m_tunePhaseShift
double m_tunePhaseShift
Definition: EcalTBDigiProducer.h:51
EcalTBDigiProducer::m_ecalTBInfoLabel
std::string m_ecalTBInfoLabel
Definition: EcalTBDigiProducer.h:39
EcalTBDigiProducer::m_theTTmap
const EcalTrigTowerConstituentsMap m_theTTmap
Definition: EcalTBDigiProducer.h:36
EventSetup
EcalTBDigiProducer::m_EBdigiTempTag
std::string m_EBdigiTempTag
Definition: EcalTBDigiProducer.h:41
EcalTBDigiProducer::m_use2004OffsetConvention
bool m_use2004OffsetConvention
Definition: EcalTBDigiProducer.h:49
edm::Event
Definition: Event.h:73
EcalTBDigiProducer::m_thisPhaseShift
double m_thisPhaseShift
Definition: EcalTBDigiProducer.h:44
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
EcalTBDigiProducer::setPhaseShift
void setPhaseShift(const DetId &detId)
Definition: EcalTBDigiProducer.cc:110