Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
// $Id: DTTimingExtractor.h,v 1.6 2011/01/21 09:30:10 ptraczyk Exp $
13
//
14
//
15
16
// system include files
17
#include <memory>
18
19
// user include files
20
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
21
#include "
FWCore/Framework/interface/EDProducer.h
"
22
23
#include "
FWCore/Framework/interface/Event.h
"
24
#include "
FWCore/Framework/interface/MakerMacros.h
"
25
26
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
27
28
#include "
RecoMuon/TrackingTools/interface/MuonServiceProxy.h
"
29
30
#include "
DataFormats/Common/interface/Ref.h
"
31
32
#include "
Geometry/Records/interface/GlobalTrackingGeometryRecord.h
"
33
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
34
35
#include "
DataFormats/MuonReco/interface/Muon.h
"
36
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
37
#include "
RecoMuon/TrackingTools/interface/MuonSegmentMatcher.h
"
38
#include "
RecoMuon/MuonIdentification/interface/TimeMeasurementSequence.h
"
39
40
#include "
DataFormats/TrackReco/interface/Track.h
"
41
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
42
#include "
DataFormats/TrackReco/interface/TrackExtra.h
"
43
#include "
DataFormats/TrackReco/interface/TrackExtraFwd.h
"
44
45
#include <vector>
46
47
namespace
edm {
48
class
ParameterSet
;
49
class
EventSetup
;
50
class
InputTag;
51
}
52
53
class
MuonServiceProxy
;
54
55
class
DTTimingExtractor
{
56
57
public
:
58
60
DTTimingExtractor
(
const
edm::ParameterSet
&);
61
63
~DTTimingExtractor
();
64
65
class
TimeMeasurement
66
{
67
public
:
68
bool
isLeft
;
69
bool
isPhi
;
70
float
posInLayer
;
71
float
distIP
;
72
float
timeCorr
;
73
int
station
;
74
DetId
driftCell
;
75
};
76
77
void
fillTiming
(
TimeMeasurementSequence
&tmSequence,
reco::TrackRef
muonTrack,
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup);
78
79
private
:
80
double
fitT0
(
double
&
a
,
double
&
b
, std::vector<double> xl, std::vector<double> yl, std::vector<double> xr, 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
MuonServiceProxy
*
theService
;
94
95
MuonSegmentMatcher
*
theMatcher
;
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:71
DTTimingExtractor::TimeMeasurement::station
int station
Definition:
DTTimingExtractor.h:73
DTTimingExtractor::DTTimingExtractor
DTTimingExtractor(const edm::ParameterSet &)
Constructor.
Definition:
DTTimingExtractor.cc:76
GlobalTrackingGeometryRecord.h
ParameterSet
Definition:
Functions.h:16
MuonServiceProxy.h
Event.h
DTTimingExtractor::doWireCorr_
bool doWireCorr_
Definition:
DTTimingExtractor.h:88
MakerMacros.h
DTTimingExtractor::TimeMeasurement::posInLayer
float posInLayer
Definition:
DTTimingExtractor.h:70
TrackFwd.h
MuonSegmentMatcher.h
DTTimingExtractor::theError_
double theError_
Definition:
DTTimingExtractor.h:86
DTTimingExtractor::fillTiming
void fillTiming(TimeMeasurementSequence &tmSequence, reco::TrackRef muonTrack, const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition:
DTTimingExtractor.cc:111
Frameworkfwd.h
MuonFwd.h
ParameterSet.h
EventSetup
iEvent
int iEvent
Definition:
GenABIO.cc:243
DTTimingExtractor::TimeMeasurement::isLeft
bool isLeft
Definition:
DTTimingExtractor.h:68
MuonServiceProxy
Definition:
MuonServiceProxy.h:26
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
DTTimingExtractor::~DTTimingExtractor
~DTTimingExtractor()
Destructor.
Definition:
DTTimingExtractor.cc:98
TrackExtraFwd.h
EDProducer.h
DTTimingExtractor::theHitsMin_
unsigned int theHitsMin_
Definition:
DTTimingExtractor.h:83
DetId
Definition:
DetId.h:20
TrackExtra.h
TimeMeasurementSequence
Definition:
TimeMeasurementSequence.h:14
TimeMeasurementSequence.h
DTTimingExtractor::TimeMeasurement::timeCorr
float timeCorr
Definition:
DTTimingExtractor.h:72
Ref.h
b
double b
Definition:
hdecay.h:120
DTTimingExtractor::requireBothProjections_
bool requireBothProjections_
Definition:
DTTimingExtractor.h:90
DTTimingExtractor::theMatcher
MuonSegmentMatcher * theMatcher
Definition:
DTTimingExtractor.h:95
DTTimingExtractor::fitT0
double fitT0(double &a, double &b, std::vector< double > xl, std::vector< double > yl, std::vector< double > xr, std::vector< double > yr)
Definition:
DTTimingExtractor.cc:370
MuonSegmentMatcher
Definition:
MuonSegmentMatcher.h:22
edm::InputTag
Definition:
InputTag.h:12
a
double a
Definition:
hdecay.h:121
DTTimingExtractor::TimeMeasurement::driftCell
DetId driftCell
Definition:
DTTimingExtractor.h:74
edm::ParameterSet
Definition:
ParameterSet.h:32
GlobalTrackingGeometry.h
edm::Event
Definition:
Event.h:49
Track.h
DTTimingExtractor::useSegmentT0_
bool useSegmentT0_
Definition:
DTTimingExtractor.h:87
DTTimingExtractor::TimeMeasurement
Definition:
DTTimingExtractor.h:65
DTTimingExtractor
Definition:
DTTimingExtractor.h:55
DTTimingExtractor::TimeMeasurement::isPhi
bool isPhi
Definition:
DTTimingExtractor.h:69
edm::Ref< TrackCollection >
DTTimingExtractor::theService
MuonServiceProxy * theService
Definition:
DTTimingExtractor.h:93
DTTimingExtractor::debug
bool debug
Definition:
DTTimingExtractor.h:91
Generated for CMSSW Reference Manual by
1.8.5