test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackFitter.h
Go to the documentation of this file.
1 #ifndef TrackFitter_H
2 #define TrackFitter_H
3 
10 
11 #include <vector>
12 
14 class TrackerGeometry;
15 class MagneticField;
16 
17 class TrackFitter : public PixelFitter
18 {
19 public:
21  virtual ~TrackFitter() { }
22  virtual reco::Track* run
23  (const edm::EventSetup& es,
24  const std::vector<const TrackingRecHit *>& hits,
25  const TrackingRegion& region) const;
26 
27 private:
29  (const GlobalPoint& inner, const GlobalPoint& outer,
30  float radius, float phi, float d0, float& zip) const;
31  float getPhi(float xC, float yC, int charge) const;
32  float getZip(float d0, float curv,
33  const GlobalPoint& inner, const GlobalPoint& outer) const;
34  void getErrTipAndErrZip(float pt, float eta,
35  float & errZip, float & errTip) const;
36 
38 
39  mutable const TrackerGeometry * theTracker;
40  mutable const MagneticField * theField;
42 
43 };
44 #endif
tuple cfg
Definition: looper.py:293
void getErrTipAndErrZip(float pt, float eta, float &errZip, float &errTip) const
Definition: TrackFitter.cc:211
const TrackerGeometry * theTracker
Definition: TrackFitter.h:39
float getZip(float d0, float curv, const GlobalPoint &inner, const GlobalPoint &outer) const
Definition: TrackFitter.cc:191
OutputIterator zip(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)
float getCotThetaAndUpdateZip(const GlobalPoint &inner, const GlobalPoint &outer, float radius, float phi, float d0, float &zip) const
Definition: TrackFitter.cc:159
edm::ParameterSet theConfig
Definition: TrackFitter.h:37
virtual ~TrackFitter()
Definition: TrackFitter.h:21
TrackFitter(const edm::ParameterSet &cfg)
Definition: TrackFitter.cc:58
float getPhi(float xC, float yC, int charge) const
Definition: TrackFitter.cc:179
const TransientTrackingRecHitBuilder * theTTRecHitBuilder
Definition: TrackFitter.h:41
const MagneticField * theField
Definition: TrackFitter.h:40
virtual reco::Track * run(const edm::EventSetup &es, const std::vector< const TrackingRecHit * > &hits, const TrackingRegion &region) const
Definition: TrackFitter.cc:65