CMS 3D CMS Logo

List of all members | Public Member Functions
VertexFitter< N > Class Template Referenceabstract

#include <VertexFitter.h>

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

Public Member Functions

virtual VertexFitterclone () const =0
 
virtual CachingVertex< Nvertex (const std::vector< reco::TransientTrack > &tracks) const =0
 
virtual CachingVertex< Nvertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks) const =0
 
virtual CachingVertex< Nvertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks, const reco::BeamSpot &spot) const =0
 
virtual CachingVertex< Nvertex (const std::vector< reco::TransientTrack > &tracks, const GlobalPoint &linPoint) const =0
 
virtual CachingVertex< Nvertex (const std::vector< reco::TransientTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) const =0
 
virtual CachingVertex< Nvertex (const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &beamSpot) const =0
 
virtual CachingVertex< Nvertex (const std::vector< typename CachingVertex< N >::RefCountedVertexTrack > &tracks, const GlobalPoint &priorPos, const GlobalError &priorError) 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

◆ VertexFitter()

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

Definition at line 22 of file VertexFitter.h.

22 {}

◆ ~VertexFitter()

template<unsigned int N>
virtual VertexFitter< N >::~VertexFitter ( )
inlinevirtual

Definition at line 24 of file VertexFitter.h.

24 {}

Member Function Documentation

◆ clone()

template<unsigned int N>
virtual VertexFitter* VertexFitter< N >::clone ( ) const
pure virtual

◆ vertex() [1/7]

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

◆ vertex() [2/7]

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.

Referenced by Tau.Tau::dxy().

◆ vertex() [3/7]

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.

Referenced by Tau.Tau::dxy().

◆ vertex() [4/7]

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 SequentialVertexFitter< N >, SequentialVertexFitter< 5 >, AdaptiveVertexFitter, KalmanVertexFitter, GsfVertexFitter, AdaptiveGsfVertexFitter, AbstractConfFitter, ConfigurableVertexFitter, and TrimmedVertexFitter.

Referenced by Tau.Tau::dxy().

◆ vertex() [5/7]

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 SequentialVertexFitter< N >, SequentialVertexFitter< 5 >, AdaptiveVertexFitter, KalmanVertexFitter, AdaptiveGsfVertexFitter, GsfVertexFitter, AbstractConfFitter, ConfigurableVertexFitter, and TrimmedVertexFitter.

Referenced by Tau.Tau::dxy().

◆ vertex() [6/7]

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 SequentialVertexFitter< N >, SequentialVertexFitter< 5 >, AdaptiveVertexFitter, KalmanVertexFitter, GsfVertexFitter, AdaptiveGsfVertexFitter, TrimmedVertexFitter, AbstractConfFitter, and ConfigurableVertexFitter.

Referenced by Tau.Tau::dxy().

◆ vertex() [7/7]

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.

Referenced by Tau.Tau::dxy().