5 #include "tables/St_Survey_Table.h"
6 #include "TGeoMatrix.h"
10 static St_SurveyC *instance(
const Char_t *name);
11 Survey_st *Struct(Int_t i = 0)
const {
return ((St_Survey*) Table())->GetTable()+i;}
12 UInt_t getNumRows()
const {
return GetNRows();}
13 Int_t Id(Int_t i = 0)
const {
return Struct(i)->Id;}
14 Double_t r00(Int_t i = 0)
const {
return Struct(i)->r00;}
15 Double_t r01(Int_t i = 0)
const {
return Struct(i)->r01;}
16 Double_t r02(Int_t i = 0)
const {
return Struct(i)->r02;}
17 Double_t r10(Int_t i = 0)
const {
return Struct(i)->r10;}
18 Double_t r11(Int_t i = 0)
const {
return Struct(i)->r11;}
19 Double_t r12(Int_t i = 0)
const {
return Struct(i)->r12;}
20 Double_t r20(Int_t i = 0)
const {
return Struct(i)->r20;}
21 Double_t r21(Int_t i = 0)
const {
return Struct(i)->r21;}
22 Double_t r22(Int_t i = 0)
const {
return Struct(i)->r22;}
23 Double_t t0(Int_t i = 0)
const {
return Struct(i)->t0;}
24 Double_t t1(Int_t i = 0)
const {
return Struct(i)->t1;}
25 Double_t t2(Int_t i = 0)
const {
return Struct(i)->t2;}
26 Double_t sigmaRotX(Int_t i = 0)
const {
return Struct(i)->sigmaRotX;}
27 Double_t sigmaRotY(Int_t i = 0)
const {
return Struct(i)->sigmaRotY;}
28 Double_t sigmaRotZ(Int_t i = 0)
const {
return Struct(i)->sigmaRotZ;}
29 Double_t sigmaTrX(Int_t i = 0)
const {
return Struct(i)->sigmaTrX;}
30 Double_t sigmaTrY(Int_t i = 0)
const {
return Struct(i)->sigmaTrY;}
31 Double_t sigmaTrZ(Int_t i = 0)
const {
return Struct(i)->sigmaTrZ;}
32 Char_t* comment(Int_t i = 0)
const {
return Struct(i)->comment;}
33 void GetAngles(Double_t &phi, Double_t &the, Double_t &psi, Int_t i = 0);
34 const Double_t *Rotation(Int_t i = 0)
const {
return &Struct(i)->r00;}
35 const Double_t *Translation(Int_t i = 0)
const {
return &Struct(i)->t0;}
36 const TGeoHMatrix &GetMatrix(Int_t i = 0);
37 const TGeoHMatrix &GetMatrix4Id(Int_t
id);
38 const TGeoHMatrix &GetMatrixR(Int_t i);
39 const Double_t *r(Int_t i = 0)
const {
return &Struct(i)->r00;}
40 const Double_t *t(Int_t i = 0)
const {
return &Struct(i)->t0;}
41 static void Normalize(TGeoHMatrix &rot);
42 static Double_t IsOrtogonal(
const Double_t *r);
46 TGeoHMatrix **fRotations;
47 ClassDefChair(St_Survey, Survey_st )