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