Validation
DTRecHits
plugins
DTSegment4DQuality.h
Go to the documentation of this file.
1
#ifndef Validation_DTRecHits_DTSegment4DQuality_h
2
#define Validation_DTRecHits_DTSegment4DQuality_h
3
24
#include <map>
25
#include <string>
26
#include <vector>
27
28
#include "
DQMServices/Core/interface/DQMGlobalEDAnalyzer.h
"
29
#include "
DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h
"
30
#include "
Geometry/Records/interface/MuonGeometryRecord.h
"
31
#include "
FWCore/Utilities/interface/InputTag.h
"
32
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
33
34
namespace
edm
{
35
class
ParameterSet
;
36
class
Event
;
37
class
EventSetup
;
38
}
// namespace edm
39
40
class
HRes4DHit
;
41
class
HEff4DHit
;
42
namespace
dtsegment4d
{
43
struct
Histograms;
44
}
45
46
class
DTSegment4DQuality
:
public
DQMGlobalEDAnalyzer
<dtsegment4d::Histograms> {
47
public
:
49
DTSegment4DQuality
(
const
edm::ParameterSet
&
pset
);
50
51
private
:
53
void
bookHistograms
(
DQMStore::IBooker
&,
54
edm::Run
const
&,
55
edm::EventSetup
const
&,
56
dtsegment4d::Histograms
&)
const override
;
57
59
void
dqmAnalyze
(
edm::Event
const
&,
edm::EventSetup
const
&,
dtsegment4d::Histograms
const
&)
const override
;
60
61
private
:
62
// Labels to read from event
63
edm::InputTag
simHitLabel_
;
64
edm::InputTag
segment4DLabel_
;
65
edm::EDGetTokenT<edm::PSimHitContainer>
simHitToken_
;
66
edm::EDGetTokenT<DTRecSegment4DCollection>
segment4DToken_
;
67
68
//Get DT Geometry
69
edm::ESGetToken<DTGeometry, MuonGeometryRecord>
muonGeomToken_
;
70
71
// Sigma resolution on position
72
double
sigmaResX_
;
73
double
sigmaResY_
;
74
75
// Sigma resolution on angle
76
double
sigmaResAlpha_
;
77
double
sigmaResBeta_
;
78
79
bool
doall_
;
80
bool
local_
;
81
82
// Switch for debug output
83
bool
debug_
;
84
};
85
86
#endif
DTSegment4DQuality::simHitLabel_
edm::InputTag simHitLabel_
Definition:
DTSegment4DQuality.h:63
DTSegment4DQuality::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &, dtsegment4d::Histograms &) const override
Book the DQM plots.
Definition:
DTSegment4DQuality.cc:77
edm::Run
Definition:
Run.h:45
DTSegment4DQuality::sigmaResY_
double sigmaResY_
Definition:
DTSegment4DQuality.h:73
edm::EDGetTokenT< edm::PSimHitContainer >
edm
HLT enums.
Definition:
AlignableModifier.h:19
PSimHitContainer.h
DTSegment4DQuality::DTSegment4DQuality
DTSegment4DQuality(const edm::ParameterSet &pset)
Constructor.
Definition:
DTSegment4DQuality.cc:55
DTSegment4DQuality
Definition:
DTSegment4DQuality.h:46
DTSegment4DQuality::local_
bool local_
Definition:
DTSegment4DQuality.h:80
DTSegment4DQuality::simHitToken_
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
Definition:
DTSegment4DQuality.h:65
DTSegment4DQuality::sigmaResAlpha_
double sigmaResAlpha_
Definition:
DTSegment4DQuality.h:76
dtsegment4d::Histograms
Definition:
DTSegment4DQuality.cc:28
Event
HEff4DHit
A set of histograms for efficiency 4D RecHits (producer)
Definition:
Histograms.h:940
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
DTSegment4DQuality::muonGeomToken_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
Definition:
DTSegment4DQuality.h:69
edm::EventSetup
Definition:
EventSetup.h:58
edm::ESGetToken< DTGeometry, MuonGeometryRecord >
DTSegment4DQuality::segment4DToken_
edm::EDGetTokenT< DTRecSegment4DCollection > segment4DToken_
Definition:
DTSegment4DQuality.h:66
InputTag.h
DTSegment4DQuality::doall_
bool doall_
Definition:
DTSegment4DQuality.h:79
DTSegment4DQuality::sigmaResBeta_
double sigmaResBeta_
Definition:
DTSegment4DQuality.h:77
dtsegment4d
Definition:
DTSegment4DQuality.cc:27
HRes4DHit
Definition:
Histograms.h:421
dqm::implementation::IBooker
Definition:
DQMStore.h:43
DTSegment4DQuality::segment4DLabel_
edm::InputTag segment4DLabel_
Definition:
DTSegment4DQuality.h:64
DQMGlobalEDAnalyzer
Definition:
DQMGlobalEDAnalyzer.h:76
DTSegment4DQuality::sigmaResX_
double sigmaResX_
Definition:
DTSegment4DQuality.h:72
EventSetup
DTSegment4DQuality::debug_
bool debug_
Definition:
DTSegment4DQuality.h:83
MuonGeometryRecord.h
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DTRecSegment4DCollection.h
DTSegment4DQuality::dqmAnalyze
void dqmAnalyze(edm::Event const &, edm::EventSetup const &, dtsegment4d::Histograms const &) const override
Perform the real analysis.
Definition:
DTSegment4DQuality.cc:108
DQMGlobalEDAnalyzer.h
Generated for CMSSW Reference Manual by
1.8.16