DQM
DTMonitorClient
src
DTDataIntegrityTest.h
Go to the documentation of this file.
1
#ifndef DTDataIntegrity_Test_H
2
#define DTDataIntegrity_Test_H
3
14
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
FWCore/Framework/interface/ESHandle.h
"
18
#include "
FWCore/Framework/interface/EventSetup.h
"
19
#include "
FWCore/Framework/interface/LuminosityBlock.h
"
20
#include "
DataFormats/DTDigi/interface/DTuROSControlData.h
"
21
#include "
CondFormats/DataRecord/interface/DTReadOutMappingRcd.h
"
22
#include "
DQMServices/Core/interface/DQMStore.h
"
23
24
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
25
26
class
DTReadOutMapping
;
27
28
class
DTDataIntegrityTest
:
public
DQMEDHarvester
{
29
public
:
31
DTDataIntegrityTest
(
const
edm::ParameterSet
&ps);
32
34
~DTDataIntegrityTest
()
override
;
35
36
protected
:
37
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
38
40
std::string
getMEName
(
std::string
histoType,
int
FEDId);
41
43
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
44
DQMStore::IGetter
&,
45
edm::LuminosityBlock
const
&,
46
edm::EventSetup
const
&)
override
;
47
48
private
:
49
int
readOutToGeometry
(
int
dduId,
int
rosNumber,
int
&
wheel
,
int
§or);
50
int
getROS
(
int
uROS,
int
link
);
51
52
//Number of onUpdates
53
int
nupdates
;
54
55
// prescale on the # of LS to update the test
56
int
prescaleFactor
;
57
58
//Counter between 0 and nTimeBin
59
int
counter
;
60
61
int
nevents
;
62
unsigned
int
nLumiSegs
;
63
64
int
run
;
65
66
bool
bookingdone
;
67
68
edm::ESGetToken<DTReadOutMapping, DTReadOutMappingRcd>
mappingToken_
;
69
const
DTReadOutMapping
*
mapping
;
70
71
// Monitor Elements
72
MonitorElement
*
summaryHisto
;
73
MonitorElement
*
summaryTDCHisto
;
74
MonitorElement
*
glbSummaryHisto
;
75
};
76
77
#endif
DQMEDHarvester.h
DTDataIntegrityTest::summaryTDCHisto
MonitorElement * summaryTDCHisto
Definition:
DTDataIntegrityTest.h:73
DTDataIntegrityTest::DTDataIntegrityTest
DTDataIntegrityTest(const edm::ParameterSet &ps)
Constructor.
Definition:
DTDataIntegrityTest.cc:26
DTDataIntegrityTest::mappingToken_
edm::ESGetToken< DTReadOutMapping, DTReadOutMappingRcd > mappingToken_
Definition:
DTDataIntegrityTest.h:68
MainPageGenerator.link
link
Definition:
MainPageGenerator.py:271
ESHandle.h
DTDataIntegrityTest::nupdates
int nupdates
Definition:
DTDataIntegrityTest.h:53
edm::LuminosityBlock
Definition:
LuminosityBlock.h:50
LuminosityBlock.h
DTuROSControlData.h
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:462
EDAnalyzer.h
DTDataIntegrityTest::mapping
const DTReadOutMapping * mapping
Definition:
DTDataIntegrityTest.h:69
DTDataIntegrityTest::getROS
int getROS(int uROS, int link)
Definition:
DTDataIntegrityTest.cc:267
DTDataIntegrityTest::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
DTDataIntegrityTest.cc:247
DTDataIntegrityTest::counter
int counter
Definition:
DTDataIntegrityTest.h:59
DTDataIntegrityTest::prescaleFactor
int prescaleFactor
Definition:
DTDataIntegrityTest.h:56
DTDataIntegrityTest::bookingdone
bool bookingdone
Definition:
DTDataIntegrityTest.h:66
DTDataIntegrityTest::summaryHisto
MonitorElement * summaryHisto
Definition:
DTDataIntegrityTest.h:72
DTDataIntegrityTest::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
DQM Client Diagnostic.
Definition:
DTDataIntegrityTest.cc:41
DTReadOutMappingRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
DTDataIntegrityTest::nevents
int nevents
Definition:
DTDataIntegrityTest.h:61
makeMuonMisalignmentScenario.wheel
wheel
Definition:
makeMuonMisalignmentScenario.py:319
DTDataIntegrityTest::getMEName
std::string getMEName(std::string histoType, int FEDId)
Get the ME name.
Definition:
DTDataIntegrityTest.cc:251
edm::EventSetup
Definition:
EventSetup.h:58
DTDataIntegrityTest::glbSummaryHisto
MonitorElement * glbSummaryHisto
Definition:
DTDataIntegrityTest.h:74
edm::ESGetToken< DTReadOutMapping, DTReadOutMappingRcd >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
DTDataIntegrityTest
Definition:
DTDataIntegrityTest.h:28
DTDataIntegrityTest::run
int run
Definition:
DTDataIntegrityTest.h:64
dqm::implementation::IGetter
Definition:
DQMStore.h:484
EventSetup.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
DTDataIntegrityTest::readOutToGeometry
int readOutToGeometry(int dduId, int rosNumber, int &wheel, int §or)
Definition:
DTDataIntegrityTest.cc:262
DTDataIntegrityTest::~DTDataIntegrityTest
~DTDataIntegrityTest() override
Destructor.
Definition:
DTDataIntegrityTest.cc:36
ParameterSet.h
DTDataIntegrityTest::nLumiSegs
unsigned int nLumiSegs
Definition:
DTDataIntegrityTest.h:62
DTReadOutMapping
Definition:
DTReadOutMapping.h:62
Generated for CMSSW Reference Manual by
1.8.16