DQM
DTMonitorClient
src
DTChamberEfficiencyClient.h
Go to the documentation of this file.
1
#ifndef DTChamberEfficiencyClient_H
2
#define DTChamberEfficiencyClient_H
3
15
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
16
#include <
FWCore/Framework/interface/EDAnalyzer.h
>
17
#include "
DataFormats/Common/interface/Handle.h
"
18
#include <
FWCore/Framework/interface/ESHandle.h
>
19
#include <
FWCore/Framework/interface/Event.h
>
20
#include <
FWCore/Framework/interface/MakerMacros.h
>
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
#include <
FWCore/Framework/interface/LuminosityBlock.h
>
23
24
#include "
DQMServices/Core/interface/DQMStore.h
"
25
#include "
FWCore/ServiceRegistry/interface/Service.h
"
26
27
#include <
DQMServices/Core/interface/DQMEDHarvester.h
>
28
29
#include <memory>
30
#include <iostream>
31
#include <fstream>
32
#include <string>
33
#include <vector>
34
#include <map>
35
36
class
DTGeometry
;
37
class
DTChamberId
;
38
class
DTLayerId
;
39
40
class
DTChamberEfficiencyClient
:
public
DQMEDHarvester
{
41
public
:
43
DTChamberEfficiencyClient
(
const
edm::ParameterSet
&ps);
44
46
~DTChamberEfficiencyClient
()
override
;
47
48
protected
:
49
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
50
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
51
53
54
void
bookHistos
(
DQMStore::IBooker
&);
55
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
56
DQMStore::IGetter
&,
57
edm::LuminosityBlock
const
&,
58
edm::EventSetup
const
&)
override
;
59
60
private
:
61
unsigned
int
nLumiSegs
;
62
int
prescaleFactor
;
63
64
edm::ESHandle<DTGeometry>
muonGeom
;
65
66
//an histogram of efficiency for each wheel, for each quality scenario
67
MonitorElement
*
summaryHistos
[5][2];
68
MonitorElement
*
globalEffSummary
;
69
70
MonitorElement
*
globalEffDistr
;
71
std::map<int, MonitorElement *>
EffDistrPerWh
;
72
};
73
74
#endif
DQMEDHarvester.h
DTChamberEfficiencyClient::EffDistrPerWh
std::map< int, MonitorElement * > EffDistrPerWh
Definition:
DTChamberEfficiencyClient.h:71
DTGeometry
Definition:
DTGeometry.h:28
Handle.h
DTChamberEfficiencyClient::globalEffDistr
MonitorElement * globalEffDistr
Definition:
DTChamberEfficiencyClient.h:70
DTChamberEfficiencyClient::nLumiSegs
unsigned int nLumiSegs
Definition:
DTChamberEfficiencyClient.h:61
ESHandle.h
DTChamberEfficiencyClient::prescaleFactor
int prescaleFactor
Definition:
DTChamberEfficiencyClient.h:62
edm::LuminosityBlock
Definition:
LuminosityBlock.h:50
edm::Run
Definition:
Run.h:45
LuminosityBlock.h
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:462
DTChamberEfficiencyClient::DTChamberEfficiencyClient
DTChamberEfficiencyClient(const edm::ParameterSet &ps)
Constructor.
Definition:
DTChamberEfficiencyClient.cc:29
EDAnalyzer.h
DTChamberEfficiencyClient
Definition:
DTChamberEfficiencyClient.h:40
MakerMacros.h
DTChamberEfficiencyClient::globalEffSummary
MonitorElement * globalEffSummary
Definition:
DTChamberEfficiencyClient.h:68
Service.h
DTChamberEfficiencyClient::summaryHistos
MonitorElement * summaryHistos[5][2]
Definition:
DTChamberEfficiencyClient.h:67
edm::ESHandle< DTGeometry >
DTChamberEfficiencyClient::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
DTChamberEfficiencyClient.cc:39
DTLayerId
Definition:
DTLayerId.h:12
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
DTChamberEfficiencyClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
DTChamberEfficiencyClient.cc:51
edm::EventSetup
Definition:
EventSetup.h:58
DTChamberEfficiencyClient::muonGeom
edm::ESHandle< DTGeometry > muonGeom
Definition:
DTChamberEfficiencyClient.h:64
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
Frameworkfwd.h
dqm::implementation::IGetter
Definition:
DQMStore.h:484
DTChamberEfficiencyClient::~DTChamberEfficiencyClient
~DTChamberEfficiencyClient() override
Destructor.
Definition:
DTChamberEfficiencyClient.cc:35
dqm::implementation::IBooker
Definition:
DQMStore.h:43
DTChamberId
Definition:
DTChamberId.h:14
ParameterSet.h
DTChamberEfficiencyClient::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition:
DTChamberEfficiencyClient.cc:44
DTChamberEfficiencyClient::bookHistos
void bookHistos(DQMStore::IBooker &)
book the report summary
Definition:
DTChamberEfficiencyClient.cc:184
Generated for CMSSW Reference Manual by
1.8.16