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,
reco::TrackRef
muonTrack,
77
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup);
78
79
private
:
80
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 );
81
82
edm::InputTag
DTSegmentTags_
;
83
unsigned
int
theHitsMin_
;
84
double
thePruneCut_
;
85
double
theTimeOffset_
;
86
double
theError_
;
87
bool
useSegmentT0_
;
88
bool
doWireCorr_
;
89
bool
dropTheta_
;
90
bool
requireBothProjections_
;
91
bool
debug
;
92
93
std::unique_ptr<MuonServiceProxy>
theService
;
94
MuonSegmentMatcher
*
theMatcher
;
95
96
};
97
98
#endif
DTTimingExtractor::thePruneCut_
double thePruneCut_
Definition:
DTTimingExtractor.h:84
DTTimingExtractor::theTimeOffset_
double theTimeOffset_
Definition:
DTTimingExtractor.h:85
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:88
MakerMacros.h
DTTimingExtractor::TimeMeasurement::posInLayer
float posInLayer
Definition:
DTTimingExtractor.h:69
TrackFwd.h
MuonSegmentMatcher.h
DTTimingExtractor::theError_
double theError_
Definition:
DTTimingExtractor.h:86
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:82
edm::EventSetup
Definition:
EventSetup.h:44
DTTimingExtractor::dropTheta_
bool dropTheta_
Definition:
DTTimingExtractor.h:89
Muon.h
TrackExtraFwd.h
DTTimingExtractor::theService
std::unique_ptr< MuonServiceProxy > theService
Definition:
DTTimingExtractor.h:93
EDProducer.h
DTTimingExtractor::theHitsMin_
unsigned int theHitsMin_
Definition:
DTTimingExtractor.h:83
DetId
Definition:
DetId.h:18
TrackExtra.h
TimeMeasurementSequence
Definition:
TimeMeasurementSequence.h:13
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:90
DTTimingExtractor::theMatcher
MuonSegmentMatcher * theMatcher
Definition:
DTTimingExtractor.h:94
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:66
Track.h
DTTimingExtractor::useSegmentT0_
bool useSegmentT0_
Definition:
DTTimingExtractor.h:87
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:91
Generated for CMSSW Reference Manual by
1.8.11