CMS 3D CMS Logo

Public Member Functions

VertexFitter< N > Class Template Reference

#include <VertexFitter.h>

Inheritance diagram for VertexFitter< N >:
SequentialVertexFitter< N >

List of all members.

Public Member Functions

virtual VertexFitterclone () const =0
virtual CachingVertex< N > vertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks, const reco::BeamSpot &spot) const =0
virtual CachingVertex< N > vertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const =0
virtual CachingVertex< N > vertex (const std::vector< reco::TransientTrack > &tracks) const =0
virtual CachingVertex< N > vertex (const std::vector< reco::TransientTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const =0
virtual CachingVertex< N > vertex (const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &beamSpot) const =0
virtual CachingVertex< N > vertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks) const =0
virtual CachingVertex< N > vertex (const std::vector< reco::TransientTrack > &tracks, const GlobalPoint &linPoint) const =0
 VertexFitter ()
virtual ~VertexFitter ()

Detailed Description

template<unsigned int N>
class VertexFitter< N >

Pure abstract base class for VertexFitters. Fits a CachingVertex using either:

Definition at line 20 of file VertexFitter.h.


Constructor & Destructor Documentation

template<unsigned int N>
VertexFitter< N >::VertexFitter ( ) [inline]

Definition at line 24 of file VertexFitter.h.

{}
template<unsigned int N>
virtual VertexFitter< N >::~VertexFitter ( ) [inline, virtual]

Definition at line 26 of file VertexFitter.h.

{}

Member Function Documentation

template<unsigned int N>
virtual VertexFitter* VertexFitter< N >::clone ( ) const [pure virtual]
template<unsigned int N>
virtual CachingVertex<N> VertexFitter< N >::vertex ( const std::vector< reco::TransientTrack > &  tracks,
const GlobalPoint linPoint 
) const [pure virtual]

Fit vertex out of a set of TransientTracks. The specified point will be used as linearization point, but will NOT be used as prior.

Implemented in AdaptiveVertexFitter, AbstractConfFitter, ConfigurableVertexFitter, AdaptiveGsfVertexFitter, GsfVertexFitter, KalmanVertexFitter, TrimmedVertexFitter, SequentialVertexFitter< N >, and SequentialVertexFitter< 5 >.

template<unsigned int N>
virtual CachingVertex<N> VertexFitter< N >::vertex ( const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &  tracks,
const GlobalPoint priorPos,
const GlobalError priorError 
) const [pure virtual]

Fit vertex out of a set of VertexTracks. Uses the specified point and error as the prior estimate of the vertex. This position is NOT used to relinearize the tracks.

template<unsigned int N>
virtual CachingVertex<N> VertexFitter< N >::vertex ( const std::vector< reco::TransientTrack > &  tracks,
const reco::BeamSpot beamSpot 
) const [pure virtual]

Fit vertex out of a set of TransientTracks. The specified BeamSpot will be used as priot, but NOT for the linearization. The specified LinearizationPointFinder will be used to find the linearization point.

Implemented in AdaptiveVertexFitter, AbstractConfFitter, ConfigurableVertexFitter, AdaptiveGsfVertexFitter, GsfVertexFitter, KalmanVertexFitter, TrimmedVertexFitter, SequentialVertexFitter< N >, and SequentialVertexFitter< 5 >.

template<unsigned int N>
virtual CachingVertex<N> VertexFitter< N >::vertex ( const std::vector< reco::TransientTrack > &  tracks,
const GlobalPoint priorPos,
const GlobalError priorError 
) const [pure virtual]

Fit vertex out of a set of TransientTracks. Uses the specified point as both the linearization point AND as prior estimate of the vertex position. The error is used for the weight of the prior estimate.

Implemented in AdaptiveVertexFitter, AbstractConfFitter, ConfigurableVertexFitter, AdaptiveGsfVertexFitter, GsfVertexFitter, KalmanVertexFitter, TrimmedVertexFitter, SequentialVertexFitter< N >, and SequentialVertexFitter< 5 >.

template<unsigned int N>
virtual CachingVertex<N> VertexFitter< N >::vertex ( const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &  tracks) const [pure virtual]

Fit vertex out of a set of VertexTracks. For the first iteration, the already linearized track will be used.

template<unsigned int N>
virtual CachingVertex<N> VertexFitter< N >::vertex ( const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &  tracks,
const reco::BeamSpot spot 
) const [pure virtual]

Same as above, only now also the BeamSpot constraint is provided.

template<unsigned int N>
virtual CachingVertex<N> VertexFitter< N >::vertex ( const std::vector< reco::TransientTrack > &  tracks) const [pure virtual]