CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SiStripMonitorCondData.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: SiStripMonitorSummary
4 // Class : SiStripMonitorCondData
5 //
6 // Original Author: Evelyne Delmeire
7 //
8 
14 
16 
18 public:
19  explicit SiStripMonitorCondData(const edm::ParameterSet &);
20 
21  ~SiStripMonitorCondData() override;
22 
23  void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override;
24  void analyze(const edm::Event &, const edm::EventSetup &) override;
25  void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override;
26 
27 private:
29 };
30 
32  : moni_(iConfig, consumesCollector()) {}
33 
35 
37  moni_.beginRun(run.run(), eSetup);
38 }
39 
41  moni_.analyseCondData(eSetup);
42 }
43 
45  moni_.end();
46  moni_.save();
47 }
48 
RunNumber_t run() const
Definition: RunBase.h:40
void beginRun(edm::RunNumber_t iRun, edm::EventSetup const &eSetup)
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
SiStripClassToMonitorCondData moni_
void analyze(const edm::Event &, const edm::EventSetup &) override
int iEvent
Definition: GenABIO.cc:224
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
SiStripMonitorCondData(const edm::ParameterSet &)
void analyseCondData(const edm::EventSetup &)
Definition: Run.h:45