CMS 3D CMS Logo

VertexTrackFactory.h
Go to the documentation of this file.
1 #ifndef VertexTrackFactory_H
2 #define VertexTrackFactory_H
3 
7 
15 template <unsigned int N>
17 
18 public:
19 
23  typedef ROOT::Math::SMatrix<double,3,N-2,ROOT::Math::MatRepStd<double,3,N-2> > AlgebraicMatrix3M;
24  typedef ROOT::Math::SMatrix<double,N+1,N+1,ROOT::Math::MatRepSym<double,N+1> > AlgebraicSymMatrixOO;
25 
28 
29  RefCountedVertexTrack
30  vertexTrack(const RefCountedLinearizedTrackState lt,
31  const VertexState vs,
32  float weight = 1.0 ) const {
33  return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight ));
34  };
35 
36  RefCountedVertexTrack
37  vertexTrack(const RefCountedLinearizedTrackState lt,
38  const VertexState vs,
39  const RefCountedRefittedTrackState & refittedState,
40  float smoothedChi2, float weight = 1.0 ) const {
41  return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight, refittedState,
42  smoothedChi2));
43  };
44 
45  RefCountedVertexTrack
46  vertexTrack(const RefCountedLinearizedTrackState lt,
47  const VertexState vs,
48  const RefCountedRefittedTrackState & refittedState,
49  float smoothedChi2,
50  const AlgebraicSymMatrixOO & tVCov, float weight = 1.0 ) const {
51  return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight,
52  refittedState, smoothedChi2, tVCov));
53  };
54 };
55 
56 #endif
ROOT::Math::SMatrix< double, 3, N-2, ROOT::Math::MatRepStd< double, 3, N-2 > > AlgebraicMatrix3M
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
ReferenceCountingPointer< RefittedTrackState< N > > RefCountedRefittedTrackState
Definition: weight.py:1
ReferenceCountingPointer< LinearizedTrackState< N > > RefCountedLinearizedTrackState
ReferenceCountingPointer< VertexTrack< N > > RefCountedVertexTrack
#define N
Definition: blowfish.cc:9
RefCountedVertexTrack vertexTrack(const RefCountedLinearizedTrackState lt, const VertexState vs, const RefCountedRefittedTrackState &refittedState, float smoothedChi2, const AlgebraicSymMatrixOO &tVCov, float weight=1.0) const
ROOT::Math::SMatrix< double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > AlgebraicSymMatrixOO