Main Page
Namespaces
Classes
Package Documentation
DQM
DTMonitorClient
src
DTDCSSummary.cc
Go to the documentation of this file.
1
2
/*
3
* See header file for a description of this class.
4
*
5
* \author G. Cerminara - INFN Torino
6
*
7
* threadsafe version (//-) oct/nov 2014 - WATWanAbdullah ncpp-um-my
8
*
9
*/
10
11
12
#include "
DQM/DTMonitorClient/src/DTDCSSummary.h
"
13
#include "
DataFormats/FEDRawData/interface/FEDNumbering.h
"
14
15
#include "
FWCore/ServiceRegistry/interface/Service.h
"
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
#include "
FWCore/Framework/interface/EventSetup.h
"
18
19
#include "
DQMServices/Core/interface/DQMStore.h
"
20
#include "
DQMServices/Core/interface/MonitorElement.h
"
21
22
23
using namespace
std
;
24
using namespace
edm
;
25
26
27
28
DTDCSSummary::DTDCSSummary
(
const
ParameterSet
&
pset
) {
29
30
bookingdone =
false
;
31
32
}
33
34
DTDCSSummary::~DTDCSSummary
() {}
35
36
void
DTDCSSummary::dqmEndLuminosityBlock
(
DQMStore::IBooker
& ibooker,
DQMStore::IGetter
& igetter,
37
edm::LuminosityBlock
const
& lumiSeg,
edm::EventSetup
const
& context) {
38
39
if
(bookingdone)
return
;
40
41
ibooker.
setCurrentFolder
(
"DT/EventInfo/DCSContents"
);
42
// global fraction
43
totalDCSFraction = ibooker.
bookFloat
(
"DTDCSSummary"
);
44
totalDCSFraction->
Fill
(-1);
45
// Wheel "fractions" -> will be 0 or 1
46
for
(
int
wheel
= -2;
wheel
!= 3; ++
wheel
) {
47
stringstream streams;
48
streams <<
"DT_Wheel"
<<
wheel
;
49
dcsFractions[
wheel
] = ibooker.
bookFloat
(streams.str());
50
dcsFractions[
wheel
]->
Fill
(-1);
51
}
52
53
bookingdone =
true
;
54
}
55
56
void
DTDCSSummary::dqmEndJob
(
DQMStore::IBooker
& ibooker,
DQMStore::IGetter
& igetter) {}
DTDCSSummary::~DTDCSSummary
~DTDCSSummary() override
Destructor.
Definition:
DTDCSSummary.cc:34
makeMuonMisalignmentScenario.wheel
wheel
Definition:
makeMuonMisalignmentScenario.py:317
edm::LuminosityBlock
Definition:
LuminosityBlock.h:46
EventSetup.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
std
Definition:
JetResolutionObject.h:76
DTDCSSummary::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition:
DTDCSSummary.cc:36
MonitorElement::Fill
void Fill(long long x)
Definition:
MonitorElement.h:166
DTDCSSummary.h
DQMStore::IGetter
Definition:
DQMStore.h:298
DQMStore.h
ESHandle.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:48
DQMStore::IBooker::setCurrentFolder
void setCurrentFolder(const std::string &fullpath)
Definition:
DQMStore.cc:279
MonitorElement.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
DTDCSSummary::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
DTDCSSummary.cc:56
edm::ParameterSet
Definition:
ParameterSet.h:36
DQMStore::IBooker::bookFloat
MonitorElement * bookFloat(Args &&...args)
Definition:
DQMStore.h:112
DQMStore::IBooker
Definition:
DQMStore.h:93
FEDNumbering.h
DTDCSSummary::DTDCSSummary
DTDCSSummary(const edm::ParameterSet &pset)
Constructor.
Definition:
DTDCSSummary.cc:28
Generated for CMSSW Reference Manual by
1.8.11