StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tofGeomAlignC.h
1 #ifndef St_tofGeomAlignC_h
2 #define St_tofGeomAlignC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tofGeomAlign_Table.h"
6 
7 class St_tofGeomAlignC : public TChair {
8  public:
9  static St_tofGeomAlignC* instance();
10  tofGeomAlign_st *Struct(Int_t i = 0) const {return ((St_tofGeomAlign*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  Float_t z0(Int_t i = 0) const {return Struct(i)->z0;}
13  Float_t x0(Int_t i = 0) const {return Struct(i)->x0;}
14  Float_t phi0(Int_t i = 0) const {return Struct(i)->phi0;}
15  Float_t angle0(Int_t i = 0) const {return Struct(i)->angle0;}
16  protected:
17  St_tofGeomAlignC(St_tofGeomAlign *table=0) : TChair(table) {}
18  virtual ~St_tofGeomAlignC() {fgInstance = 0;}
19  private:
20  static St_tofGeomAlignC* fgInstance;
21  ClassDefChair(St_tofGeomAlign, tofGeomAlign_st )
22  ClassDef(St_tofGeomAlignC,1) //C++ TChair for tofGeomAlign table class
23 };
24 #endif
Definition: TChair.h:27