CMS 3D CMS Logo

Public Member Functions

LinearizationPointFinder Class Reference

#include <LinearizationPointFinder.h>

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

List of all members.

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 ( ) [inline, virtual]

Definition at line 15 of file LinearizationPointFinder.h.

{}

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, FallbackLinearizationPointFinder, MonteCarloLinearizationPointFinder, and ZeroLinearizationPointFinder.

Definition at line 4 of file LinearizationPointFinder.cc.

References TransientTrackFromFTSFactory::build(), tests::test_Package01::factory, and getLinearizationPoint().

{
  std::vector < reco::TransientTrack > rectracks;
  TransientTrackFromFTSFactory factory;
  for ( std::vector< FreeTrajectoryState>::const_iterator fts=ftses.begin();
        fts!=ftses.end() ; ++fts )
  rectracks.push_back ( factory.build(*fts));
  return getLinearizationPoint(rectracks);
}