StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_ftpcGasOutC.h
1 #ifndef St_ftpcGasOutC_h
2 #define St_ftpcGasOutC_h
3 
4 #include "TChair.h"
5 #include "tables/St_ftpcGasOut_Table.h"
6 
7 class St_ftpcGasOutC : public TChair {
8  public:
9  static St_ftpcGasOutC* instance();
10  ftpcGasOut_st *Struct(Int_t i = 0) {return ((St_ftpcGasOut*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  UInt_t runNumber(Int_t i = 0) {return Struct(i)->runNumber;}
13  Double_t gasOutEast(Int_t i = 0) {return Struct(i)->gasOutEast;}
14  Double_t gasOutWest(Int_t i = 0) {return Struct(i)->gasOutWest;}
15  Double_t body1East(Int_t i = 0) {return Struct(i)->body1East;}
16  Double_t body1West(Int_t i = 0) {return Struct(i)->body1West;}
17  Double_t body2East(Int_t i = 0) {return Struct(i)->body2East;}
18  Double_t body2West(Int_t i = 0) {return Struct(i)->body2West;}
19  Double_t body3East(Int_t i = 0) {return Struct(i)->body3East;}
20  Double_t body3West(Int_t i = 0) {return Struct(i)->body3West;}
21  Double_t body4East(Int_t i = 0) {return Struct(i)->body4East;}
22  Double_t body4West(Int_t i = 0) {return Struct(i)->body4West;}
23  Double_t body5East(Int_t i = 0) {return Struct(i)->body5East;}
24  Double_t body5West(Int_t i = 0) {return Struct(i)->body5West;}
25  Double_t body6East(Int_t i = 0) {return Struct(i)->body6East;}
26  Double_t body6West(Int_t i = 0) {return Struct(i)->body6West;}
27  protected:
28  St_ftpcGasOutC(St_ftpcGasOut *table=0) : TChair(table) {}
29  virtual ~St_ftpcGasOutC() {fgInstance = 0;}
30  private:
31  static St_ftpcGasOutC* fgInstance;
32  ClassDefChair(St_ftpcGasOut, ftpcGasOut_st )
33  ClassDef(St_ftpcGasOutC,1) //C++ TChair for ftpcGasOut table class
34 };
35 #endif
Definition: TChair.h:27