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
int iEvent
Definition: GenABIO.cc:224
edm::InputTag DTSegmentTags_
std::unique_ptr< MuonServiceProxy > theService
unsigned int theHitsMin_
Definition: DetId.h:17
double b
Definition: hdecay.h:118
MuonSegmentMatcher * theMatcher
HLT enums.
double a
Definition: hdecay.h:119