StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcFieldCageC.h
1 #ifndef St_tpcFieldCageC_h
2 #define St_tpcFieldCageC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcFieldCage_Table.h"
6 
7 class St_tpcFieldCageC : public TChair {
8  public:
9  static St_tpcFieldCageC* instance();
10  tpcFieldCage_st *Struct(Int_t i = 0) {return ((St_tpcFieldCage*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Float_t innerFieldCageShift(Int_t i = 0){return Struct(i)->innerFieldCageShift;}
13  Float_t InnerFieldCageShift(Int_t i = 0){return innerFieldCageShift(i);}
14  Float_t eastClockError(Int_t i = 0) {return Struct(i)->eastClockError;}
15  Float_t EastClockError(Int_t i = 0) {return eastClockError(i);}
16  Float_t westClockError(Int_t i = 0) {return Struct(i)->westClockError;}
17  Float_t WestClockError(Int_t i = 0) {return westClockError(i);}
18  protected:
19  St_tpcFieldCageC(St_tpcFieldCage *table=0) : TChair(table) {}
20  virtual ~St_tpcFieldCageC() {fgInstance = 0;}
21  private:
22  static St_tpcFieldCageC* fgInstance;
23  ClassDefChair(St_tpcFieldCage, tpcFieldCage_st )
24  ClassDef(St_tpcFieldCageC,1) //C++ TChair for tpcFieldCage table class
25 };
26 #endif
Definition: TChair.h:27