Main Page
Namespaces
Classes
Package Documentation
RecoMuon
MuonIdentification
interface
DTTimingExtractor.h
Go to the documentation of this file.
1
#ifndef MuonIdentification_DTTimingExtractor_H
2
#define MuonIdentification_DTTimingExtractor_H
3
9
//
10
// Original Author: Traczyk Piotr
11
// Created: Thu Oct 11 15:01:28 CEST 2007
12
//
13
//
14
15
// system include files
16
#include <memory>
17
18
// user include files
19
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
20
#include "
FWCore/Framework/interface/EDProducer.h
"
21
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/Framework/interface/MakerMacros.h
"
24
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
27
#include "
RecoMuon/TrackingTools/interface/MuonServiceProxy.h
"
28
29
#include "
DataFormats/Common/interface/Ref.h
"
30
31
#include "
Geometry/Records/interface/GlobalTrackingGeometryRecord.h
"
32
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
33
34
#include "
DataFormats/MuonReco/interface/Muon.h
"
35
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
36
#include "
RecoMuon/TrackingTools/interface/MuonSegmentMatcher.h
"
37
#include "
RecoMuon/MuonIdentification/interface/TimeMeasurementSequence.h
"
38
39
#include "
DataFormats/TrackReco/interface/Track.h
"
40
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
41
#include "
DataFormats/TrackReco/interface/TrackExtra.h
"
42
#include "
DataFormats/TrackReco/interface/TrackExtraFwd.h
"
43
44
#include <vector>
45
46
namespace
edm
{
47
class
ParameterSet
;
48
class
EventSetup
;
49
class
InputTag
;
50
}
// namespace edm
51
52
class
MuonServiceProxy
;
53
54
class
DTTimingExtractor
{
55
public
:
57
DTTimingExtractor
(
const
edm::ParameterSet
&,
MuonSegmentMatcher
* segMatcher);
58
60
~
DTTimingExtractor
();
61
62
class
TimeMeasurement
{
63
public
:
64
bool
isLeft
;
65
bool
isPhi
;
66
float
posInLayer
;
67
float
distIP
;
68
float
timeCorr
;
69
int
station
;
70
DetId
driftCell
;
71
};
72
73
void
fillTiming(
TimeMeasurementSequence
& tmSequence,
74
const
std::vector<const DTRecSegment4D*>& segments,
75
reco::TrackRef
muonTrack,
76
const
edm::Event
&
iEvent
,
77
const
edm::EventSetup
& iSetup);
78
79
void
fillTiming(
TimeMeasurementSequence
& tmSequence,
80
reco::TrackRef
muonTrack,
81
const
edm::Event
&
iEvent
,
82
const
edm::EventSetup
& iSetup);
83
84
private
:
85
double
fitT0(
double
&
a
,
86
double
&
b
,
87
const
std::vector<double>& xl,
88
const
std::vector<double>& yl,
89
const
std::vector<double>& xr,
90
const
std::vector<double>& yr);
91
92
edm::InputTag
DTSegmentTags_
;
93
unsigned
int
theHitsMin_
;
94
double
thePruneCut_
;
95
double
theTimeOffset_
;
96
double
theError_
;
97
bool
useSegmentT0_
;
98
bool
doWireCorr_
;
99
bool
dropTheta_
;
100
bool
requireBothProjections_
;
101
bool
debug
;
102
103
std::unique_ptr<MuonServiceProxy>
theService
;
104
MuonSegmentMatcher
*
theMatcher
;
105
};
106
107
#endif
DTTimingExtractor::thePruneCut_
double thePruneCut_
Definition:
DTTimingExtractor.h:94
DTTimingExtractor::theTimeOffset_
double theTimeOffset_
Definition:
DTTimingExtractor.h:95
HLT_2018_cff.InputTag
InputTag
Definition:
HLT_2018_cff.py:78913
DTTimingExtractor::TimeMeasurement::distIP
float distIP
Definition:
DTTimingExtractor.h:67
DTTimingExtractor::TimeMeasurement::station
int station
Definition:
DTTimingExtractor.h:69
GlobalTrackingGeometryRecord.h
ParameterSet
Definition:
Functions.h:16
edm::Ref< TrackCollection >
MuonServiceProxy.h
Event.h
DTTimingExtractor::doWireCorr_
bool doWireCorr_
Definition:
DTTimingExtractor.h:98
MakerMacros.h
DTTimingExtractor::TimeMeasurement::posInLayer
float posInLayer
Definition:
DTTimingExtractor.h:66
TrackFwd.h
MuonSegmentMatcher.h
DTTimingExtractor::theError_
double theError_
Definition:
DTTimingExtractor.h:96
Frameworkfwd.h
MuonFwd.h
ParameterSet.h
EventSetup
iEvent
int iEvent
Definition:
GenABIO.cc:224
DTTimingExtractor::TimeMeasurement::isLeft
bool isLeft
Definition:
DTTimingExtractor.h:64
MuonServiceProxy
Definition:
MuonServiceProxy.h:30
DTTimingExtractor::DTSegmentTags_
edm::InputTag DTSegmentTags_
Definition:
DTTimingExtractor.h:92
edm::EventSetup
Definition:
EventSetup.h:57
DTTimingExtractor::dropTheta_
bool dropTheta_
Definition:
DTTimingExtractor.h:99
Muon.h
TrackExtraFwd.h
DTTimingExtractor::theService
std::unique_ptr< MuonServiceProxy > theService
Definition:
DTTimingExtractor.h:103
EDProducer.h
DTTimingExtractor::theHitsMin_
unsigned int theHitsMin_
Definition:
DTTimingExtractor.h:93
DetId
Definition:
DetId.h:17
TrackExtra.h
TimeMeasurementSequence
Definition:
TimeMeasurementSequence.h:15
TimeMeasurementSequence.h
DTTimingExtractor::TimeMeasurement::timeCorr
float timeCorr
Definition:
DTTimingExtractor.h:68
Ref.h
b
double b
Definition:
hdecay.h:118
DTTimingExtractor::requireBothProjections_
bool requireBothProjections_
Definition:
DTTimingExtractor.h:100
DTTimingExtractor::theMatcher
MuonSegmentMatcher * theMatcher
Definition:
DTTimingExtractor.h:104
MuonSegmentMatcher
Definition:
MuonSegmentMatcher.h:29
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::InputTag
Definition:
InputTag.h:15
a
double a
Definition:
hdecay.h:119
DTTimingExtractor::TimeMeasurement::driftCell
DetId driftCell
Definition:
DTTimingExtractor.h:70
edm::ParameterSet
Definition:
ParameterSet.h:36
GlobalTrackingGeometry.h
edm::Event
Definition:
Event.h:72
Track.h
DTTimingExtractor::useSegmentT0_
bool useSegmentT0_
Definition:
DTTimingExtractor.h:97
DTTimingExtractor::TimeMeasurement
Definition:
DTTimingExtractor.h:62
DTTimingExtractor
Definition:
DTTimingExtractor.h:54
DTTimingExtractor::TimeMeasurement::isPhi
bool isPhi
Definition:
DTTimingExtractor.h:65
DTTimingExtractor::debug
bool debug
Definition:
DTTimingExtractor.h:101
Generated for CMSSW Reference Manual by
1.8.11