StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcT0BXC.h
1 #ifndef St_tpcT0BXC_h
2 #define St_tpcT0BXC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcT0BX_Table.h"
6 
7 class St_tpcT0BXC : public TChair {
8  public:
9  static St_tpcT0BXC* instance();
10  tpcT0BX_st *Struct(Int_t i = 0) const {return ((St_tpcT0BX*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  Int_t detId(Int_t i = 0) const {return Struct(i)->detId;}
13  Char_t* name(Int_t i = 0) const {return Struct(i)->name;}
14  Float_t xmin(Int_t i = 0) const {return Struct(i)->xmin;}
15  Float_t xmax(Int_t i = 0) const {return Struct(i)->xmax;}
16  Float_t tMean(Int_t i = 0) const {return Struct(i)->tMean;}
17  Float_t vMean(Int_t i = 0) const {return Struct(i)->vMean;}
18  Float_t toff(Int_t i = 0) const {return Struct(i)->toff;}
19  Float_t dtoff(Int_t i = 0) const {return Struct(i)->dtoff;}
20  Float_t slope(Int_t i = 0) const {return Struct(i)->slope;}
21  Float_t dslope(Int_t i = 0) const {return Struct(i)->dslope;}
22  Float_t CountPs(Int_t i = 0) const {return Struct(i)->CountPs;}
23  Float_t dCountPs(Int_t i = 0) const {return Struct(i)->dCountPs;}
24  Double_t getT0(Double_t values[7]) const;
25  protected:
26  St_tpcT0BXC(St_tpcT0BX *table=0) : TChair(table) {}
27  virtual ~St_tpcT0BXC() {fgInstance = 0;}
28  private:
29  static St_tpcT0BXC* fgInstance;
30  ClassDefChair(St_tpcT0BX, tpcT0BX_st )
31  ClassDef(St_tpcT0BXC,1) //C++ TChair for tpcT0BX table class
32 };
33 #endif
Definition: TChair.h:27