StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_ftpcGasSystemC.h
1 #ifndef St_ftpcGasSystemC_h
2 #define St_ftpcGasSystemC_h
3 
4 #include "TChair.h"
5 #include "tables/St_ftpcGasSystem_Table.h"
6 
7 class St_ftpcGasSystemC : public TChair {
8  public:
9  static St_ftpcGasSystemC* instance();
10  ftpcGasSystem_st *Struct(Int_t i = 0) {return ((St_ftpcGasSystem*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  UInt_t runNumber(Int_t i = 0) {return Struct(i)->runNumber;}
13  UInt_t timeOffset(Int_t i = 0) {return Struct(i)->timeOffset;}
14  Double_t westO2ppm(Int_t i = 0) {return Struct(i)->westO2ppm;}
15  Double_t westO2mv(Int_t i = 0) {return Struct(i)->westO2mv;}
16  Double_t eastO2ppm(Int_t i = 0) {return Struct(i)->eastO2ppm;}
17  Double_t eastO2mv(Int_t i = 0) {return Struct(i)->eastO2mv;}
18  Double_t extO2ppm(Int_t i = 0) {return Struct(i)->extO2ppm;}
19  Double_t extO2mv(Int_t i = 0) {return Struct(i)->extO2mv;}
20  Double_t westH2Odp(Int_t i = 0) {return Struct(i)->westH2Odp;}
21  Double_t eastH2Odp(Int_t i = 0) {return Struct(i)->eastH2Odp;}
22  Double_t flowAr(Int_t i = 0) {return Struct(i)->flowAr;}
23  Double_t flowCO2(Int_t i = 0) {return Struct(i)->flowCO2;}
24  protected:
25  St_ftpcGasSystemC(St_ftpcGasSystem *table=0) : TChair(table) {}
26  virtual ~St_ftpcGasSystemC() {fgInstance = 0;}
27  private:
28  static St_ftpcGasSystemC* fgInstance;
29  ClassDefChair(St_ftpcGasSystem, ftpcGasSystem_st )
30  ClassDef(St_ftpcGasSystemC,1) //C++ TChair for ftpcGasSystem table class
31 };
32 #endif
Definition: TChair.h:27