Main Page
Namespaces
Classes
Package Documentation
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
(
5
const
std::vector<FreeTrajectoryState> & ftses )
const
6
{
7
std::vector < reco::TransientTrack > rectracks;
8
TransientTrackFromFTSFactory
factory;
9
for
( std::vector< FreeTrajectoryState>::const_iterator fts=ftses.begin();
10
fts!=ftses.end() ; ++fts )
11
rectracks.push_back ( factory.
build
(*fts));
12
return
getLinearizationPoint
(rectracks);
13
}
TransientTrackFromFTSFactory
Definition:
TransientTrackFromFTSFactory.h:10
LinearizationPointFinder::getLinearizationPoint
virtual GlobalPoint getLinearizationPoint(const std::vector< reco::TransientTrack > &) const =0
TransientTrackFromFTSFactory::build
reco::TransientTrack build(const FreeTrajectoryState &fts) const
Definition:
TransientTrackFromFTSFactory.cc:7
TransientTrackFromFTSFactory.h
LinearizationPointFinder.h
Point3DBase< float, GlobalTag >
FreeTrajectoryState.h
Generated for CMSSW Reference Manual by
1.8.11