10 const std::vector<FreeTrajectoryState> &
tracks )
const
16 const std::vector<reco::TransientTrack> &
tracks )
const
18 switch ( tracks.size() )
23 return tracks.begin()->impactPointState().globalPosition();
26 std::vector < std::pair < GlobalPoint, float > > wtracks;
27 wtracks.reserve ( tracks.size() - 1 );
28 for ( std::vector< reco::TransientTrack >::const_iterator
i=tracks.begin();
29 i!=tracks.end() ; ++
i )
31 std::pair < GlobalPoint, float >
tmp (
32 i->impactPointState().globalPosition(), 1. );
33 wtracks.push_back (
tmp );
Global3DPoint GlobalPoint
FallbackLinearizationPointFinder(const ModeFinder3d &m=HsmModeFinder3d())
virtual GlobalPoint getLinearizationPoint(const std::vector< reco::TransientTrack > &) const
ModeFinder3d * theModeFinder
std::vector< std::vector< double > > tmp