CMS 3D CMS Logo

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
21 
24 
26 
28 
30 
33 
38 
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 
55 public:
58 
61 
63  public:
64  bool isLeft;
65  bool isPhi;
66  float posInLayer;
67  float distIP;
68  float timeCorr;
69  int station;
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 
93  unsigned int theHitsMin_;
94  double thePruneCut_;
96  double theError_;
99  bool dropTheta_;
101  bool debug;
102 
103  std::unique_ptr<MuonServiceProxy> theService;
105 };
106 
107 #endif
TrackExtra.h
DTTimingExtractor::doWireCorr_
bool doWireCorr_
Definition: DTTimingExtractor.h:98
Muon.h
TrackExtraFwd.h
DTTimingExtractor::TimeMeasurement::driftCell
DetId driftCell
Definition: DTTimingExtractor.h:70
EDProducer.h
edm
HLT enums.
Definition: AlignableModifier.h:19
DTTimingExtractor::TimeMeasurement::station
int station
Definition: DTTimingExtractor.h:69
DTTimingExtractor::DTTimingExtractor
DTTimingExtractor(const edm::ParameterSet &, MuonSegmentMatcher *segMatcher, edm::ConsumesCollector &)
Constructor.
Definition: DTTimingExtractor.cc:74
edm::Ref< TrackCollection >
MuonSegmentMatcher.h
DetId
Definition: DetId.h:17
DTTimingExtractor::theError_
double theError_
Definition: DTTimingExtractor.h:96
DTTimingExtractor::TimeMeasurement::posInLayer
float posInLayer
Definition: DTTimingExtractor.h:66
MakerMacros.h
Track.h
DTTimingExtractor::TimeMeasurement::isLeft
bool isLeft
Definition: DTTimingExtractor.h:64
TrackFwd.h
MuonFwd.h
DTTimingExtractor
Definition: DTTimingExtractor.h:54
DTTimingExtractor::fillTiming
void fillTiming(TimeMeasurementSequence &tmSequence, const std::vector< const DTRecSegment4D * > &segments, reco::TrackRef muonTrack, const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition: DTTimingExtractor.cc:96
DTTimingExtractor::DTSegmentTags_
edm::InputTag DTSegmentTags_
Definition: DTTimingExtractor.h:92
b
double b
Definition: hdecay.h:118
DTTimingExtractor::theHitsMin_
unsigned int theHitsMin_
Definition: DTTimingExtractor.h:93
GlobalTrackingGeometryRecord.h
DTTimingExtractor::~DTTimingExtractor
~DTTimingExtractor()
Destructor.
Definition: DTTimingExtractor.cc:91
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
edm::ParameterSet
Definition: ParameterSet.h:36
a
double a
Definition: hdecay.h:119
DTTimingExtractor::theService
std::unique_ptr< MuonServiceProxy > theService
Definition: DTTimingExtractor.h:103
Event.h
ParameterSet
Definition: Functions.h:16
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::EventSetup
Definition: EventSetup.h:57
DTTimingExtractor::TimeMeasurement
Definition: DTTimingExtractor.h:62
DTTimingExtractor::dropTheta_
bool dropTheta_
Definition: DTTimingExtractor.h:99
DTTimingExtractor::TimeMeasurement::distIP
float distIP
Definition: DTTimingExtractor.h:67
Ref.h
Frameworkfwd.h
MuonServiceProxy.h
DTTimingExtractor::debug
bool debug
Definition: DTTimingExtractor.h:101
TimeMeasurementSequence.h
DTTimingExtractor::useSegmentT0_
bool useSegmentT0_
Definition: DTTimingExtractor.h:97
DTTimingExtractor::thePruneCut_
double thePruneCut_
Definition: DTTimingExtractor.h:94
DTTimingExtractor::requireBothProjections_
bool requireBothProjections_
Definition: DTTimingExtractor.h:100
EventSetup
DTTimingExtractor::theMatcher
MuonSegmentMatcher * theMatcher
Definition: DTTimingExtractor.h:104
ParameterSet.h
DTTimingExtractor::TimeMeasurement::isPhi
bool isPhi
Definition: DTTimingExtractor.h:65
MuonServiceProxy
Definition: MuonServiceProxy.h:38
DTTimingExtractor::theTimeOffset_
double theTimeOffset_
Definition: DTTimingExtractor.h:95
GlobalTrackingGeometry.h
edm::Event
Definition: Event.h:73
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:394
MuonSegmentMatcher
Definition: MuonSegmentMatcher.h:29
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
TimeMeasurementSequence
Definition: TimeMeasurementSequence.h:15
DTTimingExtractor::TimeMeasurement::timeCorr
float timeCorr
Definition: DTTimingExtractor.h:68