DQM
RPCMonitorDigi
interface
RPCMonitorRaw.h
Go to the documentation of this file.
1
#ifndef DQM_RPCMonitorModule_RPCMonitorRaw_H
2
#define DQM_RPCMonitorModule_RPCMonitorRaw_H
3
7
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
8
#include "
DQMServices/Core/interface/DQMStore.h
"
9
10
#include "
FWCore/Framework/interface/Event.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
#include "
DataFormats/RPCDigi/interface/RPCRawDataCounts.h
"
14
15
class
RPCMonitorRaw
:
public
DQMEDAnalyzer
{
16
public
:
17
explicit
RPCMonitorRaw
(
const
edm::ParameterSet
&
cfg
);
18
~RPCMonitorRaw
()
override
;
19
20
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
21
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
22
23
private
:
24
MonitorElement
*
me_t
[3];
25
MonitorElement
*
me_e
[3];
26
MonitorElement
*
me_mapGoodEvents
;
27
MonitorElement
*
me_mapBadEvents
;
28
29
edm::ParameterSet
theConfig
;
30
std::vector<MonitorElement*>
theWatchedErrorHistos
[3];
// histos with physical locations
31
// (RMB,LINK)of selected ReadoutErrors
32
33
unsigned
int
theWatchedErrorHistoPos
[10];
// for a give error type show its position
34
// (1..10) in theWatchedErrorHistos
35
// to get index one has to subtract -1
36
// 0 is not selected error type
37
38
edm::EDGetTokenT<RPCRawDataCounts>
rpcRawDataCountsTag_
;
39
};
40
41
#endif
RPCMonitorRaw::~RPCMonitorRaw
~RPCMonitorRaw() override
Definition:
RPCMonitorRaw.cc:21
RPCMonitorRaw
Definition:
RPCMonitorRaw.h:15
dqm::impl::MonitorElement
Definition:
MonitorElement.h:98
RPCMonitorRaw::theWatchedErrorHistoPos
unsigned int theWatchedErrorHistoPos[10]
Definition:
RPCMonitorRaw.h:33
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< RPCRawDataCounts >
DQMStore.h
RPCMonitorRaw::RPCMonitorRaw
RPCMonitorRaw(const edm::ParameterSet &cfg)
Definition:
RPCMonitorRaw.cc:8
RPCMonitorRaw::me_e
MonitorElement * me_e[3]
Definition:
RPCMonitorRaw.h:25
RPCRawDataCounts.h
RPCMonitorRaw::me_mapBadEvents
MonitorElement * me_mapBadEvents
Definition:
RPCMonitorRaw.h:27
RPCMonitorRaw::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
RPCMonitorRaw.cc:23
DQMEDAnalyzer.h
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
RPCMonitorRaw::theConfig
edm::ParameterSet theConfig
Definition:
RPCMonitorRaw.h:29
edm::EventSetup
Definition:
EventSetup.h:58
looper.cfg
cfg
Definition:
looper.py:296
RPCMonitorRaw::theWatchedErrorHistos
std::vector< MonitorElement * > theWatchedErrorHistos[3]
Definition:
RPCMonitorRaw.h:30
RPCMonitorRaw::me_mapGoodEvents
MonitorElement * me_mapGoodEvents
Definition:
RPCMonitorRaw.h:26
dqm::implementation::IBooker
Definition:
DQMStore.h:43
RPCMonitorRaw::rpcRawDataCountsTag_
edm::EDGetTokenT< RPCRawDataCounts > rpcRawDataCountsTag_
Definition:
RPCMonitorRaw.h:38
ParameterSet.h
RPCMonitorRaw::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
RPCMonitorRaw.cc:62
RPCMonitorRaw::me_t
MonitorElement * me_t[3]
Definition:
RPCMonitorRaw.h:24
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16