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 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.

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

Definition at line 27 of file VertexTrackFactory.h.

27 {}

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 37 of file VertexTrackFactory.h.

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

50  {
51  return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight,
52  refittedState, smoothedChi2, tVCov));
53  };
Definition: weight.py:1
ReferenceCountingPointer< VertexTrack< N > > RefCountedVertexTrack