CMS 3D CMS Logo

LinearizationPointFinder.cc

Go to the documentation of this file.
00001 #include "RecoVertex/VertexTools/interface/LinearizationPointFinder.h"
00002 #include "TrackingTools/TrajectoryState/interface/FreeTrajectoryState.h"
00003 #include "TrackingTools/TransientTrack/interface/TransientTrackFromFTSFactory.h"
00004 GlobalPoint LinearizationPointFinder::getLinearizationPoint(
00005     const std::vector<FreeTrajectoryState> & ftses ) const
00006 {
00007   std::vector < reco::TransientTrack > rectracks;
00008   TransientTrackFromFTSFactory factory;
00009   for ( std::vector< FreeTrajectoryState>::const_iterator fts=ftses.begin();
00010         fts!=ftses.end() ; ++fts )
00011   rectracks.push_back ( factory.build(*fts));
00012   return getLinearizationPoint(rectracks);
00013 }

Generated on Tue Jun 9 17:46:13 2009 for CMSSW by  doxygen 1.5.4