CMS 3D CMS Logo

List of all members | Public Member Functions
LinearizationPointFinder Class Referenceabstract

#include <LinearizationPointFinder.h>

Inheritance diagram for LinearizationPointFinder:
CrossingPtBasedLinearizationPointFinder FallbackLinearizationPointFinder 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 14 of file LinearizationPointFinder.h.

References clone(), and getLinearizationPoint().

14 {}

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

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