CMS 3D CMS Logo

Public Types | Public Member Functions

VertexTrackFactory< N > Class Template Reference

#include <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 ROOT::Math::SMatrix
< double, N+1, N+1,
ROOT::Math::MatRepSym< double,
N+1 > > 
AlgebraicSymMatrixOO
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, float weight=1.0) const
RefCountedVertexTrack vertexTrack (const RefCountedLinearizedTrackState lt, const VertexState vs, const RefCountedRefittedTrackState &refittedState, float smoothedChi2, const AlgebraicSymMatrixOO &tVCov, float weight=1.0) const
RefCountedVertexTrack vertexTrack (const RefCountedLinearizedTrackState lt, const VertexState vs, const RefCountedRefittedTrackState &refittedState, float smoothedChi2, 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 ROOT::Math::SMatrix<double,N+1,N+1,ROOT::Math::MatRepSym<double,N+1> > VertexTrackFactory< N >::AlgebraicSymMatrixOO

Definition at line 24 of file VertexTrackFactory.h.

Definition at line 22 of file VertexTrackFactory.h.

Definition at line 20 of file VertexTrackFactory.h.

Definition at line 21 of file VertexTrackFactory.h.


Constructor & Destructor Documentation

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

Definition at line 26 of file VertexTrackFactory.h.

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

Definition at line 27 of file VertexTrackFactory.h.

{}

Member Function Documentation

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

Definition at line 46 of file VertexTrackFactory.h.

                                                                             {
    return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight,
                                 refittedState, smoothedChi2, tVCov));
  };
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 37 of file VertexTrackFactory.h.

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