CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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, 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 
82  unsigned int theHitsMin_;
83  double thePruneCut_;
85  double theError_;
88  bool dropTheta_;
90  bool debug;
91 
93 
95 };
96 
97 #endif
void fillTiming(TimeMeasurementSequence &tmSequence, reco::TrackRef muonTrack, const edm::Event &iEvent, const edm::EventSetup &iSetup)
int iEvent
Definition: GenABIO.cc:243
edm::InputTag DTSegmentTags_
~DTTimingExtractor()
Destructor.
unsigned int theHitsMin_
Definition: DetId.h:18
double b
Definition: hdecay.h:120
MuonSegmentMatcher * theMatcher
double a
Definition: hdecay.h:121
DTTimingExtractor(const edm::ParameterSet &, edm::ConsumesCollector &iC)
Constructor.
MuonServiceProxy * theService
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)