CMS 3D CMS Logo

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