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:
28  int getCharge(const std::vector<GlobalPoint> & points) const;
30  (const GlobalPoint& inner, const GlobalPoint& outer,
31  float radius, float phi, float d0, float& zip) const;
32  float getPhi(float xC, float yC, int charge) const;
33  float getZip(float d0, float curv,
34  const GlobalPoint& inner, const GlobalPoint& outer) const;
35  void getErrTipAndErrZip(float pt, float eta,
36  float & errZip, float & errTip) const;
37 
39 
40  mutable const TrackerGeometry * theTracker;
41  mutable const MagneticField * theField;
43 
44 };
45 #endif
tuple cfg
Definition: looper.py:293
void getErrTipAndErrZip(float pt, float eta, float &errZip, float &errTip) const
Definition: TrackFitter.cc:204
int getCharge(const std::vector< GlobalPoint > &points) const
Definition: TrackFitter.cc:140
const TrackerGeometry * theTracker
Definition: TrackFitter.h:40
float getZip(float d0, float curv, const GlobalPoint &inner, const GlobalPoint &outer) const
Definition: TrackFitter.cc:184
float getCotThetaAndUpdateZip(const GlobalPoint &inner, const GlobalPoint &outer, float radius, float phi, float d0, float &zip) const
Definition: TrackFitter.cc:152
edm::ParameterSet theConfig
Definition: TrackFitter.h:38
virtual ~TrackFitter()
Definition: TrackFitter.h:21
TrackFitter(const edm::ParameterSet &cfg)
Definition: TrackFitter.cc:39
float getPhi(float xC, float yC, int charge) const
Definition: TrackFitter.cc:172
const TransientTrackingRecHitBuilder * theTTRecHitBuilder
Definition: TrackFitter.h:42
const MagneticField * theField
Definition: TrackFitter.h:41
virtual reco::Track * run(const edm::EventSetup &es, const std::vector< const TrackingRecHit * > &hits, const TrackingRegion &region) const
Definition: TrackFitter.cc:46