ROOT
6.10/00
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
math
smatrix
test
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
8
typedef
ROOT::Math::SMatrix<double,5,5,ROOT::Math::MatRepStd<double,5,5>
>
SMatrix5D
;
9
typedef
ROOT::Math::SMatrix<Double32_t,5,5,ROOT::Math::MatRepStd<Double32_t,5,5>
>
SMatrix5D32
;
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
23
SMatrix5D
fCov
;
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
40
SMatrix5D32
fCov
;
41
42
};
TrackD::fCov
SMatrix5D fCov
Definition:
Track.h:23
TrackD::CovMatrix
SMatrix5D & CovMatrix()
Definition:
Track.h:19
SMatrix5D32
ROOT::Math::SMatrix< Double32_t, 5, 5, ROOT::Math::MatRepStd< Double32_t, 5, 5 > > SMatrix5D32
Definition:
Track.h:9
TrackD::TrackD
TrackD(const SMatrix5D &cov)
Definition:
Track.h:17
ROOT::Math::SMatrix
SMatrix: a generic fixed size D1 x D2 Matrix class.
Definition:
BinaryOperators.h:31
TrackD
Definition:
Track.h:24
Double32_t
double Double32_t
Definition:
RtypesCore.h:56
SMatrix5D
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepStd< double, 5, 5 > > SMatrix5D
Definition:
Track.h:8
TrackD32::TrackD32
TrackD32(const SMatrix5D32 &cov)
Definition:
Track.h:34
TrackD32::TrackD32
TrackD32()
Definition:
Track.h:32
TrackD::TrackD
TrackD()
Definition:
Track.h:15
SMatrix.h
TrackD32
Definition:
Track.h:56
TrackD32::CovMatrix
SMatrix5D & CovMatrix()
Definition:
Track.h:36
TrackD32::fCov
SMatrix5D32 fCov
Definition:
Track.h:40