00001 #ifndef St_ftpcGasSystemC_h
00002 #define St_ftpcGasSystemC_h
00003
00004 #include "TChair.h"
00005 #include "tables/St_ftpcGasSystem_Table.h"
00006
00007 class St_ftpcGasSystemC : public TChair {
00008 public:
00009 static St_ftpcGasSystemC* instance();
00010 ftpcGasSystem_st *Struct(Int_t i = 0) {return ((St_ftpcGasSystem*) Table())->GetTable()+i;}
00011 UInt_t getNumRows() {return GetNRows();}
00012 UInt_t runNumber(Int_t i = 0) {return Struct(i)->runNumber;}
00013 UInt_t timeOffset(Int_t i = 0) {return Struct(i)->timeOffset;}
00014 Double_t westO2ppm(Int_t i = 0) {return Struct(i)->westO2ppm;}
00015 Double_t westO2mv(Int_t i = 0) {return Struct(i)->westO2mv;}
00016 Double_t eastO2ppm(Int_t i = 0) {return Struct(i)->eastO2ppm;}
00017 Double_t eastO2mv(Int_t i = 0) {return Struct(i)->eastO2mv;}
00018 Double_t extO2ppm(Int_t i = 0) {return Struct(i)->extO2ppm;}
00019 Double_t extO2mv(Int_t i = 0) {return Struct(i)->extO2mv;}
00020 Double_t westH2Odp(Int_t i = 0) {return Struct(i)->westH2Odp;}
00021 Double_t eastH2Odp(Int_t i = 0) {return Struct(i)->eastH2Odp;}
00022 Double_t flowAr(Int_t i = 0) {return Struct(i)->flowAr;}
00023 Double_t flowCO2(Int_t i = 0) {return Struct(i)->flowCO2;}
00024 protected:
00025 St_ftpcGasSystemC(St_ftpcGasSystem *table=0) : TChair(table) {}
00026 virtual ~St_ftpcGasSystemC() {fgInstance = 0;}
00027 private:
00028 static St_ftpcGasSystemC* fgInstance;
00029 ClassDefChair(St_ftpcGasSystem, ftpcGasSystem_st )
00030 ClassDef(St_ftpcGasSystemC,1)
00031 };
00032 #endif