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 
17 class SiStripMonitorCondData : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
18 public:
19  explicit SiStripMonitorCondData(const edm::ParameterSet &);
20 
21  ~SiStripMonitorCondData() override = default;
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  moni_.beginRun(run.run(), eSetup);
36 }
37 
39  moni_.analyseCondData(eSetup);
40 }
41 
43  moni_.end();
44  moni_.save();
45 }
46 
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_
~SiStripMonitorCondData() override=default
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