StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcSectorT0offsetC.h
1 #ifndef St_tpcSectorT0offsetC_h
2 #define St_tpcSectorT0offsetC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcSectorT0offset_Table.h"
6 
7 class St_tpcSectorT0offsetC : public TChair {
8  public:
9  static St_tpcSectorT0offsetC* instance();
10  tpcSectorT0offset_st *Struct(Int_t i = 0) {return ((St_tpcSectorT0offset*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Float_t* t0(Int_t i = 0) {return Struct(i)->t0;}
13  Float_t t0offset(Int_t sector=1) {return t0()[sector-1];}
14  protected:
15  St_tpcSectorT0offsetC(St_tpcSectorT0offset *table=0) : TChair(table) {}
16  virtual ~St_tpcSectorT0offsetC() {fgInstance = 0;}
17  private:
18  static St_tpcSectorT0offsetC* fgInstance;
19  ClassDefChair(St_tpcSectorT0offset, tpcSectorT0offset_st )
20  ClassDef(St_tpcSectorT0offsetC,1) //C++ TChair for tpcSectorT0offset table class
21 };
22 #endif
Definition: TChair.h:27