StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcOmegaTauC.h
1 #ifndef St_tpcOmegaTauC_h
2 #define St_tpcOmegaTauC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcOmegaTau_Table.h"
6 
7 class St_tpcOmegaTauC : public TChair {
8  public:
9  static St_tpcOmegaTauC* instance();
10  tpcOmegaTau_st *Struct(Int_t i = 0) {return ((St_tpcOmegaTau*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Float_t tensorV1(Int_t i = 0) {return Struct(i)->tensorV1;}
13  Float_t tensorV2(Int_t i = 0) {return Struct(i)->tensorV2;}
14  Float_t getOmegaTauTensorV1() {return tensorV1();}
15  Float_t getOmegaTauTensorV2() {return tensorV2();}
16  UInt_t distortionCorrectionsMode(Int_t i = 0)
17  {return Struct(i)->distortionCorrectionsMode;}
18  protected:
19  St_tpcOmegaTauC(St_tpcOmegaTau *table=0) : TChair(table) {}
20  virtual ~St_tpcOmegaTauC() {fgInstance = 0;}
21  private:
22  static St_tpcOmegaTauC* fgInstance;
23  ClassDefChair(St_tpcOmegaTau, tpcOmegaTau_st )
24  ClassDef(St_tpcOmegaTauC,1) //C++ TChair for tpcOmegaTau table class
25 };
26 #endif
Definition: TChair.h:27