StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcPadrowT0C.h
1 #ifndef St_tpcPadrowT0C_h
2 #define St_tpcPadrowT0C_h
3 #include "TChair.h"
4 #include "tables/St_tpcPadrowT0_Table.h"
5 
6 class St_tpcPadrowT0C : public TChair {
7  public:
8  static St_tpcPadrowT0C* instance();
9  tpcPadrowT0_st *Struct(Int_t i = 0) {return ((St_tpcPadrowT0*) Table())->GetTable()+i;}
10  Float_t T0(Int_t sector, Int_t row) {return Struct(sector-1)->T0[row-1];}
11  protected:
12  St_tpcPadrowT0C(St_tpcPadrowT0 *table=0) : TChair(table) {}
13  virtual ~St_tpcPadrowT0C() {fgInstance = 0;}
14  private:
15  static St_tpcPadrowT0C* fgInstance;
16  ClassDefChair(St_tpcPadrowT0, tpcPadrowT0_st )
17  ClassDef(St_tpcPadrowT0C,1) //C++ TChair for tpcPadrowT0 table class
18 };
19 
20 #endif
Definition: TChair.h:27