1 #ifndef St_tpcGridLeakC_h
2 #define St_tpcGridLeakC_h
5 #include "tables/St_tpcGridLeak_Table.h"
15 tpcGridLeak_st *Struct(Int_t i = 0) {
return ((St_tpcGridLeak*) Table())->GetTable()+i;}
16 UInt_t getNumRows() {
return GetNRows();}
17 Double_t InnerGLRadius(Int_t i = 0) {
return Struct(i)->InnerGLRadius;}
18 Double_t MiddlGLRadius(Int_t i = 0) {
return Struct(i)->MiddlGLRadius;}
19 Double_t OuterGLRadius(Int_t i = 0) {
return Struct(i)->OuterGLRadius;}
20 Double_t InnerGLWidth(Int_t i = 0) {
return Struct(i)->InnerGLWidth;}
21 Double_t MiddlGLWidth(Int_t i = 0) {
return Struct(i)->MiddlGLWidth;}
22 Double_t OuterGLWidth(Int_t i = 0) {
return Struct(i)->OuterGLWidth;}
23 Double_t InnerGLStrength(Int_t i = 0) {
return Struct(i)->InnerGLStrength;}
24 Double_t MiddlGLStrength(Int_t i = 0) {
return Struct(i)->MiddlGLStrength;}
25 Double_t OuterGLStrength(Int_t i = 0) {
return Struct(i)->OuterGLStrength;}
26 Double_t getGridLeakStrength(StGLpos pos){
28 case (kGLinner) :
return InnerGLStrength();
29 case (kGLmiddl) :
return MiddlGLStrength();
30 case (kGLouter) :
return OuterGLStrength();
34 Double_t getGridLeakRadius(StGLpos pos) {
36 case (kGLinner) :
return InnerGLRadius();
37 case (kGLmiddl) :
return MiddlGLRadius();
38 case (kGLouter) :
return OuterGLRadius();
42 Double_t getGridLeakWidth(StGLpos pos) {
44 case (kGLinner) :
return InnerGLWidth();
45 case (kGLmiddl) :
return MiddlGLWidth();
46 case (kGLouter) :
return OuterGLWidth();
55 ClassDefChair(St_tpcGridLeak, tpcGridLeak_st )