StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcEffectiveGeomC.h
1 #ifndef St_tpcEffectiveGeomC_h
2 #define St_tpcEffectiveGeomC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcEffectiveGeom_Table.h"
6 
7 class St_tpcEffectiveGeomC : public TChair {
8  public:
9  static St_tpcEffectiveGeomC* instance();
10  tpcEffectiveGeom_st *Struct(Int_t i = 0) {return ((St_tpcEffectiveGeom*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Double_t drift_length_correction(Int_t i=0){return Struct(i)->drift_length_correction;}
13  Double_t z_inner_offset(Int_t i = 0) {return Struct(i)->z_inner_offset;}
14  Double_t z_outer_offset(Int_t i = 0) {return Struct(i)->z_outer_offset;}
15  Double_t z_inner_offset_West(Int_t i = 0) {return Struct(i)->z_inner_offset_West;}
16  Double_t z_outer_offset_West(Int_t i = 0) {return Struct(i)->z_outer_offset_West;}
17  /* Double_t scale(Int_t i = 0) {return Struct(i)->scale;} */
18  protected:
19  St_tpcEffectiveGeomC(St_tpcEffectiveGeom *table=0) : TChair(table) {}
20  virtual ~St_tpcEffectiveGeomC() {fgInstance = 0;}
21  private:
22  static St_tpcEffectiveGeomC* fgInstance;
23  ClassDefChair(St_tpcEffectiveGeom, tpcEffectiveGeom_st )
24  ClassDef(St_tpcEffectiveGeomC,1) //C++ TChair for tpcEffectiveGeom table class
25 };
26 #endif
Definition: TChair.h:27