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
std::unique_ptr<SiStripClassToMonitorCondData>
condDataMonitoring_
;
45
};
46
47
#endif
SiStripMonitorCondDataOnDemandExample::eventCounter_
int eventCounter_
Definition:
SiStripMonitorCondDataOnDemandExample.h:43
ESHandle.h
SiStripMonitorCondDataOnDemandExample::beginJob
void beginJob() override
Definition:
SiStripMonitorCondDataOnDemandExample.cc:57
edm::Run
Definition:
Run.h:45
SiStripMonitorCondDataOnDemandExample::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
SiStripMonitorCondDataOnDemandExample.cc:62
SiStripMonitorCondDataOnDemandExample::~SiStripMonitorCondDataOnDemandExample
~SiStripMonitorCondDataOnDemandExample() override
Definition:
SiStripMonitorCondDataOnDemandExample.cc:42
SiStripMonitorCondDataOnDemandExample::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition:
SiStripMonitorCondDataOnDemandExample.cc:48
EDAnalyzer.h
SiStripMonitorCondDataOnDemandExample::SiStripMonitorCondDataOnDemandExample
SiStripMonitorCondDataOnDemandExample(const edm::ParameterSet &)
Definition:
SiStripMonitorCondDataOnDemandExample.cc:34
SiStripMonitorCondDataOnDemandExample
Definition:
SiStripMonitorCondDataOnDemandExample.h:30
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
SiStripClassToMonitorCondData
Definition:
SiStripClassToMonitorCondData.h:54
MakerMacros.h
edm::ParameterSet
Definition:
ParameterSet.h:47
SiStripMonitorCondDataOnDemandExample::condDataMonitoring_
std::unique_ptr< SiStripClassToMonitorCondData > condDataMonitoring_
Definition:
SiStripMonitorCondDataOnDemandExample.h:44
Event.h
SiStripMonitorCondDataOnDemandExample::endJob
void endJob() override
Definition:
SiStripMonitorCondDataOnDemandExample.cc:95
edm::EventSetup
Definition:
EventSetup.h:58
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:86
ParameterSet.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16