Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DQM
SiStripMonitorSummary
plugins
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
9
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
10
#include "
FWCore/Framework/interface/ESHandle.h
"
11
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
12
#include "
FWCore/Framework/interface/Event.h
"
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
15
#include "
DQM/SiStripMonitorSummary/interface/SiStripClassToMonitorCondData.h
"
16
17
class
SiStripMonitorCondData
:
public
edm::EDAnalyzer
{
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
:
28
SiStripClassToMonitorCondData
moni_
;
29
};
30
31
SiStripMonitorCondData::SiStripMonitorCondData
(
edm::ParameterSet
const
&
iConfig
)
32
: moni_(iConfig, consumesCollector()) {}
33
34
SiStripMonitorCondData::~SiStripMonitorCondData
() {}
35
36
void
SiStripMonitorCondData::beginRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
&eSetup) {
37
moni_
.
beginRun
(run.
run
(), eSetup);
38
}
39
40
void
SiStripMonitorCondData::analyze
(
edm::Event
const
&
iEvent
,
edm::EventSetup
const
&eSetup) {
41
moni_
.
analyseCondData
(eSetup);
42
}
43
44
void
SiStripMonitorCondData::endRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
&eSetup) {
45
moni_
.
end
();
46
moni_
.
save
();
47
}
48
49
#include "
FWCore/Framework/interface/MakerMacros.h
"
50
DEFINE_FWK_MODULE
(
SiStripMonitorCondData
);
edm::RunBase::run
RunNumber_t run() const
Definition:
RunBase.h:40
SiStripClassToMonitorCondData::beginRun
void beginRun(edm::RunNumber_t iRun, edm::EventSetup const &eSetup)
Definition:
SiStripClassToMonitorCondData.cc:103
SiStripMonitorCondData::endRun
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition:
SiStripMonitorCondData.cc:44
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
SiStripMonitorCondData::moni_
SiStripClassToMonitorCondData moni_
Definition:
SiStripMonitorCondData.cc:28
Event.h
SiStripMonitorCondData
Definition:
SiStripMonitorCondData.cc:17
SiStripMonitorCondData::~SiStripMonitorCondData
~SiStripMonitorCondData() override
Definition:
SiStripMonitorCondData.cc:34
MakerMacros.h
SiStripClassToMonitorCondData
Definition:
SiStripClassToMonitorCondData.h:54
Frameworkfwd.h
SiStripMonitorCondData::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
SiStripMonitorCondData.cc:40
ParameterSet.h
SiStripClassToMonitorCondData::save
void save()
Definition:
SiStripClassToMonitorCondData.cc:299
iEvent
int iEvent
Definition:
GenABIO.cc:224
submitPVValidationJobs.run
tuple run
Definition:
submitPVValidationJobs.py:227
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:59
SiStripMonitorCondData::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition:
SiStripMonitorCondData.cc:36
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
SiStripMonitorCondData::SiStripMonitorCondData
SiStripMonitorCondData(const edm::ParameterSet &)
Definition:
SiStripMonitorCondData.cc:31
SiStripClassToMonitorCondData.h
SiStripClassToMonitorCondData::end
void end()
Definition:
SiStripClassToMonitorCondData.cc:269
edm::ParameterSet
Definition:
ParameterSet.h:47
SiStripClassToMonitorCondData::analyseCondData
void analyseCondData(const edm::EventSetup &)
Definition:
SiStripClassToMonitorCondData.cc:236
edm::Event
Definition:
Event.h:73
iConfig
iConfig
Definition:
TSGFromPropagation.cc:56
edm::Run
Definition:
Run.h:45
Generated for CMSSW Reference Manual by
1.8.5