CMS 3D CMS Logo

List of all members | Public Member Functions
LinearizationPointFinder Class Referenceabstract

#include <LinearizationPointFinder.h>

Inheritance diagram for LinearizationPointFinder:
CrossingPtBasedLinearizationPointFinder FallbackLinearizationPointFinder 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

◆ ~LinearizationPointFinder()

virtual LinearizationPointFinder::~LinearizationPointFinder ( )
inlinevirtual

Definition at line 14 of file LinearizationPointFinder.h.

14 {}

Member Function Documentation

◆ clone()

virtual LinearizationPointFinder* LinearizationPointFinder::clone ( ) const
pure virtual

◆ getLinearizationPoint() [1/2]

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

◆ getLinearizationPoint() [2/2]

GlobalPoint LinearizationPointFinder::getLinearizationPoint ( const std::vector< FreeTrajectoryState > &  ftses) const
virtual

Reimplemented in CrossingPtBasedLinearizationPointFinder, 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 }
reco::TransientTrack build(const FreeTrajectoryState &fts) const
virtual GlobalPoint getLinearizationPoint(const std::vector< reco::TransientTrack > &) const =0