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 "
DQMServices/Core/interface/DQMStore.h
"
22
23
#include <
DQMServices/Core/interface/DQMEDHarvester.h
>
24
25
class
DTReadOutMapping
;
26
27
class
DTDataIntegrityTest
:
public
DQMEDHarvester
{
28
public
:
30
DTDataIntegrityTest
(
const
edm::ParameterSet
&ps);
31
33
~DTDataIntegrityTest
()
override
;
34
35
protected
:
36
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
37
39
std::string
getMEName
(
std::string
histoType,
int
FEDId);
40
42
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
43
DQMStore::IGetter
&,
44
edm::LuminosityBlock
const
&,
45
edm::EventSetup
const
&)
override
;
46
47
private
:
48
int
readOutToGeometry
(
int
dduId,
int
rosNumber,
int
&
wheel
,
int
§or);
49
int
getROS
(
int
uROS,
int
link
);
50
51
//Number of onUpdates
52
int
nupdates
;
53
54
// prescale on the # of LS to update the test
55
int
prescaleFactor
;
56
57
//Counter between 0 and nTimeBin
58
int
counter
;
59
60
int
nevents
;
61
unsigned
int
nLumiSegs
;
62
63
int
run
;
64
65
bool
bookingdone
;
66
67
edm::ESHandle<DTReadOutMapping>
mapping
;
68
69
// Monitor Elements
70
MonitorElement
*
summaryHisto
;
71
MonitorElement
*
summaryTDCHisto
;
72
MonitorElement
*
glbSummaryHisto
;
73
};
74
75
#endif
DQMEDHarvester.h
DTDataIntegrityTest::summaryTDCHisto
MonitorElement * summaryTDCHisto
Definition:
DTDataIntegrityTest.h:71
DTDataIntegrityTest::DTDataIntegrityTest
DTDataIntegrityTest(const edm::ParameterSet &ps)
Constructor.
Definition:
DTDataIntegrityTest.cc:27
MainPageGenerator.link
link
Definition:
MainPageGenerator.py:271
ESHandle.h
DTDataIntegrityTest::nupdates
int nupdates
Definition:
DTDataIntegrityTest.h:52
edm::LuminosityBlock
Definition:
LuminosityBlock.h:50
LuminosityBlock.h
DTuROSControlData.h
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:461
EDAnalyzer.h
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:58
DTDataIntegrityTest::prescaleFactor
int prescaleFactor
Definition:
DTDataIntegrityTest.h:55
edm::ESHandle< DTReadOutMapping >
DTDataIntegrityTest::bookingdone
bool bookingdone
Definition:
DTDataIntegrityTest.h:65
DTDataIntegrityTest::summaryHisto
MonitorElement * summaryHisto
Definition:
DTDataIntegrityTest.h:70
DTDataIntegrityTest::mapping
edm::ESHandle< DTReadOutMapping > mapping
Definition:
DTDataIntegrityTest.h:67
DTDataIntegrityTest::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
DQM Client Diagnostic.
Definition:
DTDataIntegrityTest.cc:41
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
DTDataIntegrityTest::nevents
int nevents
Definition:
DTDataIntegrityTest.h:60
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:57
DTDataIntegrityTest::glbSummaryHisto
MonitorElement * glbSummaryHisto
Definition:
DTDataIntegrityTest.h:72
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
DTDataIntegrityTest
Definition:
DTDataIntegrityTest.h:27
DTDataIntegrityTest::run
int run
Definition:
DTDataIntegrityTest.h:63
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:61
DTReadOutMapping
Definition:
DTReadOutMapping.h:62
Generated for CMSSW Reference Manual by
1.8.16