CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GenericLinearizationPointFinder Class Reference

#include <GenericLinearizationPointFinder.h>

Inheritance diagram for GenericLinearizationPointFinder:
LinearizationPointFinder

Public Member Functions

virtual LinearizationPointFinderclone () const
 
 GenericLinearizationPointFinder (const VertexFitter &fitter)
 
virtual GlobalPoint getLinearizationPoint (const std::vector< reco::TransientTrack > &tracks) const
 
 ~GenericLinearizationPointFinder ()
 
- Public Member Functions inherited from LinearizationPointFinder
virtual GlobalPoint getLinearizationPoint (const std::vector< FreeTrajectoryState > &) const
 
virtual ~LinearizationPointFinder ()
 

Private Attributes

const VertexFittertheFitter
 

Detailed Description

A generic linearization point finder, that uses the result of a Fitter to be used as a lin.point

Definition at line 11 of file GenericLinearizationPointFinder.h.

Constructor & Destructor Documentation

GenericLinearizationPointFinder::GenericLinearizationPointFinder ( const VertexFitter fitter)
inline

Definition at line 15 of file GenericLinearizationPointFinder.h.

Referenced by clone().

15  :
16  theFitter ( fitter.clone() ) {}
virtual VertexFitter * clone() const =0
GenericLinearizationPointFinder::~GenericLinearizationPointFinder ( )
inline

Definition at line 18 of file GenericLinearizationPointFinder.h.

References theFitter.

18 { delete theFitter; }

Member Function Documentation

virtual LinearizationPointFinder* GenericLinearizationPointFinder::clone ( void  ) const
inlinevirtual

Clone method

Implements LinearizationPointFinder.

Definition at line 29 of file GenericLinearizationPointFinder.h.

References GenericLinearizationPointFinder().

29  {
30  return new GenericLinearizationPointFinder(* this);
31  }
GenericLinearizationPointFinder(const VertexFitter &fitter)
virtual GlobalPoint GenericLinearizationPointFinder::getLinearizationPoint ( const std::vector< reco::TransientTrack > &  tracks) const
inlinevirtual

Method giving back the Initial Linearization Point.

Implements LinearizationPointFinder.

Definition at line 23 of file GenericLinearizationPointFinder.h.

References theFitter, and VertexFitter< N >::vertex().

23  {
24  return theFitter->vertex ( tracks ).position();
25  }
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0

Member Data Documentation

const VertexFitter* GenericLinearizationPointFinder::theFitter
private