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