CMS 3D CMS Logo

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