DQM
RPCMonitorClient
interface
RPCDaqInfo.h
Go to the documentation of this file.
1
#ifndef DQM_RPCMonitorClient_DQMDaqInfo_H
2
#define DQM_RPCMonitorClient_DQMDaqInfo_H
3
4
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
5
#include "
DQMServices/Core/interface/DQMStore.h
"
6
#include "
CondFormats/RunInfo/interface/RunInfo.h
"
7
#include "
CondFormats/DataRecord/interface/RunSummaryRcd.h
"
8
9
#include <utility>
10
11
class
RPCDaqInfo
:
public
DQMEDHarvester
{
12
public
:
13
explicit
RPCDaqInfo
(
const
edm::ParameterSet
&);
14
~RPCDaqInfo
()
override
=
default
;
15
16
protected
:
17
void
beginJob
()
override
;
18
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
19
DQMStore::IGetter
&,
20
edm::LuminosityBlock
const
&,
21
edm::EventSetup
const
&)
override
;
//performed in the endLumi
22
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
//performed in the endJob
23
24
private
:
25
void
myBooker
(
DQMStore::IBooker
&);
26
27
edm::ESGetToken<RunInfo, RunInfoRcd>
runInfoToken_
;
28
29
bool
init_
;
30
31
MonitorElement
*
DaqFraction_
;
32
MonitorElement
*
DaqMap_
;
33
constexpr
static
int
nWheels_
= 5;
34
MonitorElement
*
daqWheelFractions
[
nWheels_
];
35
constexpr
static
int
nDisks_
= 10;
36
MonitorElement
*
daqDiskFractions
[
nDisks_
];
37
38
std::pair<int, int>
FEDRange_
;
39
40
int
numberOfDisks_
,
NumberOfFeds_
;
41
};
42
43
#endif
DQMEDHarvester.h
RPCDaqInfo::FEDRange_
std::pair< int, int > FEDRange_
Definition:
RPCDaqInfo.h:38
RPCDaqInfo::myBooker
void myBooker(DQMStore::IBooker &)
Definition:
RPCDaqInfo.cc:61
RunSummaryRcd.h
RPCDaqInfo::init_
bool init_
Definition:
RPCDaqInfo.h:29
edm::LuminosityBlock
Definition:
LuminosityBlock.h:50
RPCDaqInfo::DaqMap_
MonitorElement * DaqMap_
Definition:
RPCDaqInfo.h:32
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:462
RPCDaqInfo::daqDiskFractions
MonitorElement * daqDiskFractions[nDisks_]
Definition:
RPCDaqInfo.h:36
RPCDaqInfo
Definition:
RPCDaqInfo.h:11
RPCDaqInfo::runInfoToken_
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Definition:
RPCDaqInfo.h:27
RPCDaqInfo::RPCDaqInfo
RPCDaqInfo(const edm::ParameterSet &)
Definition:
RPCDaqInfo.cc:11
RPCDaqInfo::nWheels_
constexpr static int nWheels_
Definition:
RPCDaqInfo.h:33
edm::ParameterSet
Definition:
ParameterSet.h:47
RPCDaqInfo::~RPCDaqInfo
~RPCDaqInfo() override=default
RPCDaqInfo::NumberOfFeds_
int NumberOfFeds_
Definition:
RPCDaqInfo.h:40
edm::EventSetup
Definition:
EventSetup.h:58
RPCDaqInfo::nDisks_
constexpr static int nDisks_
Definition:
RPCDaqInfo.h:35
RPCDaqInfo::beginJob
void beginJob() override
Definition:
RPCDaqInfo.cc:24
edm::ESGetToken< RunInfo, RunInfoRcd >
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
RunInfo.h
RPCDaqInfo::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition:
RPCDaqInfo.cc:25
dqm::implementation::IGetter
Definition:
DQMStore.h:484
RPCDaqInfo::daqWheelFractions
MonitorElement * daqWheelFractions[nWheels_]
Definition:
RPCDaqInfo.h:34
dqm::implementation::IBooker
Definition:
DQMStore.h:43
RPCDaqInfo::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
RPCDaqInfo.cc:59
RPCDaqInfo::numberOfDisks_
int numberOfDisks_
Definition:
RPCDaqInfo.h:40
RPCDaqInfo::DaqFraction_
MonitorElement * DaqFraction_
Definition:
RPCDaqInfo.h:31
Generated for CMSSW Reference Manual by
1.8.16