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
VertexTrackFactory::AlgebraicSymMatrixOO
ROOT::Math::SMatrix< double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > AlgebraicSymMatrixOO
Definition: VertexTrackFactory.h:22
VertexTrackFactory::RefCountedVertexTrack
ReferenceCountingPointer< VertexTrack< N > > RefCountedVertexTrack
Definition: VertexTrackFactory.h:19
VertexTrackFactory::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< N > > RefCountedLinearizedTrackState
Definition: VertexTrackFactory.h:20
ReferenceCountingPointer
Definition: ReferenceCounted.h:60
VertexTrack.h
N
#define N
Definition: blowfish.cc:9
VertexTrackFactory::VertexTrackFactory
VertexTrackFactory()
Definition: VertexTrackFactory.h:24
VertexTrackFactory
Definition: VertexTrackFactory.h:16
VertexTrack
Definition: VertexTrack.h:18
VertexTrackFactory::RefCountedRefittedTrackState
ReferenceCountingPointer< RefittedTrackState< N > > RefCountedRefittedTrackState
Definition: VertexTrackFactory.h:18
VertexTrackFactory::~VertexTrackFactory
~VertexTrackFactory()
Definition: VertexTrackFactory.h:25
VertexTrackFactory::AlgebraicMatrix3M
ROOT::Math::SMatrix< double, 3, N - 2, ROOT::Math::MatRepStd< double, 3, N - 2 > > AlgebraicMatrix3M
Definition: VertexTrackFactory.h:21
VertexTrackFactory::vertexTrack
RefCountedVertexTrack vertexTrack(const RefCountedLinearizedTrackState lt, const VertexState vs, const RefCountedRefittedTrackState &refittedState, float smoothedChi2, float weight=1.0) const
Definition: VertexTrackFactory.h:33
VertexTrackFactory::vertexTrack
RefCountedVertexTrack vertexTrack(const RefCountedLinearizedTrackState lt, const VertexState vs, float weight=1.0) const
Definition: VertexTrackFactory.h:27
ReferenceCounted.h
VertexTrackFactory::vertexTrack
RefCountedVertexTrack vertexTrack(const RefCountedLinearizedTrackState lt, const VertexState vs, const RefCountedRefittedTrackState &refittedState, float smoothedChi2, const AlgebraicSymMatrixOO &tVCov, float weight=1.0) const
Definition: VertexTrackFactory.h:41
VertexState
Definition: VertexState.h:13
LinearizedTrackState.h
weight
Definition: weight.py:1