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
}
51
52
class
MuonServiceProxy
;
53
54
class
DTTimingExtractor
{
55
56
public
:
57
59
DTTimingExtractor
(
const
edm::ParameterSet
&,
MuonSegmentMatcher
*segMatcher);
60
62
~
DTTimingExtractor
();
63
64
class
TimeMeasurement
65
{
66
public
:
67
bool
isLeft
;
68
bool
isPhi
;
69
float
posInLayer
;
70
float
distIP
;
71
float
timeCorr
;
72
int
station
;
73
DetId
driftCell
;
74
};
75
76
void
fillTiming(
TimeMeasurementSequence
&tmSequence,
77
const
std::vector<const DTRecSegment4D*> &segments,
78
reco::TrackRef
muonTrack,
79
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup);
80
81
void
fillTiming(
TimeMeasurementSequence
&tmSequence,
reco::TrackRef
muonTrack,
82
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup);
83
84
private
:
85
double
fitT0(
double
&
a
,
double
&
b
,
const
std::vector<double>& xl,
const
std::vector<double>& yl,
const
std::vector<double>& xr,
const
std::vector<double>& yr );
86
87
edm::InputTag
DTSegmentTags_
;
88
unsigned
int
theHitsMin_
;
89
double
thePruneCut_
;
90
double
theTimeOffset_
;
91
double
theError_
;
92
bool
useSegmentT0_
;
93
bool
doWireCorr_
;
94
bool
dropTheta_
;
95
bool
requireBothProjections_
;
96
bool
debug
;
97
98
std::unique_ptr<MuonServiceProxy>
theService
;
99
MuonSegmentMatcher
*
theMatcher
;
100
101
};
102
103
#endif
DTTimingExtractor::thePruneCut_
double thePruneCut_
Definition:
DTTimingExtractor.h:89
DTTimingExtractor::theTimeOffset_
double theTimeOffset_
Definition:
DTTimingExtractor.h:90
DTTimingExtractor::TimeMeasurement::distIP
float distIP
Definition:
DTTimingExtractor.h:70
DTTimingExtractor::TimeMeasurement::station
int station
Definition:
DTTimingExtractor.h:72
GlobalTrackingGeometryRecord.h
ParameterSet
Definition:
Functions.h:16
edm::Ref< TrackCollection >
MuonServiceProxy.h
Event.h
DTTimingExtractor::doWireCorr_
bool doWireCorr_
Definition:
DTTimingExtractor.h:93
MakerMacros.h
DTTimingExtractor::TimeMeasurement::posInLayer
float posInLayer
Definition:
DTTimingExtractor.h:69
TrackFwd.h
MuonSegmentMatcher.h
DTTimingExtractor::theError_
double theError_
Definition:
DTTimingExtractor.h:91
Frameworkfwd.h
MuonFwd.h
ParameterSet.h
EventSetup
iEvent
int iEvent
Definition:
GenABIO.cc:230
DTTimingExtractor::TimeMeasurement::isLeft
bool isLeft
Definition:
DTTimingExtractor.h:67
MuonServiceProxy
Definition:
MuonServiceProxy.h:27
DTTimingExtractor::DTSegmentTags_
edm::InputTag DTSegmentTags_
Definition:
DTTimingExtractor.h:87
edm::EventSetup
Definition:
EventSetup.h:48
DTTimingExtractor::dropTheta_
bool dropTheta_
Definition:
DTTimingExtractor.h:94
Muon.h
TrackExtraFwd.h
DTTimingExtractor::theService
std::unique_ptr< MuonServiceProxy > theService
Definition:
DTTimingExtractor.h:98
EDProducer.h
DTTimingExtractor::theHitsMin_
unsigned int theHitsMin_
Definition:
DTTimingExtractor.h:88
DetId
Definition:
DetId.h:18
TrackExtra.h
TimeMeasurementSequence
Definition:
TimeMeasurementSequence.h:15
TimeMeasurementSequence.h
DTTimingExtractor::TimeMeasurement::timeCorr
float timeCorr
Definition:
DTTimingExtractor.h:71
Ref.h
b
double b
Definition:
hdecay.h:120
DTTimingExtractor::requireBothProjections_
bool requireBothProjections_
Definition:
DTTimingExtractor.h:95
DTTimingExtractor::theMatcher
MuonSegmentMatcher * theMatcher
Definition:
DTTimingExtractor.h:99
MuonSegmentMatcher
Definition:
MuonSegmentMatcher.h:24
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::InputTag
Definition:
InputTag.h:15
a
double a
Definition:
hdecay.h:121
DTTimingExtractor::TimeMeasurement::driftCell
DetId driftCell
Definition:
DTTimingExtractor.h:73
edm::ParameterSet
Definition:
ParameterSet.h:36
GlobalTrackingGeometry.h
edm::Event
Definition:
Event.h:69
Track.h
DTTimingExtractor::useSegmentT0_
bool useSegmentT0_
Definition:
DTTimingExtractor.h:92
DTTimingExtractor::TimeMeasurement
Definition:
DTTimingExtractor.h:64
DTTimingExtractor
Definition:
DTTimingExtractor.h:54
DTTimingExtractor::TimeMeasurement::isPhi
bool isPhi
Definition:
DTTimingExtractor.h:68
DTTimingExtractor::debug
bool debug
Definition:
DTTimingExtractor.h:96
Generated for CMSSW Reference Manual by
1.8.11