StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcRDOT0offsetC.h
1 #ifndef St_tpcRDOT0offsetC_h
2 #define St_tpcRDOT0offsetC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcRDOT0offset_Table.h"
6 
7 class St_tpcRDOT0offsetC : public TChair {
8  public:
9  static St_tpcRDOT0offsetC* instance();
10  tpcRDOT0offset_st *Struct(Int_t i = 0) const {return ((St_tpcRDOT0offset*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  UChar_t* isShifted(Int_t i = 0) const {return Struct(i)->isShifted;}
13  Bool_t IsShfited(Int_t sector) const {return isShifted()[sector-1];}
14  Float_t T0(Int_t sector, Int_t padrow, Int_t pad) const;
15  protected:
16  St_tpcRDOT0offsetC(St_tpcRDOT0offset *table=0) : TChair(table) {}
17  virtual ~St_tpcRDOT0offsetC() {fgInstance = 0;}
18  private:
19  static St_tpcRDOT0offsetC* fgInstance;
20  ClassDefChair(St_tpcRDOT0offset, tpcRDOT0offset_st )
21  ClassDef(St_tpcRDOT0offsetC,1) //C++ TChair for tpcRDOT0offset table class
22 };
23 #endif
Definition: TChair.h:27