CMS 3D CMS Logo

HcalSiPMParametersPopConAnalyzer.cc
Go to the documentation of this file.
4 
5 class HcalSiPMParametersPopConAnalyzer : public popcon::PopConAnalyzer<HcalSiPMParametersHandler> {
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 
HcalSiPMParametersPopConAnalyzer::SourceHandler
HcalSiPMParametersHandler SourceHandler
Definition: HcalSiPMParametersPopConAnalyzer.cc:7
HcalSiPMParametersHandler.h
edm
HLT enums.
Definition: AlignableModifier.h:19
HcalSiPMParametersPopConAnalyzer::myDBObject
HcalSiPMParameters * myDBObject
Definition: HcalSiPMParametersPopConAnalyzer.cc:34
HcalSiPMParametersHandler
Definition: HcalSiPMParametersHandler.h:20
HcalSiPMParametersPopConAnalyzer::analyze
void analyze(const edm::Event &ev, const edm::EventSetup &esetup) override
Definition: HcalSiPMParametersPopConAnalyzer.cc:21
HcalSiPMParametersPopConAnalyzer::write
void write()
Definition: HcalSiPMParametersPopConAnalyzer.cc:27
MakerMacros.h
HcalSiPMParametersRcd
Definition: HcalSiPMParametersRcd.h:7
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
HcalSiPMParametersPopConAnalyzer::endJob
void endJob() override
Definition: HcalSiPMParametersPopConAnalyzer.cc:16
edm::ParameterSet
Definition: ParameterSet.h:47
popcon::PopCon::write
void write(Source const &source)
Definition: PopCon.h:107
HcalSiPMParametersPopConAnalyzer::HcalSiPMParametersPopConAnalyzer
HcalSiPMParametersPopConAnalyzer(const edm::ParameterSet &pset)
Definition: HcalSiPMParametersPopConAnalyzer.cc:9
ParameterSet
Definition: Functions.h:16
edm::EventSetup
Definition: EventSetup.h:58
HcalSiPMParametersPopConAnalyzer
Definition: HcalSiPMParametersPopConAnalyzer.cc:5
edm::ESGetToken< HcalSiPMParameters, HcalSiPMParametersRcd >
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
popcon
Definition: Exception.h:6
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
HcalSiPMParametersPopConAnalyzer::m_populator
popcon::PopCon m_populator
Definition: HcalSiPMParametersPopConAnalyzer.cc:30
edm::EDConsumerBase::esConsumes
auto esConsumes()
Definition: EDConsumerBase.h:202
popcon::PopCon
Definition: PopCon.h:29
HcalSiPMParametersPopConAnalyzer::m_source
SourceHandler m_source
Definition: HcalSiPMParametersPopConAnalyzer.cc:31
HcalSiPMParametersHandler::initObject
void initObject(HcalSiPMParameters *)
Definition: HcalSiPMParametersHandler.cc:34
edm::Event
Definition: Event.h:73
HcalSiPMParametersPopConAnalyzer::m_tok
edm::ESGetToken< HcalSiPMParameters, HcalSiPMParametersRcd > m_tok
Definition: HcalSiPMParametersPopConAnalyzer.cc:32
HcalSiPMParameters
Definition: HcalSiPMParameters.h:8
PopConAnalyzer.h
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
popcon::PopConAnalyzer< HcalSiPMParametersHandler >::PopConAnalyzer
PopConAnalyzer(const edm::ParameterSet &pset)
Definition: PopConAnalyzer.h:21
popcon::PopConAnalyzer
Definition: PopConAnalyzer.h:17