test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
LinearizationPointFinder Class Referenceabstract

#include <LinearizationPointFinder.h>

Inheritance diagram for LinearizationPointFinder:
CrossingPtBasedLinearizationPointFinder FallbackLinearizationPointFinder GenericLinearizationPointFinder MonteCarloLinearizationPointFinder ZeroLinearizationPointFinder FsmwLinearizationPointFinder HSMLinearizationPointFinder LMSLinearizationPointFinder SMSLinearizationPointFinder SubsetHSMLinearizationPointFinder DefaultLinearizationPointFinder

Public Member Functions

virtual LinearizationPointFinderclone () const =0
 
virtual GlobalPoint getLinearizationPoint (const std::vector< reco::TransientTrack > &) const =0
 
virtual GlobalPoint getLinearizationPoint (const std::vector< FreeTrajectoryState > &) const
 
virtual ~LinearizationPointFinder ()
 

Detailed Description

Generic class to make an Initial Linearization point

Definition at line 12 of file LinearizationPointFinder.h.

Constructor & Destructor Documentation

virtual LinearizationPointFinder::~LinearizationPointFinder ( )
inlinevirtual

Definition at line 15 of file LinearizationPointFinder.h.

15 {}

Member Function Documentation

virtual LinearizationPointFinder* LinearizationPointFinder::clone ( ) const
pure virtual
virtual GlobalPoint LinearizationPointFinder::getLinearizationPoint ( const std::vector< reco::TransientTrack > &  ) const
pure virtual
GlobalPoint LinearizationPointFinder::getLinearizationPoint ( const std::vector< FreeTrajectoryState > &  ftses) const
virtual

Reimplemented in CrossingPtBasedLinearizationPointFinder, MonteCarloLinearizationPointFinder, FallbackLinearizationPointFinder, and ZeroLinearizationPointFinder.

Definition at line 4 of file LinearizationPointFinder.cc.

References TransientTrackFromFTSFactory::build(), and getLinearizationPoint().

6 {
7  std::vector < reco::TransientTrack > rectracks;
9  for ( std::vector< FreeTrajectoryState>::const_iterator fts=ftses.begin();
10  fts!=ftses.end() ; ++fts )
11  rectracks.push_back ( factory.build(*fts));
12  return getLinearizationPoint(rectracks);
13 }
reco::TransientTrack build(const FreeTrajectoryState &fts) const
virtual GlobalPoint getLinearizationPoint(const std::vector< reco::TransientTrack > &) const =0