test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GenericLinearizationPointFinder.h
Go to the documentation of this file.
1 #ifndef GenericLinearizationPointFinder_H
2 #define GenericLinearizationPointFinder_H
3 
6 
12 
13 public:
14 
16  theFitter ( fitter.clone() ) {}
17 
19 
22  virtual
23  GlobalPoint getLinearizationPoint(const std::vector<reco::TransientTrack> & tracks) const {
24  return theFitter->vertex ( tracks ).position();
25  }
26 
29  virtual LinearizationPointFinder * clone() const {
30  return new GenericLinearizationPointFinder(* this);
31  }
32 
33 private:
34 
36 
37 };
38 
39 #endif
virtual LinearizationPointFinder * clone() const
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
tuple tracks
Definition: testEve_cfg.py:39
GenericLinearizationPointFinder(const VertexFitter &fitter)
virtual GlobalPoint getLinearizationPoint(const std::vector< reco::TransientTrack > &tracks) const