StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcExtraGainCorrectionC.h
1 #ifndef St_tpcExtraGainCorrectionC_h
2 #define St_tpcExtraGainCorrectionC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcExtraGainCorrection_Table.h"
6 
8  public:
9  static St_tpcExtraGainCorrectionC* instance();
10  tpcExtraGainCorrection_st *Struct(Int_t i = 0) const {return ((St_tpcExtraGainCorrection*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  Short_t idx(Int_t i = 0) const {return Struct(i)->idx;}
13  Short_t nrows(Int_t i = 0) const {return Struct(i)->nrows;}
14  Int_t runMin(Int_t i = 0) const {return Struct(i)->runMin;}
15  Int_t runMax(Int_t i = 0) const {return Struct(i)->runMax;}
16  Int_t sector(Int_t i = 0) const {return Struct(i)->sector;}
17  Int_t row(Int_t i = 0) const {return Struct(i)->row;}
18  Int_t RDO(Int_t i = 0) const {return Struct(i)->RDO;}
19  Int_t FEE(Int_t i = 0) const {return Struct(i)->FEE;}
20  Short_t padMin(Int_t i = 0) const {return Struct(i)->padMin;}
21  Short_t padMax(Int_t i = 0) const {return Struct(i)->padMax;}
22  Short_t status(Int_t i = 0) const {return Struct(i)->status;}
23  protected:
24  St_tpcExtraGainCorrectionC(St_tpcExtraGainCorrection *table=0) : TChair(table) {}
25  virtual ~St_tpcExtraGainCorrectionC() {fgInstance = 0;}
26  private:
27  static St_tpcExtraGainCorrectionC* fgInstance;
28  ClassDefChair(St_tpcExtraGainCorrection, tpcExtraGainCorrection_st )
29  ClassDef(St_tpcExtraGainCorrectionC,1) //C++ TChair for tpcExtraGainCorrection table class
30 };
31 #endif
Definition: TChair.h:27