CMS 3D CMS Logo

Public Member Functions | Private Attributes

GenericLinearizationPointFinder Class Reference

#include <GenericLinearizationPointFinder.h>

Inheritance diagram for GenericLinearizationPointFinder:
LinearizationPointFinder

List of all members.

Public Member Functions

virtual LinearizationPointFinderclone () const
 GenericLinearizationPointFinder (const VertexFitter &fitter)
virtual GlobalPoint getLinearizationPoint (const std::vector< reco::TransientTrack > &tracks) const
 ~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().

                                                                  : 
    theFitter ( fitter.clone() ) {}
GenericLinearizationPointFinder::~GenericLinearizationPointFinder ( ) [inline]

Definition at line 18 of file GenericLinearizationPointFinder.h.

References theFitter.

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

                                                   {
    return new GenericLinearizationPointFinder(* this);
  }
virtual GlobalPoint GenericLinearizationPointFinder::getLinearizationPoint ( const std::vector< reco::TransientTrack > &  tracks) const [inline, virtual]

Method giving back the Initial Linearization Point.

Implements LinearizationPointFinder.

Definition at line 23 of file GenericLinearizationPointFinder.h.

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

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

Member Data Documentation