CMS 3D CMS Logo

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 
SiStripClassToMonitorCondData::beginRun
void beginRun(edm::RunNumber_t iRun, edm::EventSetup const &eSetup)
Definition: SiStripClassToMonitorCondData.cc:101
SiStripMonitorCondData::SiStripMonitorCondData
SiStripMonitorCondData(const edm::ParameterSet &)
Definition: SiStripMonitorCondData.cc:31
ESHandle.h
edm::Run
Definition: Run.h:45
EDAnalyzer.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
SiStripClassToMonitorCondData
Definition: SiStripClassToMonitorCondData.h:54
MakerMacros.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
SiStripMonitorCondData
Definition: SiStripMonitorCondData.cc:17
SiStripMonitorCondData::moni_
SiStripClassToMonitorCondData moni_
Definition: SiStripMonitorCondData.cc:28
SiStripClassToMonitorCondData::save
void save()
Definition: SiStripClassToMonitorCondData.cc:297
SiStripMonitorCondData::endRun
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition: SiStripMonitorCondData.cc:44
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
SiStripMonitorCondData::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiStripMonitorCondData.cc:40
iEvent
int iEvent
Definition: GenABIO.cc:224
SiStripClassToMonitorCondData::end
void end()
Definition: SiStripClassToMonitorCondData.cc:267
edm::EventSetup
Definition: EventSetup.h:58
writedatasetfile.run
run
Definition: writedatasetfile.py:27
Frameworkfwd.h
SiStripClassToMonitorCondData::analyseCondData
void analyseCondData(const edm::EventSetup &)
Definition: SiStripClassToMonitorCondData.cc:234
SiStripClassToMonitorCondData.h
ParameterSet.h
edm::Event
Definition: Event.h:73
SiStripMonitorCondData::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition: SiStripMonitorCondData.cc:36
SiStripMonitorCondData::~SiStripMonitorCondData
~SiStripMonitorCondData() override
Definition: SiStripMonitorCondData.cc:34