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