DQM
DTMonitorClient
src
DTDAQInfo.h
Go to the documentation of this file.
1
#ifndef DTMonitorClient_DTDAQInfo_H
2
#define DTMonitorClient_DTDAQInfo_H
3
13
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
14
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
15
#include "
FWCore/Framework/interface/ESHandle.h
"
16
#include "
DQMServices/Core/interface/DQMStore.h
"
17
18
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
19
20
#include "
CondFormats/DataRecord/interface/DTReadOutMappingRcd.h
"
21
#include "
CondFormats/DataRecord/interface/RunSummaryRcd.h
"
22
23
#include <map>
24
25
class
DTReadOutMapping
;
26
class
RunInfo
;
27
28
class
DTDAQInfo
:
public
DQMEDHarvester
{
29
public
:
31
DTDAQInfo
(
const
edm::ParameterSet
&
pset
);
32
34
~DTDAQInfo
()
override
;
35
36
// Operations
37
38
protected
:
39
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
40
DQMStore::IGetter
&,
41
edm::LuminosityBlock
const
&,
42
edm::EventSetup
const
&)
override
;
43
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
44
45
private
:
46
bool
bookingdone
;
47
48
// Check FEDs from uROS, otherwise standard ROS
49
bool
checkUros
;
50
51
MonitorElement
*
totalDAQFraction
;
52
MonitorElement
*
daqMap
;
53
std::map<int, MonitorElement *>
daqFractions
;
54
edm::ESGetToken<DTReadOutMapping, DTReadOutMappingRcd>
mappingToken_
;
55
const
DTReadOutMapping
*
mapping
;
56
57
edm::ESGetToken<RunInfo, RunInfoRcd>
runInfoToken_
;
58
const
RunInfo
*
sumFED
;
59
};
60
61
#endif
DQMEDHarvester.h
DTDAQInfo::daqFractions
std::map< int, MonitorElement * > daqFractions
Definition:
DTDAQInfo.h:53
RunSummaryRcd.h
DTDAQInfo::mappingToken_
edm::ESGetToken< DTReadOutMapping, DTReadOutMappingRcd > mappingToken_
Definition:
DTDAQInfo.h:54
ESHandle.h
edm::LuminosityBlock
Definition:
LuminosityBlock.h:50
DTDAQInfo
Definition:
DTDAQInfo.h:28
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:462
DTDAQInfo::daqMap
MonitorElement * daqMap
Definition:
DTDAQInfo.h:52
EDAnalyzer.h
DTDAQInfo::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
DTDAQInfo.cc:125
DTDAQInfo::runInfoToken_
edm::ESGetToken< RunInfo, RunInfoRcd > runInfoToken_
Definition:
DTDAQInfo.h:57
DTDAQInfo::checkUros
bool checkUros
Definition:
DTDAQInfo.h:49
DTDAQInfo::totalDAQFraction
MonitorElement * totalDAQFraction
Definition:
DTDAQInfo.h:51
RunInfo
Definition:
RunInfo.h:18
DTDAQInfo::mapping
const DTReadOutMapping * mapping
Definition:
DTDAQInfo.h:55
DTDAQInfo::~DTDAQInfo
~DTDAQInfo() override
Destructor.
Definition:
DTDAQInfo.cc:36
DTReadOutMappingRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:47
DTDAQInfo::sumFED
const RunInfo * sumFED
Definition:
DTDAQInfo.h:58
edm::EventSetup
Definition:
EventSetup.h:58
edm::ESGetToken< DTReadOutMapping, DTReadOutMappingRcd >
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
Frameworkfwd.h
dqm::implementation::IGetter
Definition:
DQMStore.h:484
dqm::implementation::IBooker
Definition:
DQMStore.h:43
DTDAQInfo::bookingdone
bool bookingdone
Definition:
DTDAQInfo.h:46
DTDAQInfo::DTDAQInfo
DTDAQInfo(const edm::ParameterSet &pset)
Constructor.
Definition:
DTDAQInfo.cc:29
DTDAQInfo::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition:
DTDAQInfo.cc:38
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DTReadOutMapping
Definition:
DTReadOutMapping.h:62
Generated for CMSSW Reference Manual by
1.8.16