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