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 }
51 
52 class MuonServiceProxy;
53 
55 
56 public:
57 
60 
63 
65  {
66  public:
67  bool isLeft;
68  bool isPhi;
69  float posInLayer;
70  float distIP;
71  float timeCorr;
72  int station;
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 
88  unsigned int theHitsMin_;
89  double thePruneCut_;
91  double theError_;
94  bool dropTheta_;
96  bool debug;
97 
98  std::unique_ptr<MuonServiceProxy> theService;
100 
101 };
102 
103 #endif
int iEvent
Definition: GenABIO.cc:224
edm::InputTag DTSegmentTags_
std::unique_ptr< MuonServiceProxy > theService
unsigned int theHitsMin_
Definition: DetId.h:18
double b
Definition: hdecay.h:120
MuonSegmentMatcher * theMatcher
HLT enums.
double a
Definition: hdecay.h:121