Go to the documentation of this file.00001 #include "RecoVertex/ConfigurableVertexReco/interface/AbstractConfFitter.h"
00002
00003 AbstractConfFitter::AbstractConfFitter ( const VertexFitter<5> & f ) :
00004 theFitter ( f.clone() )
00005 {}
00006
00007 AbstractConfFitter::AbstractConfFitter() : theFitter ( 0 )
00008 {}
00009
00010 AbstractConfFitter::AbstractConfFitter ( const AbstractConfFitter & o ) :
00011 theFitter ( o.theFitter->clone() )
00012 {}
00013
00014 AbstractConfFitter::~AbstractConfFitter()
00015 {
00016 if ( theFitter ) delete theFitter;
00017 }
00018
00019 CachingVertex<5> AbstractConfFitter::vertex (
00020 const std::vector < reco::TransientTrack > & t ) const
00021 {
00022 return theFitter->vertex ( t );
00023 }
00024
00025 CachingVertex<5> AbstractConfFitter::vertex(
00026 const std::vector<RefCountedVertexTrack> & tracks) const
00027 {
00028 return theFitter->vertex ( tracks );
00029 }
00030
00031 CachingVertex<5> AbstractConfFitter::vertex(
00032 const std::vector<RefCountedVertexTrack> & tracks,
00033 const reco::BeamSpot & spot ) const
00034 {
00035 return theFitter->vertex ( tracks, spot );
00036 }
00037
00038
00039 CachingVertex<5> AbstractConfFitter::vertex(
00040 const std::vector<reco::TransientTrack> & tracks, const GlobalPoint& linPoint) const
00041 {
00042 return theFitter->vertex ( tracks, linPoint );
00043 }
00044
00045 CachingVertex<5> AbstractConfFitter::vertex(
00046 const std::vector<reco::TransientTrack> & tracks, const GlobalPoint& priorPos,
00047 const GlobalError& priorError) const
00048 {
00049 return theFitter->vertex ( tracks, priorPos, priorError );
00050 }
00051
00052 CachingVertex<5> AbstractConfFitter::vertex(
00053 const std::vector<reco::TransientTrack> & tracks, const reco::BeamSpot& beamSpot) const
00054 {
00055 return theFitter->vertex ( tracks, beamSpot );
00056 }
00057
00058 CachingVertex<5> AbstractConfFitter::vertex(const std::vector<RefCountedVertexTrack> & tracks,
00059 const GlobalPoint& priorPos, const GlobalError& priorError) const
00060 {
00061 return theFitter->vertex ( tracks, priorPos, priorError );
00062 }