test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
&,
edm::ConsumesCollector
& iC);
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,
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup);
77
78
private
:
79
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 );
80
81
edm::InputTag
DTSegmentTags_
;
82
unsigned
int
theHitsMin_
;
83
double
thePruneCut_
;
84
double
theTimeOffset_
;
85
double
theError_
;
86
bool
useSegmentT0_
;
87
bool
doWireCorr_
;
88
bool
dropTheta_
;
89
bool
requireBothProjections_
;
90
bool
debug
;
91
92
MuonServiceProxy
*
theService
;
93
94
MuonSegmentMatcher
*
theMatcher
;
95
};
96
97
#endif
DTTimingExtractor::thePruneCut_
double thePruneCut_
Definition:
DTTimingExtractor.h:83
DTTimingExtractor::theTimeOffset_
double theTimeOffset_
Definition:
DTTimingExtractor.h:84
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
MuonServiceProxy.h
Event.h
DTTimingExtractor::doWireCorr_
bool doWireCorr_
Definition:
DTTimingExtractor.h:87
MakerMacros.h
DTTimingExtractor::TimeMeasurement::posInLayer
float posInLayer
Definition:
DTTimingExtractor.h:69
TrackFwd.h
MuonSegmentMatcher.h
DTTimingExtractor::theError_
double theError_
Definition:
DTTimingExtractor.h:85
DTTimingExtractor::fillTiming
void fillTiming(TimeMeasurementSequence &tmSequence, reco::TrackRef muonTrack, const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition:
DTTimingExtractor.cc:110
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:24
DTTimingExtractor::DTSegmentTags_
edm::InputTag DTSegmentTags_
Definition:
DTTimingExtractor.h:81
edm::EventSetup
Definition:
EventSetup.h:44
DTTimingExtractor::dropTheta_
bool dropTheta_
Definition:
DTTimingExtractor.h:88
Muon.h
DTTimingExtractor::~DTTimingExtractor
~DTTimingExtractor()
Destructor.
Definition:
DTTimingExtractor.cc:97
TrackExtraFwd.h
EDProducer.h
DTTimingExtractor::theHitsMin_
unsigned int theHitsMin_
Definition:
DTTimingExtractor.h:82
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:89
DTTimingExtractor::theMatcher
MuonSegmentMatcher * theMatcher
Definition:
DTTimingExtractor.h:94
MuonSegmentMatcher
Definition:
MuonSegmentMatcher.h:23
edm::InputTag
Definition:
InputTag.h:17
a
double a
Definition:
hdecay.h:121
DTTimingExtractor::TimeMeasurement::driftCell
DetId driftCell
Definition:
DTTimingExtractor.h:73
DTTimingExtractor::DTTimingExtractor
DTTimingExtractor(const edm::ParameterSet &, edm::ConsumesCollector &iC)
Constructor.
Definition:
DTTimingExtractor.cc:75
edm::ParameterSet
Definition:
ParameterSet.h:35
GlobalTrackingGeometry.h
edm::Event
Definition:
Event.h:62
Track.h
DTTimingExtractor::useSegmentT0_
bool useSegmentT0_
Definition:
DTTimingExtractor.h:86
DTTimingExtractor::TimeMeasurement
Definition:
DTTimingExtractor.h:64
DTTimingExtractor
Definition:
DTTimingExtractor.h:54
DTTimingExtractor::TimeMeasurement::isPhi
bool isPhi
Definition:
DTTimingExtractor.h:68
edm::Ref< TrackCollection >
DTTimingExtractor::theService
MuonServiceProxy * theService
Definition:
DTTimingExtractor.h:92
DTTimingExtractor::debug
bool debug
Definition:
DTTimingExtractor.h:90
DTTimingExtractor::fitT0
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)
Definition:
DTTimingExtractor.cc:378
edm::ConsumesCollector
Definition:
ConsumesCollector.h:32
Generated for CMSSW Reference Manual by
1.8.5