00001 #ifndef St_y1MultC_h
00002 #define St_y1MultC_h
00003
00004 #include "TChair.h"
00005 #include "tables/St_y1Mult_Table.h"
00006
00007 class St_y1MultC : public TChair {
00008 public:
00009 static St_y1MultC* instance();
00010 y1Mult_st *Struct(Int_t i = 0) {return ((St_y1Mult*) Table())->GetTable()+i;}
00011 UInt_t getNumRows() {return GetNRows();}
00012 Double_t mult(Int_t i = 0) {return Struct(i)->mult;}
00013 protected:
00014 St_y1MultC(St_y1Mult *table=0) : TChair(table) {}
00015 virtual ~St_y1MultC() {fgInstance = 0;}
00016 private:
00017 static St_y1MultC* fgInstance;
00018 ClassDefChair(St_y1Mult, y1Mult_st )
00019 ClassDef(St_y1MultC,1)
00020 };
00021 #endif