src
RecoVertex
VertexTools
src
LinearizationPointFinder.cc
Go to the documentation of this file.
1
#include "
RecoVertex/VertexTools/interface/LinearizationPointFinder.h
"
2
#include "
TrackingTools/TrajectoryState/interface/FreeTrajectoryState.h
"
3
#include "
TrackingTools/TransientTrack/interface/TransientTrackFromFTSFactory.h
"
4
GlobalPoint
LinearizationPointFinder::getLinearizationPoint
(
const
std::vector<FreeTrajectoryState>& ftses)
const
{
5
std::vector<reco::TransientTrack> rectracks;
6
TransientTrackFromFTSFactory
factory;
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
}
TransientTrackFromFTSFactory::build
reco::TransientTrack build(const FreeTrajectoryState &fts) const
Definition:
TransientTrackFromFTSFactory.cc:7
TransientTrackFromFTSFactory
Definition:
TransientTrackFromFTSFactory.h:10
TransientTrackFromFTSFactory.h
LinearizationPointFinder.h
LinearizationPointFinder::getLinearizationPoint
virtual GlobalPoint getLinearizationPoint(const std::vector< reco::TransientTrack > &) const =0
Point3DBase< float, GlobalTag >
FreeTrajectoryState.h
Generated for CMSSW Reference Manual by
1.8.14