CMS 3D CMS Logo

GenericLinearizationPointFinder Class Reference

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

#include <RecoVertex/LinearizationPointFinders/interface/GenericLinearizationPointFinder.h>

Inheritance diagram for GenericLinearizationPointFinder:

LinearizationPointFinder

List of all members.

Public Member Functions

virtual LinearizationPointFinderclone () const
 Clone method.
 GenericLinearizationPointFinder (const VertexFitter &fitter)
virtual GlobalPoint getLinearizationPoint (const vector< reco::TransientTrack > &tracks) const
 Method giving back the Initial Linearization Point.
 ~GenericLinearizationPointFinder ()

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().

00015                                                                   : 
00016     theFitter ( fitter.clone() ) {}

GenericLinearizationPointFinder::~GenericLinearizationPointFinder (  )  [inline]

Definition at line 18 of file GenericLinearizationPointFinder.h.

References theFitter.

00018 { delete theFitter; }


Member Function Documentation

virtual LinearizationPointFinder* GenericLinearizationPointFinder::clone ( void   )  const [inline, virtual]

Clone method.

Implements LinearizationPointFinder.

Definition at line 29 of file GenericLinearizationPointFinder.h.

References GenericLinearizationPointFinder().

00029                                                    {
00030     return new GenericLinearizationPointFinder(* this);
00031   }

virtual GlobalPoint GenericLinearizationPointFinder::getLinearizationPoint ( const vector< reco::TransientTrack > &  tracks  )  const [inline, virtual]

Method giving back the Initial Linearization Point.

Definition at line 23 of file GenericLinearizationPointFinder.h.

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

00023                                                                                      { 
00024     return theFitter->vertex ( tracks ).position(); 
00025   }


Member Data Documentation

const VertexFitter* GenericLinearizationPointFinder::theFitter [private]

Definition at line 35 of file GenericLinearizationPointFinder.h.

Referenced by getLinearizationPoint(), and ~GenericLinearizationPointFinder().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:21:11 2009 for CMSSW by  doxygen 1.5.4