Main Page
Namespaces
Classes
Package Documentation
src
DQMOffline
Trigger
plugins
TriggerDQMBase.h
Go to the documentation of this file.
1
#ifndef DQMOffline_Trigger_TriggerDQMBase_H
2
#define DQMOffline_Trigger_TriggerDQMBase_H
3
4
#include "
DQMServices/Core/interface/MonitorElement.h
"
5
#include "
DQMServices/Core/interface/DQMStore.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
7
8
class
TriggerDQMBase
9
{
10
public
:
11
TriggerDQMBase
()=
default
;;
12
virtual
~TriggerDQMBase
()=
default
;;
13
14
struct
MEbinning
{
15
unsigned
nbins
;
16
double
xmin
;
17
double
xmax
;
18
};
19
20
struct
ObjME
{
21
MonitorElement
*
numerator
=
nullptr
;
22
MonitorElement
*
denominator
=
nullptr
;
23
};
24
25
static
void
fillHistoPSetDescription
(
edm::ParameterSetDescription
&
pset
);
26
static
void
fillHistoLSPSetDescription
(
edm::ParameterSetDescription
&
pset
);
27
static
MEbinning
getHistoPSet
(
const
edm::ParameterSet
&
pset
);
28
static
MEbinning
getHistoLSPSet
(
const
edm::ParameterSet
&
pset
);
29
30
void
bookME
(
DQMStore::IBooker
&,
ObjME
& me,
const
std::string
& histname,
const
std::string
& histtitle,
unsigned
nbins
,
double
xmin
,
double
xmax
);
31
void
bookME
(
DQMStore::IBooker
&,
ObjME
& me,
const
std::string
& histname,
const
std::string
& histtitle,
const
std::vector<double>& binningX);
32
void
bookME
(
DQMStore::IBooker
&,
ObjME
& me,
const
std::string
& histname,
const
std::string
& histtitle,
unsigned
nbinsX,
double
xmin
,
double
xmax
,
double
ymin
,
double
ymax
);
33
void
bookME
(
DQMStore::IBooker
&,
ObjME
& me,
const
std::string
& histname,
const
std::string
& histtitle,
unsigned
nbinsX,
double
xmin
,
double
xmax
,
unsigned
nbinsY,
double
ymin
,
double
ymax
);
34
void
bookME
(
DQMStore::IBooker
&,
ObjME
& me,
const
std::string
& histname,
const
std::string
& histtitle,
const
std::vector<double>& binningX,
const
std::vector<double>& binningY);
35
void
setMETitle
(
ObjME
& me,
const
std::string
& titleX,
const
std::string
& titleY);
36
37
protected
:
38
39
private
:
40
41
};
//class
42
43
#endif //DQMOffline_Trigger_TriggerDQMBase_H
TriggerDQMBase::ObjME
Definition:
TriggerDQMBase.h:20
TriggerDQMBase::TriggerDQMBase
TriggerDQMBase()=default
TriggerDQMBase::MEbinning
Definition:
TriggerDQMBase.h:14
TriggerDQMBase::fillHistoLSPSetDescription
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
Definition:
TriggerDQMBase.cc:55
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TriggerDQMBase::getHistoLSPSet
static MEbinning getHistoLSPSet(const edm::ParameterSet &pset)
Definition:
TriggerDQMBase.cc:71
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Phase2TrackerMonitorDigi_cff.ymin
ymin
Definition:
Phase2TrackerMonitorDigi_cff.py:21
TriggerDQMBase::fillHistoPSetDescription
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
Definition:
TriggerDQMBase.cc:48
TriggerDQMBase::~TriggerDQMBase
virtual ~TriggerDQMBase()=default
TriggerDQMBase::setMETitle
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
Definition:
TriggerDQMBase.cc:3
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
TriggerDQMBase::MEbinning::xmax
double xmax
Definition:
TriggerDQMBase.h:17
TriggerDQMBase::getHistoPSet
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
Definition:
TriggerDQMBase.cc:62
ParameterSetDescription.h
pfDeepCMVADiscriminatorsJetTags_cfi.denominator
denominator
Definition:
pfDeepCMVADiscriminatorsJetTags_cfi.py:12
DQMStore.h
Phase2TrackerMonitorDigi_cff.ymax
ymax
Definition:
Phase2TrackerMonitorDigi_cff.py:22
pfDeepCMVADiscriminatorsJetTags_cfi.numerator
numerator
Definition:
pfDeepCMVADiscriminatorsJetTags_cfi.py:8
MonitorElement
Definition:
MonitorElement.h:37
TriggerDQMBase::MEbinning::xmin
double xmin
Definition:
TriggerDQMBase.h:16
MonitorElement.h
TriggerDQMBase::MEbinning::nbins
unsigned nbins
Definition:
TriggerDQMBase.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
DQMStore::IBooker
Definition:
DQMStore.h:88
TriggerDQMBase
Definition:
TriggerDQMBase.h:8
TriggerDQMBase::bookME
void bookME(DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, unsigned nbins, double xmin, double xmax)
Definition:
TriggerDQMBase.cc:12
Generated for CMSSW Reference Manual by
1.8.11