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