DQM
RPCMonitorClient
interface
RPCFEDIntegrity.h
Go to the documentation of this file.
1
#ifndef RPCFEDIntegrity_H
2
#define RPCFEDIntegrity_H
3
4
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
5
#include <
FWCore/Framework/interface/EDAnalyzer.h
>
6
#include <
FWCore/Framework/interface/ESHandle.h
>
7
#include <
FWCore/Framework/interface/MakerMacros.h
>
8
#include "
FWCore/ServiceRegistry/interface/Service.h
"
9
10
#include <
DQMServices/Core/interface/DQMEDAnalyzer.h
>
11
12
#include "
DataFormats/RPCDigi/interface/RPCRawDataCounts.h
"
13
#include "
DQMServices/Core/interface/DQMStore.h
"
14
15
#include <memory>
16
#include <string>
17
//#include <map>
18
19
class
RPCFEDIntegrity
:
public
DQMEDAnalyzer
{
20
public
:
22
RPCFEDIntegrity
(
const
edm::ParameterSet
&ps);
23
25
~RPCFEDIntegrity
()
override
;
26
28
29
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
31
void
analyze
(
const
edm::Event
&
iEvent
,
const
edm::EventSetup
&
c
)
override
;
32
33
private
:
34
void
labelBins
(
MonitorElement
*myMe);
35
edm::EDGetTokenT<RPCRawDataCounts>
rawCountsLabel_
;
36
void
bookFEDMe
(
DQMStore::IBooker
&);
37
38
std::string
prefixDir_
;
39
40
bool
merge_
,
init_
;
41
42
int
FATAL_LIMIT
;
43
44
enum
fedHisto
{
Entries
,
Fatal
,
NonFatal
};
45
46
MonitorElement
*
fedMe_
[3];
47
48
int
numOfFED_
,
minFEDNum_
,
maxFEDNum_
;
49
std::vector<std::string>
histoName_
;
50
};
51
52
#endif
RPCFEDIntegrity::~RPCFEDIntegrity
~RPCFEDIntegrity() override
Destructor.
Definition:
RPCFEDIntegrity.cc:33
dqm::impl::MonitorElement
Definition:
MonitorElement.h:98
RPCFEDIntegrity::NonFatal
Definition:
RPCFEDIntegrity.h:44
ESHandle.h
RPCFEDIntegrity::fedMe_
MonitorElement * fedMe_[3]
Definition:
RPCFEDIntegrity.h:46
edm::Run
Definition:
Run.h:45
RPCFEDIntegrity::labelBins
void labelBins(MonitorElement *myMe)
Definition:
RPCFEDIntegrity.cc:78
edm::EDGetTokenT< RPCRawDataCounts >
DQMStore.h
EDAnalyzer.h
RPCFEDIntegrity::Entries
Definition:
RPCFEDIntegrity.h:44
RPCFEDIntegrity::Fatal
Definition:
RPCFEDIntegrity.h:44
MakerMacros.h
RPCFEDIntegrity::fedHisto
fedHisto
Definition:
RPCFEDIntegrity.h:44
RPCFEDIntegrity::minFEDNum_
int minFEDNum_
Definition:
RPCFEDIntegrity.h:48
Service.h
RPCRawDataCounts.h
RPCFEDIntegrity::histoName_
std::vector< std::string > histoName_
Definition:
RPCFEDIntegrity.h:49
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RPCFEDIntegrity::bookFEDMe
void bookFEDMe(DQMStore::IBooker &)
Definition:
RPCFEDIntegrity.cc:64
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
RPCFEDIntegrity::maxFEDNum_
int maxFEDNum_
Definition:
RPCFEDIntegrity.h:48
RPCFEDIntegrity::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Begin Lumi block.
Definition:
RPCFEDIntegrity.cc:38
edm::ParameterSet
Definition:
ParameterSet.h:47
iEvent
int iEvent
Definition:
GenABIO.cc:224
RPCFEDIntegrity::rawCountsLabel_
edm::EDGetTokenT< RPCRawDataCounts > rawCountsLabel_
Definition:
RPCFEDIntegrity.h:35
RPCFEDIntegrity::init_
bool init_
Definition:
RPCFEDIntegrity.h:40
edm::EventSetup
Definition:
EventSetup.h:57
RPCFEDIntegrity::FATAL_LIMIT
int FATAL_LIMIT
Definition:
RPCFEDIntegrity.h:42
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
RPCFEDIntegrity::merge_
bool merge_
Definition:
RPCFEDIntegrity.h:40
Frameworkfwd.h
RPCFEDIntegrity::RPCFEDIntegrity
RPCFEDIntegrity(const edm::ParameterSet &ps)
Constructor.
Definition:
RPCFEDIntegrity.cc:19
dqm::implementation::IBooker
Definition:
DQMStore.h:43
RPCFEDIntegrity
Definition:
RPCFEDIntegrity.h:19
RPCFEDIntegrity::numOfFED_
int numOfFED_
Definition:
RPCFEDIntegrity.h:48
RPCFEDIntegrity::analyze
void analyze(const edm::Event &iEvent, const edm::EventSetup &c) override
Analyze.
Definition:
RPCFEDIntegrity.cc:44
edm::Event
Definition:
Event.h:73
RPCFEDIntegrity::prefixDir_
std::string prefixDir_
Definition:
RPCFEDIntegrity.h:38
Generated for CMSSW Reference Manual by
1.8.16