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
// the histos
45
std::vector<MonitorElement *>
phiHistos
;
46
std::vector<MonitorElement *>
thetaHistos
;
47
48
// Label of 4D segments in the event
49
edm::EDGetTokenT<DTRecSegment4DCollection>
theRecHits4DLabel_
;
50
};
51
#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:49
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:41
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::EventSetup
Definition:
EventSetup.h:57
DTSegmentsTask::thetaHistos
std::vector< MonitorElement * > thetaHistos
Definition:
DTSegmentsTask.h:46
DTSegmentsTask::~DTSegmentsTask
~DTSegmentsTask() override
Destructor.
Definition:
DTSegmentsTask.cc:39
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:45
DTRecSegment4DCollection.h
DTSegmentsTask::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
book the histos
Definition:
DTSegmentsTask.cc:110
Generated for CMSSW Reference Manual by
1.8.16