Logo ROOT   6.08/07
Reference Guide
Track.h
Go to the documentation of this file.
1 // dummy track class for testing I/o of matric
2 
3 #include "Math/SMatrix.h"
4 
5 
6 typedef double Double32_t;
7 
10 
11 // track class based on SMatrix of double
12 class TrackD {
13 
14 public:
15  TrackD() {}
16 
17  TrackD(const SMatrix5D & cov) : fCov(cov) {}
18 
19  SMatrix5D & CovMatrix() { return fCov; }
20 
21 private:
22 
24 
25 };
26 
27 // track class based on Smatrix of Double32
28 
29 class TrackD32 {
30 
31 public:
32  TrackD32() {}
33 
34  TrackD32(const SMatrix5D32 & cov) : fCov(cov) {}
35 
36  SMatrix5D & CovMatrix() { return fCov; }
37 
38 private:
39 
41 
42 };
SMatrix5D fCov
Definition: Track.h:23
SMatrix5D & CovMatrix()
Definition: Track.h:19
ROOT::Math::SMatrix< Double32_t, 5, 5, ROOT::Math::MatRepStd< Double32_t, 5, 5 > > SMatrix5D32
Definition: Track.h:9
TrackD(const SMatrix5D &cov)
Definition: Track.h:17
SMatrix: a generic fixed size D1 x D2 Matrix class.
Definition: Track.h:24
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepStd< double, 5, 5 > > SMatrix5D
Definition: Track.h:8
TrackD32(const SMatrix5D32 &cov)
Definition: Track.h:34
TrackD32()
Definition: Track.h:32
double Double32_t
Definition: Track.h:10
TrackD()
Definition: Track.h:15
Definition: Track.h:56
SMatrix5D & CovMatrix()
Definition: Track.h:36
SMatrix5D32 fCov
Definition: Track.h:40