CMS 3D CMS Logo

HcalSiPMCharacteristicsPopConAnalyzer.cc
Go to the documentation of this file.
4 
5 class HcalSiPMCharacteristicsPopConAnalyzer : public popcon::PopConAnalyzer<HcalSiPMCharacteristicsHandler> {
6 public:
8 
12  m_source(pset.getParameter<edm::ParameterSet>("Source")),
14 
15 private:
16  void endJob() override {
18  write();
19  }
20 
21  void analyze(const edm::Event& ev, const edm::EventSetup& esetup) override {
22  //Using ES to get the data:
23 
25  }
26 
28 
29 private:
33 
35 };
36 
HcalSiPMCharacteristicsPopConAnalyzer::SourceHandler
HcalSiPMCharacteristicsHandler SourceHandler
Definition: HcalSiPMCharacteristicsPopConAnalyzer.cc:7
HcalSiPMCharacteristicsPopConAnalyzer
Definition: HcalSiPMCharacteristicsPopConAnalyzer.cc:5
HcalSiPMCharacteristicsRcd
Definition: HcalSiPMCharacteristicsRcd.h:4
HcalSiPMCharacteristicsPopConAnalyzer::myDBObject
HcalSiPMCharacteristics * myDBObject
Definition: HcalSiPMCharacteristicsPopConAnalyzer.cc:34
HcalSiPMCharacteristicsPopConAnalyzer::HcalSiPMCharacteristicsPopConAnalyzer
HcalSiPMCharacteristicsPopConAnalyzer(const edm::ParameterSet &pset)
Definition: HcalSiPMCharacteristicsPopConAnalyzer.cc:9
HcalSiPMCharacteristicsHandler.h
HcalSiPMCharacteristicsHandler::initObject
void initObject(HcalSiPMCharacteristics *)
Definition: HcalSiPMCharacteristicsHandler.cc:34
HcalSiPMCharacteristicsPopConAnalyzer::write
void write()
Definition: HcalSiPMCharacteristicsPopConAnalyzer.cc:27
edm
HLT enums.
Definition: AlignableModifier.h:19
HcalSiPMCharacteristicsPopConAnalyzer::m_tok
edm::ESGetToken< HcalSiPMCharacteristics, HcalSiPMCharacteristicsRcd > m_tok
Definition: HcalSiPMCharacteristicsPopConAnalyzer.cc:32
HcalSiPMCharacteristicsPopConAnalyzer::m_populator
popcon::PopCon m_populator
Definition: HcalSiPMCharacteristicsPopConAnalyzer.cc:30
HcalSiPMCharacteristicsPopConAnalyzer::analyze
void analyze(const edm::Event &ev, const edm::EventSetup &esetup) override
Definition: HcalSiPMCharacteristicsPopConAnalyzer.cc:21
MakerMacros.h
HcalSiPMCharacteristicsPopConAnalyzer::endJob
void endJob() override
Definition: HcalSiPMCharacteristicsPopConAnalyzer.cc:16
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::ParameterSet
Definition: ParameterSet.h:47
popcon::PopCon::write
void write(Source const &source)
Definition: PopCon.h:107
ParameterSet
Definition: Functions.h:16
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< HcalSiPMCharacteristics, HcalSiPMCharacteristicsRcd >
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
popcon
Definition: Exception.h:6
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
edm::EDConsumerBase::esConsumes
auto esConsumes()
Definition: EDConsumerBase.h:202
popcon::PopCon
Definition: PopCon.h:29
HcalSiPMCharacteristicsPopConAnalyzer::m_source
SourceHandler m_source
Definition: HcalSiPMCharacteristicsPopConAnalyzer.cc:31
edm::Event
Definition: Event.h:73
PopConAnalyzer.h
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
HcalSiPMCharacteristicsHandler
Definition: HcalSiPMCharacteristicsHandler.h:20
popcon::PopConAnalyzer< HcalSiPMCharacteristicsHandler >::PopConAnalyzer
PopConAnalyzer(const edm::ParameterSet &pset)
Definition: PopConAnalyzer.h:21
popcon::PopConAnalyzer
Definition: PopConAnalyzer.h:17
HcalSiPMCharacteristics
Definition: HcalSiPMCharacteristics.h:18