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 public:
21  typedef ROOT::Math::SMatrix<double, 3, N - 2, ROOT::Math::MatRepStd<double, 3, N - 2> > AlgebraicMatrix3M;
22  typedef ROOT::Math::SMatrix<double, N + 1, N + 1, ROOT::Math::MatRepSym<double, N + 1> > AlgebraicSymMatrixOO;
23 
26 
28  const VertexState vs,
29  float weight = 1.0) const {
30  return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight));
31  };
32 
34  const VertexState vs,
35  const RefCountedRefittedTrackState& refittedState,
36  float smoothedChi2,
37  float weight = 1.0) const {
38  return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight, refittedState, smoothedChi2));
39  };
40 
42  const VertexState vs,
43  const RefCountedRefittedTrackState& refittedState,
44  float smoothedChi2,
45  const AlgebraicSymMatrixOO& tVCov,
46  float weight = 1.0) const {
47  return RefCountedVertexTrack(new VertexTrack<N>(lt, vs, weight, refittedState, smoothedChi2, tVCov));
48  };
49 };
50 
51 #endif
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
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
ReferenceCountingPointer< VertexTrack< N > > RefCountedVertexTrack
RefCountedVertexTrack vertexTrack(const RefCountedLinearizedTrackState lt, const VertexState vs, const RefCountedRefittedTrackState &refittedState, float smoothedChi2, float weight=1.0) const
#define N
Definition: blowfish.cc:9
ROOT::Math::SMatrix< double, 3, N - 2, ROOT::Math::MatRepStd< double, 3, N - 2 > > AlgebraicMatrix3M