DQMOffline
Muon
interface
DTSegmentsTask.h
Go to the documentation of this file.
1
#ifndef DTSegmentsTask_H
2
#define DTSegmentsTask_H
3
10
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include <
FWCore/Framework/interface/EDAnalyzer.h
>
13
14
//RecHit
15
#include "
DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h
"
16
#include "
CondFormats/DataRecord/interface/DTStatusFlagRcd.h
"
17
#include "
CondFormats/DTObjects/interface/DTStatusFlag.h
"
18
19
#include "
DQMServices/Core/interface/DQMStore.h
"
20
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
21
22
#include <string>
23
#include <vector>
24
25
class
DTSegmentsTask
:
public
DQMEDAnalyzer
{
26
public
:
28
DTSegmentsTask
(
const
edm::ParameterSet
&
pset
);
29
31
~DTSegmentsTask
()
override
;
32
34
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
35
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
36
37
protected
:
38
private
:
39
// Switch for verbosity
40
bool
debug
;
41
bool
checkNoisyChannels
;
42
edm::ParameterSet
parameters
;
43
44
const
edm::ESGetToken<DTStatusFlag, DTStatusFlagRcd>
statusMapToken_
;
45
46
// the histos
47
std::vector<MonitorElement *>
phiHistos
;
48
std::vector<MonitorElement *>
thetaHistos
;
49
50
// Label of 4D segments in the event
51
edm::EDGetTokenT<DTRecSegment4DCollection>
theRecHits4DLabel_
;
52
};
53
#endif
DTSegmentsTask
Definition:
DTSegmentsTask.h:25
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< DTRecSegment4DCollection >
DQMStore.h
DTStatusFlagRcd.h
EDAnalyzer.h
DTSegmentsTask::theRecHits4DLabel_
edm::EDGetTokenT< DTRecSegment4DCollection > theRecHits4DLabel_
Definition:
DTSegmentsTask.h:51
DTStatusFlag.h
DTSegmentsTask::parameters
edm::ParameterSet parameters
Definition:
DTSegmentsTask.h:42
DQMEDAnalyzer.h
DTSegmentsTask::checkNoisyChannels
bool checkNoisyChannels
Definition:
DTSegmentsTask.h:41
DTSegmentsTask::debug
bool debug
Definition:
DTSegmentsTask.h:40
DTSegmentsTask::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
DTSegmentsTask.cc:42
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
edm::ParameterSet
Definition:
ParameterSet.h:47
DTSegmentsTask::statusMapToken_
const edm::ESGetToken< DTStatusFlag, DTStatusFlagRcd > statusMapToken_
Definition:
DTSegmentsTask.h:44
edm::EventSetup
Definition:
EventSetup.h:58
DTSegmentsTask::thetaHistos
std::vector< MonitorElement * > thetaHistos
Definition:
DTSegmentsTask.h:48
edm::ESGetToken< DTStatusFlag, DTStatusFlagRcd >
DTSegmentsTask::~DTSegmentsTask
~DTSegmentsTask() override
Destructor.
Definition:
DTSegmentsTask.cc:40
Frameworkfwd.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ParameterSet.h
DTSegmentsTask::DTSegmentsTask
DTSegmentsTask(const edm::ParameterSet &pset)
Constructor.
Definition:
DTSegmentsTask.cc:27
edm::Event
Definition:
Event.h:73
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DTSegmentsTask::phiHistos
std::vector< MonitorElement * > phiHistos
Definition:
DTSegmentsTask.h:47
DTRecSegment4DCollection.h
DTSegmentsTask::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
book the histos
Definition:
DTSegmentsTask.cc:111
Generated for CMSSW Reference Manual by
1.8.16