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 // $Id: DTTimingExtractor.h,v 1.6 2011/01/21 09:30:10 ptraczyk Exp $
13 //
14 //
15 
16 // system include files
17 #include <memory>
18 
19 // user include files
22 
25 
27 
29 
31 
34 
39 
44 
45 #include <vector>
46 
47 namespace edm {
48  class ParameterSet;
49  class EventSetup;
50  class InputTag;
51 }
52 
53 class MuonServiceProxy;
54 
56 
57 public:
58 
61 
64 
66  {
67  public:
68  bool isLeft;
69  bool isPhi;
70  float posInLayer;
71  float distIP;
72  float timeCorr;
73  int station;
75  };
76 
77  void fillTiming(TimeMeasurementSequence &tmSequence, reco::TrackRef muonTrack, const edm::Event& iEvent, const edm::EventSetup& iSetup);
78 
79 private:
80  double fitT0(double &a, double &b, std::vector<double> xl, std::vector<double> yl, std::vector<double> xr, std::vector<double> yr );
81 
83  unsigned int theHitsMin_;
84  double thePruneCut_;
86  double theError_;
89  bool dropTheta_;
91  bool debug;
92 
94 
96 };
97 
98 #endif
DTTimingExtractor(const edm::ParameterSet &)
Constructor.
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:20
double b
Definition: hdecay.h:120
MuonSegmentMatcher * theMatcher
double fitT0(double &a, double &b, std::vector< double > xl, std::vector< double > yl, std::vector< double > xr, std::vector< double > yr)
double a
Definition: hdecay.h:121
MuonServiceProxy * theService