CMS 3D CMS Logo

VertexTrackFactory< N > Class Template Reference

Concrete class to encapsulate the creation of a RefCountedVertexTrack, which is a reference-counting pointer. More...

#include <RecoVertex/VertexTools/interface/VertexTrackFactory.h>

List of all members.

Public Types

typedef ROOT::Math::SMatrix
< double, 3, N-2,
ROOT::Math::MatRepStd< double,
3, N-2 > > 
AlgebraicMatrix3M
typedef
ReferenceCountingPointer
< LinearizedTrackState< N > > 
RefCountedLinearizedTrackState
typedef
ReferenceCountingPointer
< RefittedTrackState< N > > 
RefCountedRefittedTrackState
typedef
ReferenceCountingPointer
< VertexTrack< N > > 
RefCountedVertexTrack

Public Member Functions

RefCountedVertexTrack vertexTrack (const RefCountedLinearizedTrackState lt, const VertexState vs, const RefCountedRefittedTrackState &refittedState, float smoothedChi2, const AlgebraicMatrix3M &tVCov, float weight=1.0) const
RefCountedVertexTrack vertexTrack (const RefCountedLinearizedTrackState lt, const VertexState vs, const RefCountedRefittedTrackState &refittedState, float smoothedChi2, float weight=1.0) const
RefCountedVertexTrack vertexTrack (const RefCountedLinearizedTrackState lt, const VertexState vs, float weight=1.0) const
 VertexTrackFactory ()
 ~VertexTrackFactory ()


Detailed Description

template<unsigned int N>
class VertexTrackFactory< N >

Concrete class to encapsulate the creation of a RefCountedVertexTrack, which is a reference-counting pointer.

Should always be used in order to create a new RefCountedVertexTrack, so that the reference-counting mechanism works well.

Definition at line 16 of file VertexTrackFactory.h.


Member Typedef Documentation

template<unsigned int N>
typedef ROOT::Math::SMatrix<double,3,N-2,ROOT::Math::MatRepStd<double,3,N-2> > VertexTrackFactory< N >::AlgebraicMatrix3M

Definition at line 23 of file VertexTrackFactory.h.

template<unsigned int N>
typedef ReferenceCountingPointer<LinearizedTrackState<N> > VertexTrackFactory< N >::RefCountedLinearizedTrackState

Definition at line 22 of file VertexTrackFactory.h.

template<unsigned int N>
typedef ReferenceCountingPointer<RefittedTrackState<N> > VertexTrackFactory< N >::RefCountedRefittedTrackState

Definition at line 20 of file VertexTrackFactory.h.

template<unsigned int N>
typedef ReferenceCountingPointer<VertexTrack<N> > VertexTrackFactory< N >::RefCountedVertexTrack

Definition at line 21 of file VertexTrackFactory.h.


Constructor & Destructor Documentation

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

Definition at line 25 of file VertexTrackFactory.h.

00025 {}

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

Definition at line 26 of file VertexTrackFactory.h.

00026 {}


Member Function Documentation

template<unsigned int N>
RefCountedVertexTrack VertexTrackFactory< N >::vertexTrack ( const RefCountedLinearizedTrackState  lt,
const VertexState  vs,
const RefCountedRefittedTrackState refittedState,
float  smoothedChi2,
const AlgebraicMatrix3M tVCov,
float  weight = 1.0 
) const [inline]

Definition at line 45 of file VertexTrackFactory.h.

00049                                                                           {
00050     return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight,
00051                                  refittedState, smoothedChi2, tVCov));
00052   };

template<unsigned int N>
RefCountedVertexTrack VertexTrackFactory< N >::vertexTrack ( const RefCountedLinearizedTrackState  lt,
const VertexState  vs,
const RefCountedRefittedTrackState refittedState,
float  smoothedChi2,
float  weight = 1.0 
) const [inline]

Definition at line 36 of file VertexTrackFactory.h.

00039                                                               {
00040     return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight, refittedState,
00041                                  smoothedChi2));
00042   };

template<unsigned int N>
RefCountedVertexTrack VertexTrackFactory< N >::vertexTrack ( const RefCountedLinearizedTrackState  lt,
const VertexState  vs,
float  weight = 1.0 
) const [inline]

Definition at line 29 of file VertexTrackFactory.h.

Referenced by SingleTrackVertexConstraint::constrain(), GsfVertexTrackCompatibilityEstimator::estimate(), KinematicParticleVertexFitter::fit(), AdaptiveVertexFitter::reWeightTracks(), GsfVertexSmoother::smooth(), MultiVertexFitter::updateSeeds(), and AdaptiveVertexFitter::weightTracks().

00031                                           {
00032     return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight ));
00033   };


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:35:06 2009 for CMSSW by  doxygen 1.5.4