StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_vertexSeedC.h
1 #ifndef St_vertexSeedC_h
2 #define St_vertexSeedC_h
3 
4 #include "TChair.h"
5 #include "tables/St_vertexSeed_Table.h"
6 
7 class St_vertexSeedC : public TChair {
8  public:
9  static St_vertexSeedC* instance();
10  vertexSeed_st *Struct(Int_t i = 0) const {return ((St_vertexSeed*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  Float_t x0(Int_t i = 0) const {return Struct(i)->x0;}
13  Float_t dxdz(Int_t i = 0) const {return Struct(i)->dxdz;}
14  Float_t y0(Int_t i = 0) const {return Struct(i)->y0;}
15  Float_t dydz(Int_t i = 0) const {return Struct(i)->dydz;}
16  Float_t err_x0(Int_t i = 0) const {return Struct(i)->err_x0;}
17  Float_t err_dxdz(Int_t i = 0) const {return Struct(i)->err_dxdz;}
18  Float_t err_y0(Int_t i = 0) const {return Struct(i)->err_y0;}
19  Float_t err_dydz(Int_t i = 0) const {return Struct(i)->err_dydz;}
20  Float_t chisq_dof(Int_t i = 0) const {return Struct(i)->chisq_dof;}
21  Float_t weight(Int_t i = 0) const {return Struct(i)->weight;}
22  Float_t stats(Int_t i = 0) const {return Struct(i)->stats;}
23  protected:
24  St_vertexSeedC(St_vertexSeed *table=0) : TChair(table) {}
25  virtual ~St_vertexSeedC() {fgInstance = 0;}
26  private:
27  static St_vertexSeedC* fgInstance;
28  ClassDefChair(St_vertexSeed, vertexSeed_st )
29  ClassDef(St_vertexSeedC,1) //C++ TChair for vertexSeed table class
30 };
31 #endif
Definition: TChair.h:27