Validation
DTRecHits
plugins
DTSegment2DQuality.h
Go to the documentation of this file.
1
#ifndef Validation_DTRecHits_DTSegment2DQuality_h
2
#define Validation_DTRecHits_DTSegment2DQuality_h
3
11
#include <map>
12
#include <string>
13
#include <vector>
14
15
#include "
DQMServices/Core/interface/DQMGlobalEDAnalyzer.h
"
16
#include "
DataFormats/DTRecHit/interface/DTRecSegment2DCollection.h
"
17
#include "
Geometry/Records/interface/MuonGeometryRecord.h
"
18
#include "
FWCore/Utilities/interface/InputTag.h
"
19
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
20
21
namespace
edm
{
22
class
ParameterSet
;
23
class
Event
;
24
class
EventSetup
;
25
}
// namespace edm
26
27
class
HRes2DHit
;
28
class
HEff2DHit
;
29
namespace
dtsegment2d
{
30
struct
Histograms;
31
}
32
33
class
DTSegment2DQuality
:
public
DQMGlobalEDAnalyzer
<dtsegment2d::Histograms> {
34
public
:
36
DTSegment2DQuality
(
const
edm::ParameterSet
&
pset
);
37
38
private
:
40
void
bookHistograms
(
DQMStore::IBooker
&,
41
edm::Run
const
&,
42
edm::EventSetup
const
&,
43
dtsegment2d::Histograms
&)
const override
;
44
46
void
dqmAnalyze
(
edm::Event
const
&,
edm::EventSetup
const
&,
dtsegment2d::Histograms
const
&)
const override
;
47
48
private
:
49
// Labels to read from event
50
edm::InputTag
simHitLabel_
;
51
edm::InputTag
segment2DLabel_
;
52
edm::EDGetTokenT<edm::PSimHitContainer>
simHitToken_
;
53
edm::EDGetTokenT<DTRecSegment2DCollection>
segment2DToken_
;
54
55
//Get DT Geometry
56
edm::ESGetToken<DTGeometry, MuonGeometryRecord>
muonGeomToken_
;
57
58
// Sigma resolution on position
59
double
sigmaResPos_
;
60
61
// Sigma resolution on angle
62
double
sigmaResAngle_
;
63
64
// Switch for debug output
65
bool
debug_
;
66
};
67
68
#endif // Validation_DTRecHits_DTSegment2DQuality_h
DTSegment2DQuality::sigmaResAngle_
double sigmaResAngle_
Definition:
DTSegment2DQuality.h:62
DTRecSegment2DCollection.h
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< edm::PSimHitContainer >
edm
HLT enums.
Definition:
AlignableModifier.h:19
PSimHitContainer.h
DTSegment2DQuality
Definition:
DTSegment2DQuality.h:33
dtsegment2d::Histograms
Definition:
DTSegment2DQuality.cc:28
HEff2DHit
Definition:
Histograms.h:331
DTSegment2DQuality::DTSegment2DQuality
DTSegment2DQuality(const edm::ParameterSet &pset)
Constructor.
Definition:
DTSegment2DQuality.cc:46
DTSegment2DQuality::segment2DLabel_
edm::InputTag segment2DLabel_
Definition:
DTSegment2DQuality.h:51
Event
DTSegment2DQuality::segment2DToken_
edm::EDGetTokenT< DTRecSegment2DCollection > segment2DToken_
Definition:
DTSegment2DQuality.h:53
DTSegment2DQuality::muonGeomToken_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
Definition:
DTSegment2DQuality.h:56
DTSegment2DQuality::sigmaResPos_
double sigmaResPos_
Definition:
DTSegment2DQuality.h:59
DTSegment2DQuality::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &, dtsegment2d::Histograms &) const override
Book the DQM plots.
Definition:
DTSegment2DQuality.cc:67
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
DTSegment2DQuality::dqmAnalyze
void dqmAnalyze(edm::Event const &, edm::EventSetup const &, dtsegment2d::Histograms const &) const override
Perform the real analysis.
Definition:
DTSegment2DQuality.cc:88
DTSegment2DQuality::simHitToken_
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
Definition:
DTSegment2DQuality.h:52
edm::EventSetup
Definition:
EventSetup.h:58
dtsegment2d
Definition:
DTSegment2DQuality.cc:27
edm::ESGetToken< DTGeometry, MuonGeometryRecord >
InputTag.h
HRes2DHit
Definition:
Histograms.h:217
DTSegment2DQuality::debug_
bool debug_
Definition:
DTSegment2DQuality.h:65
dqm::implementation::IBooker
Definition:
DQMStore.h:43
DQMGlobalEDAnalyzer
Definition:
DQMGlobalEDAnalyzer.h:76
EventSetup
MuonGeometryRecord.h
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
DTSegment2DQuality::simHitLabel_
edm::InputTag simHitLabel_
Definition:
DTSegment2DQuality.h:50
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DQMGlobalEDAnalyzer.h
Generated for CMSSW Reference Manual by
1.8.16