DQM
SiStripMonitorSummary
plugins
SiStripMonitorCondDataOnDemandExample.h
Go to the documentation of this file.
1
#ifndef SiStripMonitorSummary_SiStripMonitorCondDataOnDemandExample_h
2
#define SiStripMonitorSummary_SiStripMonitorCondDataOnDemandExample_h
3
// -*- C++ -*-
4
//
5
// Package: SiStripMonitorSummary
6
// Class : SiStripMonitorCondDataOnDemandExample
7
//
8
// Original Author: Evelyne Delmeire
9
//
10
11
// system include files
12
#include <memory>
13
14
// user include files
15
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
18
19
#include "
FWCore/Framework/interface/Event.h
"
20
#include "
FWCore/Framework/interface/MakerMacros.h
"
21
22
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
23
24
#include <iostream>
25
#include <string>
26
#include <vector>
27
28
class
SiStripClassToMonitorCondData
;
29
30
class
SiStripMonitorCondDataOnDemandExample
:
public
edm::EDAnalyzer
{
31
public
:
32
explicit
SiStripMonitorCondDataOnDemandExample
(
const
edm::ParameterSet
&);
33
34
~SiStripMonitorCondDataOnDemandExample
()
override
;
35
36
void
beginJob
()
override
;
37
void
beginRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
&eSetup)
override
;
38
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
39
void
endRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
&eSetup)
override
;
40
void
endJob
()
override
;
41
42
private
:
43
int
eventCounter_
;
44
edm::ParameterSet
conf_
;
45
SiStripClassToMonitorCondData
*
condDataMonitoring_
;
46
};
47
48
#endif
SiStripMonitorCondDataOnDemandExample::eventCounter_
int eventCounter_
Definition:
SiStripMonitorCondDataOnDemandExample.h:43
ESHandle.h
SiStripMonitorCondDataOnDemandExample::beginJob
void beginJob() override
Definition:
SiStripMonitorCondDataOnDemandExample.cc:58
edm::Run
Definition:
Run.h:45
SiStripMonitorCondDataOnDemandExample::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
SiStripMonitorCondDataOnDemandExample.cc:63
SiStripMonitorCondDataOnDemandExample::~SiStripMonitorCondDataOnDemandExample
~SiStripMonitorCondDataOnDemandExample() override
Definition:
SiStripMonitorCondDataOnDemandExample.cc:41
SiStripMonitorCondDataOnDemandExample::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition:
SiStripMonitorCondDataOnDemandExample.cc:47
EDAnalyzer.h
SiStripMonitorCondDataOnDemandExample::SiStripMonitorCondDataOnDemandExample
SiStripMonitorCondDataOnDemandExample(const edm::ParameterSet &)
Definition:
SiStripMonitorCondDataOnDemandExample.cc:34
SiStripMonitorCondDataOnDemandExample
Definition:
SiStripMonitorCondDataOnDemandExample.h:30
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
SiStripMonitorCondDataOnDemandExample::conf_
edm::ParameterSet conf_
Definition:
SiStripMonitorCondDataOnDemandExample.h:44
SiStripClassToMonitorCondData
Definition:
SiStripClassToMonitorCondData.h:39
MakerMacros.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
SiStripMonitorCondDataOnDemandExample::endJob
void endJob() override
Definition:
SiStripMonitorCondDataOnDemandExample.cc:96
edm::EventSetup
Definition:
EventSetup.h:57
SiStripMonitorCondDataOnDemandExample::condDataMonitoring_
SiStripClassToMonitorCondData * condDataMonitoring_
Definition:
SiStripMonitorCondDataOnDemandExample.h:45
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
Frameworkfwd.h
SiStripMonitorCondDataOnDemandExample::endRun
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition:
SiStripMonitorCondDataOnDemandExample.cc:87
ParameterSet.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16