test
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,
77  const edm::Event& iEvent, const edm::EventSetup& iSetup);
78 
79 private:
80  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 );
81 
83  unsigned int theHitsMin_;
84  double thePruneCut_;
86  double theError_;
89  bool dropTheta_;
91  bool debug;
92 
93  std::unique_ptr<MuonServiceProxy> theService;
95 
96 };
97 
98 #endif
void fillTiming(TimeMeasurementSequence &tmSequence, reco::TrackRef muonTrack, const edm::Event &iEvent, const edm::EventSetup &iSetup)
int iEvent
Definition: GenABIO.cc:230
DTTimingExtractor(const edm::ParameterSet &, MuonSegmentMatcher *segMatcher)
Constructor.
edm::InputTag DTSegmentTags_
~DTTimingExtractor()
Destructor.
std::unique_ptr< MuonServiceProxy > theService
unsigned int theHitsMin_
Definition: DetId.h:18
double b
Definition: hdecay.h:120
MuonSegmentMatcher * theMatcher
double a
Definition: hdecay.h:121
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)