CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
VertexTrackFactory< N > Class Template Reference

#include <VertexTrackFactory.h>

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, 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
 
 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 21 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 22 of file VertexTrackFactory.h.

Definition at line 20 of file VertexTrackFactory.h.

Definition at line 18 of file VertexTrackFactory.h.

Definition at line 19 of file VertexTrackFactory.h.

Constructor & Destructor Documentation

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

Definition at line 24 of file VertexTrackFactory.h.

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

Definition at line 25 of file VertexTrackFactory.h.

25 {}

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,
float  weight = 1.0 
) const
inline

Definition at line 33 of file VertexTrackFactory.h.

37  {
38  return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight, refittedState, smoothedChi2));
39  };
Definition: weight.py:1
ReferenceCountingPointer< VertexTrack< N > > RefCountedVertexTrack
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 41 of file VertexTrackFactory.h.

46  {
47  return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight, refittedState, smoothedChi2, tVCov));
48  };
Definition: weight.py:1
ReferenceCountingPointer< VertexTrack< N > > RefCountedVertexTrack