Main Page
Namespaces
Classes
Package Documentation
src
DQMOffline
EGamma
interface
ElectronDqmAnalyzerBase.h
Go to the documentation of this file.
1
2
#ifndef ElectronDqmAnalyzerBase_h
3
#define ElectronDqmAnalyzerBase_h
4
5
class
DQMStore
;
6
class
MonitorElement
;
7
8
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
#include <Rtypes.h>
11
#include <string>
12
#include <vector>
13
14
//DQM
15
#include "
FWCore/ServiceRegistry/interface/Service.h
"
16
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
17
#include "
DQMServices/Core/interface/MonitorElement.h
"
18
19
namespace
edab
{
20
struct
Empty
{};
21
}
22
class
ElectronDqmAnalyzerBase
:
public
DQMEDAnalyzer
23
{
24
25
protected
:
26
27
explicit
ElectronDqmAnalyzerBase
(
const
edm::ParameterSet
& conf ) ;
28
~
ElectronDqmAnalyzerBase
()
override
;
29
30
// specific implementation of EDAnalyzer
31
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
32
33
// interface to implement in derived classes
34
void
analyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
{}
35
36
// utility methods
37
int
verbosity
() {
return
verbosity_ ; }
38
39
void
setBookPrefix(
const
std::string
& ) ;
40
void
setBookIndex(
short
) ;
41
void
setBookEfficiencyFlag(
const
bool
& ) ;
42
void
setBookStatOverflowFlag (
const
bool
& ) ;
43
44
MonitorElement
* bookH1
45
(
DQMStore::IBooker
& ,
const
std::string
&
name
,
const
std::string
&
title
,
46
int
nchX,
double
lowX,
double
highX,
47
const
std::string
& titleX =
""
,
const
std::string
& titleY =
"Events"
,
48
Option_t *
option
=
"E1 P"
) ;
49
50
MonitorElement
* bookH1withSumw2
51
(
DQMStore::IBooker
& ,
const
std::string
& name,
const
std::string
& title,
52
int
nchX,
double
lowX,
double
highX,
53
const
std::string
& titleX =
""
,
const
std::string
& titleY =
"Events"
,
54
Option_t *
option
=
"E1 P"
) ;
55
56
MonitorElement
* bookH2
57
(
DQMStore::IBooker
& ,
const
std::string
& name,
const
std::string
& title,
58
int
nchX,
double
lowX,
double
highX,
59
int
nchY,
double
lowY,
double
highY,
60
const
std::string
& titleX =
""
,
const
std::string
& titleY =
""
,
61
Option_t *
option
=
"COLZ"
) ;
62
63
MonitorElement
* bookH2withSumw2
64
(
DQMStore::IBooker
& ,
const
std::string
& name,
const
std::string
& title,
65
int
nchX,
double
lowX,
double
highX,
66
int
nchY,
double
lowY,
double
highY,
67
const
std::string
& titleX =
""
,
const
std::string
& titleY =
""
,
68
Option_t *
option
=
"COLZ"
) ;
69
70
MonitorElement
* bookP1
71
(
DQMStore::IBooker
& ,
const
std::string
& name,
const
std::string
& title,
72
int
nchX,
double
lowX,
double
highX,
73
double
lowY,
double
highY,
74
const
std::string
& titleX =
""
,
const
std::string
& titleY =
""
,
75
Option_t *
option
=
"E1 P"
) ;
76
77
MonitorElement
* cloneH1
78
(
DQMStore::IBooker
& iBooker,
const
std::string
& name,
MonitorElement
*
original
,
79
const
std::string
& title =
""
) ;
80
81
MonitorElement
* cloneH1
82
(
DQMStore::IBooker
& iBooker,
const
std::string
& name,
const
std::string
& original,
83
const
std::string
& title =
""
) ;
84
85
private
:
86
87
int
verbosity_
;
88
std::string
bookPrefix_
;
89
short
bookIndex_
;
90
bool
bookEfficiencyFlag_ =
false
;
91
bool
bookStatOverflowFlag_ =
false
;
92
bool
histoNamesReady
;
93
std::vector<std::string>
histoNames_
;
94
std::string
finalStep_
;
95
std::string
inputFile_
;
96
std::string
outputFile_
;
97
std::string
inputInternalPath_
;
98
std::string
outputInternalPath_
;
99
100
// utility methods
101
std::string
newName
(
const
std::string
& name ) ;
102
} ;
103
104
#endif
105
106
107
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edab::Empty
Definition:
ElectronDqmAnalyzerBase.h:20
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:44
mps_merge.newName
string newName
Definition:
mps_merge.py:86
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
ParameterSet.h
DQMStore
Definition:
DQMStore.h:76
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
Service.h
ElectronDqmAnalyzerBase::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition:
ElectronDqmAnalyzerBase.h:34
edm::EventSetup
Definition:
EventSetup.h:57
ElectronDqmAnalyzerBase::finalStep_
std::string finalStep_
Definition:
ElectronDqmAnalyzerBase.h:94
ElectronDqmAnalyzerBase::outputInternalPath_
std::string outputInternalPath_
Definition:
ElectronDqmAnalyzerBase.h:98
EDAnalyzer.h
ElectronDqmAnalyzerBase::inputFile_
std::string inputFile_
Definition:
ElectronDqmAnalyzerBase.h:95
edab
Definition:
ElectronDqmAnalyzerBase.h:19
MonitorElement
Definition:
MonitorElement.h:37
TSGForRoadSearch_cfi.option
option
Definition:
TSGForRoadSearch_cfi.py:9
ElectronDqmAnalyzerBase::histoNamesReady
bool histoNamesReady
Definition:
ElectronDqmAnalyzerBase.h:92
ElectronDqmAnalyzerBase::outputFile_
std::string outputFile_
Definition:
ElectronDqmAnalyzerBase.h:96
ElectronDqmAnalyzerBase::histoNames_
std::vector< std::string > histoNames_
Definition:
ElectronDqmAnalyzerBase.h:93
ElectronDqmAnalyzerBase::bookIndex_
short bookIndex_
Definition:
ElectronDqmAnalyzerBase.h:89
bookHistograms
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
ElectronDqmAnalyzerBase::verbosity_
int verbosity_
Definition:
ElectronDqmAnalyzerBase.h:87
MonitorElement.h
definitions.original
original
Definition:
definitions.py:57
runGCPTkAlMap.title
string title
Definition:
runGCPTkAlMap.py:60
ElectronDqmAnalyzerBase
Definition:
ElectronDqmAnalyzerBase.h:22
ElectronDqmAnalyzerBase::bookPrefix_
std::string bookPrefix_
Definition:
ElectronDqmAnalyzerBase.h:88
edm::ParameterSet
Definition:
ParameterSet.h:36
dataset.name
name
Definition:
dataset.py:45
edm::Event
Definition:
Event.h:71
DQMStore::IBooker
Definition:
DQMStore.h:88
ElectronDqmAnalyzerBase::inputInternalPath_
std::string inputInternalPath_
Definition:
ElectronDqmAnalyzerBase.h:97
edm::Run
Definition:
Run.h:45
ElectronDqmAnalyzerBase::verbosity
int verbosity()
Definition:
ElectronDqmAnalyzerBase.h:37
Generated for CMSSW Reference Manual by
1.8.11