CMS 3D CMS Logo

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