1 #ifndef St_tpcGlobalPositionC_h
2 #define St_tpcGlobalPositionC_h
5 #include "tables/St_tpcGlobalPosition_Table.h"
10 tpcGlobalPosition_st *Struct(Int_t i = 0)
const {
return ((St_tpcGlobalPosition*) Table())->GetTable()+i;}
11 UInt_t getNumRows()
const {
return GetNRows();}
12 Float_t LocalxShift(Int_t i = 0)
const {
return Struct(i)->LocalxShift;}
13 Float_t LocalyShift(Int_t i = 0)
const {
return Struct(i)->LocalyShift;}
14 Float_t LocalzShift(Int_t i = 0)
const {
return Struct(i)->LocalzShift;}
16 Float_t PhiXZ(Int_t i = 0)
const {
return Struct(i)->PhiXZ;}
17 Float_t PhiYZ(Int_t i = 0)
const {
return Struct(i)->PhiYZ;}
21 Float_t PhiXY_geom(Int_t i = 0)
const {
return Struct(i)->PhiXY_geom;}
22 Float_t PhiXZ_geom(Int_t i = 0)
const {
return Struct(i)->PhiXZ_geom;}
23 Float_t PhiYZ_geom(Int_t i = 0)
const {
return Struct(i)->PhiYZ_geom;}
27 Double_t TpcCenterPositionX()
const {
return LocalxShift();}
28 Double_t TpcCenterPositionY()
const {
return LocalyShift();}
29 Double_t TpcCenterPositionZ()
const {
return LocalzShift();}
30 Double_t TpcRotationAroundGlobalAxisX()
const {
return PhiYZ_geom();}
31 Double_t TpcRotationAroundGlobalAxisY()
const {
return PhiXZ_geom();}
32 Double_t TpcRotationAroundGlobalAxisZ()
const {
return PhiXY_geom();}
33 Double_t TpcEFieldRotationX()
const {
return PhiYZ();}
34 Double_t TpcEFieldRotationY()
const {
return PhiXZ();}
35 Double_t XTWIST()
const {
return 1e3*TpcEFieldRotationY();}
36 Double_t YTWIST()
const {
return -1e3*TpcEFieldRotationX();}
38 Double_t X0()
const {
return LocalxShift();}
39 Double_t Y0()
const {
return LocalyShift();}
40 Double_t Z0()
const {
return LocalzShift();}
41 Double_t alpha()
const {
return PhiYZ_geom();}
42 Double_t beta()
const {
return PhiXZ_geom();}
43 Double_t gamma()
const {
return PhiXY_geom();}
49 ClassDefChair(St_tpcGlobalPosition, tpcGlobalPosition_st )