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 "
FWCore/Utilities/interface/InputTag.h
"
18
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
19
20
namespace
edm
{
21
class
ParameterSet
;
22
class
Event
;
23
class
EventSetup
;
24
}
// namespace edm
25
26
class
HRes2DHit
;
27
class
HEff2DHit
;
28
namespace
dtsegment2d
{
29
struct
Histograms;
30
}
31
32
class
DTSegment2DQuality
:
public
DQMGlobalEDAnalyzer
<dtsegment2d::Histograms> {
33
public
:
35
DTSegment2DQuality
(
const
edm::ParameterSet
&
pset
);
36
37
private
:
39
void
bookHistograms
(
DQMStore::IBooker
&,
40
edm::Run
const
&,
41
edm::EventSetup
const
&,
42
dtsegment2d::Histograms
&)
const override
;
43
45
void
dqmAnalyze
(
edm::Event
const
&,
edm::EventSetup
const
&,
dtsegment2d::Histograms
const
&)
const override
;
46
47
private
:
48
// Labels to read from event
49
edm::InputTag
simHitLabel_
;
50
edm::InputTag
segment2DLabel_
;
51
edm::EDGetTokenT<edm::PSimHitContainer>
simHitToken_
;
52
edm::EDGetTokenT<DTRecSegment2DCollection>
segment2DToken_
;
53
54
// Sigma resolution on position
55
double
sigmaResPos_
;
56
57
// Sigma resolution on angle
58
double
sigmaResAngle_
;
59
60
// Switch for debug output
61
bool
debug_
;
62
};
63
64
#endif // Validation_DTRecHits_DTSegment2DQuality_h
DTSegment2DQuality::sigmaResAngle_
double sigmaResAngle_
Definition:
DTSegment2DQuality.h:58
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:32
dtsegment2d::Histograms
Definition:
DTSegment2DQuality.cc:29
HEff2DHit
Definition:
Histograms.h:331
DTSegment2DQuality::DTSegment2DQuality
DTSegment2DQuality(const edm::ParameterSet &pset)
Constructor.
Definition:
DTSegment2DQuality.cc:47
DTSegment2DQuality::segment2DLabel_
edm::InputTag segment2DLabel_
Definition:
DTSegment2DQuality.h:50
Event
DTSegment2DQuality::segment2DToken_
edm::EDGetTokenT< DTRecSegment2DCollection > segment2DToken_
Definition:
DTSegment2DQuality.h:52
DTSegment2DQuality::sigmaResPos_
double sigmaResPos_
Definition:
DTSegment2DQuality.h:55
DTSegment2DQuality::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &, dtsegment2d::Histograms &) const override
Book the DQM plots.
Definition:
DTSegment2DQuality.cc:68
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:89
DTSegment2DQuality::simHitToken_
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
Definition:
DTSegment2DQuality.h:51
edm::EventSetup
Definition:
EventSetup.h:57
dtsegment2d
Definition:
DTSegment2DQuality.cc:28
InputTag.h
HRes2DHit
Definition:
Histograms.h:217
DTSegment2DQuality::debug_
bool debug_
Definition:
DTSegment2DQuality.h:61
dqm::implementation::IBooker
Definition:
DQMStore.h:43
DQMGlobalEDAnalyzer
Definition:
DQMGlobalEDAnalyzer.h:76
EventSetup
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
DTSegment2DQuality::simHitLabel_
edm::InputTag simHitLabel_
Definition:
DTSegment2DQuality.h:49
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DQMGlobalEDAnalyzer.h
Generated for CMSSW Reference Manual by
1.8.16