DQM
RPCMonitorClient
interface
RPCChamberQuality.h
Go to the documentation of this file.
1
#ifndef RPCChamberQuality_H
2
#define RPCChamberQuality_H
3
4
#include "
FWCore/ServiceRegistry/interface/Service.h
"
5
#include "
DQMServices/Core/interface/DQMStore.h
"
6
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
7
8
#include <string>
9
10
class
RPCChamberQuality
:
public
DQMEDHarvester
{
11
public
:
12
RPCChamberQuality
(
const
edm::ParameterSet
&ps);
13
~RPCChamberQuality
()
override
;
14
15
protected
:
16
void
beginJob
()
override
;
17
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
18
DQMStore::IGetter
&,
19
edm::LuminosityBlock
const
&,
20
edm::EventSetup
const
&)
override
;
//performed in the endLumi
21
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
//performed in the endJob
22
23
private
:
24
void
fillMonitorElements
(
DQMStore::IGetter
&);
25
26
void
myBooker
(
DQMStore::IBooker
&);
27
28
MonitorElement
*
RpcEvents
;
29
enum
chamberQualityState
{
30
GoodState
= 1,
31
OffState
= 2,
32
NoisyStripState
= 3,
33
NoisyRollState
= 4,
34
PartiallyDeadState
= 5,
35
DeadState
= 6,
36
BadShapeState
= 7
37
};
38
39
int
lumiCounter_
;
40
41
bool
enableDQMClients_
;
42
bool
offlineDQM_
;
43
44
void
performeClientOperation
(
std::string
,
int
,
MonitorElement
*,
DQMStore::IGetter
&);
45
46
std::string
prefixDir_
,
summaryDir_
;
47
static
const
std::string
xLabels_
[7];
48
static
const
std::string
regions_
[3];
49
bool
useRollInfo_
;
50
int
prescaleFactor_
;
51
int
numberOfDisks_
;
52
53
bool
init_
;
54
55
int
minEvents
;
56
int
numLumBlock_
;
57
};
58
59
#endif
DQMEDHarvester.h
RPCChamberQuality::fillMonitorElements
void fillMonitorElements(DQMStore::IGetter &)
Definition:
RPCChamberQuality.cc:144
RPCChamberQuality::lumiCounter_
int lumiCounter_
Definition:
RPCChamberQuality.h:39
RPCChamberQuality::beginJob
void beginJob() override
Definition:
RPCChamberQuality.cc:39
RPCChamberQuality::enableDQMClients_
bool enableDQMClients_
Definition:
RPCChamberQuality.h:41
RPCChamberQuality::BadShapeState
Definition:
RPCChamberQuality.h:36
RPCChamberQuality::GoodState
Definition:
RPCChamberQuality.h:30
edm::LuminosityBlock
Definition:
LuminosityBlock.h:50
RPCChamberQuality::DeadState
Definition:
RPCChamberQuality.h:35
RPCChamberQuality::NoisyRollState
Definition:
RPCChamberQuality.h:33
RPCChamberQuality::chamberQualityState
chamberQualityState
Definition:
RPCChamberQuality.h:29
RPCChamberQuality::regions_
static const std::string regions_[3]
Definition:
RPCChamberQuality.h:48
RPCChamberQuality::PartiallyDeadState
Definition:
RPCChamberQuality.h:34
RPCChamberQuality
Definition:
RPCChamberQuality.h:10
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:461
RPCChamberQuality::RPCChamberQuality
RPCChamberQuality(const edm::ParameterSet &ps)
Definition:
RPCChamberQuality.cc:14
RPCChamberQuality::prescaleFactor_
int prescaleFactor_
Definition:
RPCChamberQuality.h:50
RPCChamberQuality::RpcEvents
MonitorElement * RpcEvents
Definition:
RPCChamberQuality.h:28
RPCChamberQuality::offlineDQM_
bool offlineDQM_
Definition:
RPCChamberQuality.h:42
Service.h
RPCChamberQuality::performeClientOperation
void performeClientOperation(std::string, int, MonitorElement *, DQMStore::IGetter &)
Definition:
RPCChamberQuality.cc:212
RPCChamberQuality::NoisyStripState
Definition:
RPCChamberQuality.h:32
RPCChamberQuality::numberOfDisks_
int numberOfDisks_
Definition:
RPCChamberQuality.h:51
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
RPCChamberQuality::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition:
RPCChamberQuality.cc:41
RPCChamberQuality::xLabels_
static const std::string xLabels_[7]
Definition:
RPCChamberQuality.h:47
RPCChamberQuality::OffState
Definition:
RPCChamberQuality.h:31
edm::EventSetup
Definition:
EventSetup.h:57
RPCChamberQuality::numLumBlock_
int numLumBlock_
Definition:
RPCChamberQuality.h:56
RPCChamberQuality::summaryDir_
std::string summaryDir_
Definition:
RPCChamberQuality.h:46
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
dqm::implementation::IGetter
Definition:
DQMStore.h:484
RPCChamberQuality::useRollInfo_
bool useRollInfo_
Definition:
RPCChamberQuality.h:49
RPCChamberQuality::init_
bool init_
Definition:
RPCChamberQuality.h:53
dqm::implementation::IBooker
Definition:
DQMStore.h:43
RPCChamberQuality::minEvents
int minEvents
Definition:
RPCChamberQuality.h:55
RPCChamberQuality::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
RPCChamberQuality.cc:62
RPCChamberQuality::prefixDir_
std::string prefixDir_
Definition:
RPCChamberQuality.h:46
RPCChamberQuality::~RPCChamberQuality
~RPCChamberQuality() override
Definition:
RPCChamberQuality.cc:37
RPCChamberQuality::myBooker
void myBooker(DQMStore::IBooker &)
Definition:
RPCChamberQuality.cc:76
Generated for CMSSW Reference Manual by
1.8.16