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