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
}
FreeTrajectoryState.h
TransientTrackFromFTSFactory.h
Point3DBase< float, GlobalTag >
TransientTrackFromFTSFactory::build
reco::TransientTrack build(const FreeTrajectoryState &fts) const
Definition:
TransientTrackFromFTSFactory.cc:7
LinearizationPointFinder.h
TransientTrackFromFTSFactory
Definition:
TransientTrackFromFTSFactory.h:10
LinearizationPointFinder::getLinearizationPoint
virtual GlobalPoint getLinearizationPoint(const std::vector< reco::TransientTrack > &) const =0
Generated for CMSSW Reference Manual by
1.8.16