#include <LinearizationPointFinder.h>
Public Member Functions | |
virtual LinearizationPointFinder * | clone () const =0 |
virtual GlobalPoint | getLinearizationPoint (const std::vector< reco::TransientTrack > &) const =0 |
virtual GlobalPoint | getLinearizationPoint (const std::vector< FreeTrajectoryState > &) const |
virtual | ~LinearizationPointFinder () |
Generic class to make an Initial Linearization point
Definition at line 12 of file LinearizationPointFinder.h.
virtual LinearizationPointFinder::~LinearizationPointFinder | ( | ) | [inline, virtual] |
Definition at line 15 of file LinearizationPointFinder.h.
{}
virtual LinearizationPointFinder* LinearizationPointFinder::clone | ( | ) | const [pure virtual] |
Clone method
Implemented in CrossingPtBasedLinearizationPointFinder, FallbackLinearizationPointFinder, FsmwLinearizationPointFinder, GenericLinearizationPointFinder, HSMLinearizationPointFinder, LMSLinearizationPointFinder, MonteCarloLinearizationPointFinder, SMSLinearizationPointFinder, SubsetHSMLinearizationPointFinder, and ZeroLinearizationPointFinder.
Referenced by KinematicConstrainedVertexFitter::KinematicConstrainedVertexFitter(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT(), and SequentialVertexFitter< N >::SequentialVertexFitter().
virtual GlobalPoint LinearizationPointFinder::getLinearizationPoint | ( | const std::vector< reco::TransientTrack > & | ) | const [pure virtual] |
Virtual method returning the Initial Linearization Point as an object of type GlobalPoint
Implemented in CrossingPtBasedLinearizationPointFinder, FallbackLinearizationPointFinder, GenericLinearizationPointFinder, MonteCarloLinearizationPointFinder, and ZeroLinearizationPointFinder.
Referenced by KinematicConstrainedVertexFitter::fit(), KinematicParticleVertexFitter::fit(), and getLinearizationPoint().
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); }