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 
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
EcalTBDigiProducer::m_geometryToken
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > m_geometryToken
Definition: EcalTBDigiProducer.h:43
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:38
PileUpEventPrincipal
Definition: PileUpEventPrincipal.h:19
EcalTBDigiProducer::~EcalTBDigiProducer
~EcalTBDigiProducer() override
Definition: EcalTBDigiProducer.cc:61
EcalTBDigiProducer::cacheEBDigis
void cacheEBDigis(const EBDigiCollection *ebDigiPtr) const override
Definition: EcalTBDigiProducer.cc:140
EcalTBDigiProducer::initializeEvent
void initializeEvent(edm::Event const &, edm::EventSetup const &) override
Definition: EcalTBDigiProducer.cc:63
ProducesCollector.h
EcalTBDigiProducer::m_ebDigis
std::unique_ptr< EBDigiCollection > m_ebDigis
Definition: EcalTBDigiProducer.h:55
DetId
Definition: DetId.h:17
EcalTBDigiProducer::m_tdcRanges
std::vector< EcalTBTDCRecInfoAlgo::EcalTBTDCRanges > m_tdcRanges
Definition: EcalTBDigiProducer.h:50
Event
EcalTBDigiProducer::m_doReadout
bool m_doReadout
Definition: EcalTBDigiProducer.h:48
EcalTBDigiProducer::fillTBTDCRawInfo
void fillTBTDCRawInfo(EcalTBTDCRawInfo &theTBTDCRawInfo)
Definition: EcalTBDigiProducer.cc:126
CaloGeometryRecord.h
EcalTrigTowerConstituentsMap
Definition: EcalTrigTowerConstituentsMap.h:19
edm::ParameterSet
Definition: ParameterSet.h:47
EcalTBDigiProducer::m_doPhaseShift
bool m_doPhaseShift
Definition: EcalTBDigiProducer.h:45
ParameterSet
Definition: Functions.h:16
EBDigiCollection
Definition: EcalDigiCollections.h:56
EcalTBTDCRawInfo.h
EcalTBDigiProducer::m_TDCproduct
std::unique_ptr< EcalTBTDCRawInfo > m_TDCproduct
Definition: EcalTBDigiProducer.h:57
EEDigiCollection
Definition: EcalDigiCollections.h:69
PEcalTBInfo
Definition: PEcalTBInfo.h:18
EcalTBTDCRawInfo
Definition: EcalTBTDCRawInfo.h:13
EcalTBDigiProducer
Definition: EcalTBDigiProducer.h:21
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalTBDigiProducer::m_EBdigiFinalTag
std::string m_EBdigiFinalTag
Definition: EcalTBDigiProducer.h:41
EcalTBReadout.h
EcalTBReadout
Definition: EcalTBReadout.h:19
EcalTrigTowerConstituentsMap.h
EcalDigiProducer
Definition: EcalDigiProducer.h:79
EcalTBDigiProducer::finalizeEvent
void finalizeEvent(edm::Event &, edm::EventSetup const &) override
Definition: EcalTBDigiProducer.cc:83
EcalTBDigiProducer::EcalTBDigiProducer
EcalTBDigiProducer(const edm::ParameterSet &params, edm::ProducesCollector, edm::ConsumesCollector &iC)
Definition: EcalTBDigiProducer.cc:16
EcalTBDigiProducer::m_eeDigis
std::unique_ptr< EEDigiCollection > m_eeDigis
Definition: EcalTBDigiProducer.h:56
edm::ProducesCollector
Definition: ProducesCollector.h:43
EcalTBDigiProducer::cacheEEDigis
void cacheEEDigis(const EEDigiCollection *eeDigiPtr) const override
Definition: EcalTBDigiProducer.cc:145
EcalTBDigiProducer::m_tunePhaseShift
double m_tunePhaseShift
Definition: EcalTBDigiProducer.h:53
EcalTBDigiProducer::m_ecalTBInfoLabel
std::string m_ecalTBInfoLabel
Definition: EcalTBDigiProducer.h:40
EcalTBDigiProducer::m_theTTmap
const EcalTrigTowerConstituentsMap m_theTTmap
Definition: EcalTBDigiProducer.h:37
EventSetup
EcalTBDigiProducer::m_EBdigiTempTag
std::string m_EBdigiTempTag
Definition: EcalTBDigiProducer.h:42
EcalTBDigiProducer::m_use2004OffsetConvention
bool m_use2004OffsetConvention
Definition: EcalTBDigiProducer.h:51
edm::Event
Definition: Event.h:73
EcalTBDigiProducer::m_thisPhaseShift
double m_thisPhaseShift
Definition: EcalTBDigiProducer.h:46
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
EcalTBDigiProducer::setPhaseShift
void setPhaseShift(const DetId &detId)
Definition: EcalTBDigiProducer.cc:107