StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcGasC.h
1 #ifndef St_tpcGasC_h
2 #define St_tpcGasC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcGas_Table.h"
6 
7 class St_tpcGasC : public TChair {
8  public:
9  static St_tpcGasC* instance();
10  tpcGas_st *Struct(Int_t i = 0) {return ((St_tpcGas*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Float_t barometricPressure(Int_t i = 0) {return Struct(i)->barometricPressure;}
13  Float_t inputTPCGasPressure(Int_t i = 0){return Struct(i)->inputTPCGasPressure;}
14  Float_t nitrogenPressure(Int_t i = 0) {return Struct(i)->nitrogenPressure;}
15  Float_t gasPressureDiff(Int_t i = 0) {return Struct(i)->gasPressureDiff;}
16  Float_t inputGasTemperature(Int_t i = 0){return Struct(i)->inputGasTemperature;}
17  Float_t outputGasTemperature(Int_t i =0){return Struct(i)->outputGasTemperature;}
18  Float_t flowRateArgon1(Int_t i = 0) {return Struct(i)->flowRateArgon1;}
19  Float_t flowRateArgon2(Int_t i = 0) {return Struct(i)->flowRateArgon2;}
20  Float_t flowRateMethane(Int_t i = 0) {return Struct(i)->flowRateMethane;}
21  Float_t percentMethaneIn(Int_t i = 0) {return Struct(i)->percentMethaneIn;}
22  Float_t ppmOxygenIn(Int_t i = 0) {return Struct(i)->ppmOxygenIn;}
23  Float_t flowRateExhaust(Int_t i = 0) {return Struct(i)->flowRateExhaust;}
24  Float_t percentMethaneOut(Int_t i = 0) {return Struct(i)->percentMethaneOut;}
25  Float_t ppmWaterOut(Int_t i = 0) {return Struct(i)->ppmWaterOut;}
26  Float_t ppmOxygenOut(Int_t i = 0) {return Struct(i)->ppmOxygenOut;}
27  Float_t flowRateRecirculation(Int_t i=0){return Struct(i)->flowRateRecirculation;}
28  protected:
29  St_tpcGasC(St_tpcGas *table=0) : TChair(table) {}
30  virtual ~St_tpcGasC() {fgInstance = 0;}
31  private:
32  static St_tpcGasC* fgInstance;
33  ClassDefChair(St_tpcGas, tpcGas_st )
34  ClassDef(St_tpcGasC,1) //C++ TChair for tpcGas table class
35 };
36 #endif
Definition: TChair.h:27