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 
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
edm::ESGetToken< HcalZDCLowGainFractions, HcalZDCLowGainFractionsRcd > m_tok
void write(Source const &source)
Definition: PopCon.h:75
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
HcalZDCLowGainFractionsPopConAnalyzer(const edm::ParameterSet &pset)
void analyze(const edm::Event &ev, const edm::EventSetup &esetup) override
HLT enums.
void initObject(HcalZDCLowGainFractions *)