StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_VertexCutsC.h
1 #ifndef St_VertexCutsC_h
2 #define St_VertexCutsC_h
3 
4 #include "TChair.h"
5 #include "tables/St_VertexCuts_Table.h"
6 
7 class St_VertexCutsC : public TChair {
8  public:
9  static St_VertexCutsC* instance();
10  VertexCuts_st *Struct(Int_t i = 0) {return ((St_VertexCuts*) Table())->GetTable()+i;}
11  UInt_t getNumRows() {return GetNRows();}
12  Int_t MinNumberOfFitPointsOnTrack(Int_t i = 0) {return Struct(i)->MinNumberOfFitPointsOnTrack;}
13  Int_t MinTrack(Int_t i = 0) {return Struct(i)->MinTrack;}
14  Float_t DcaZMax(Int_t i = 0) {return Struct(i)->DcaZMax;}
15  Double_t RImpactMax(Int_t i = 0) {return Struct(i)->RImpactMax;}
16  Float_t MinFracOfPossFitPointsOnTrack(Int_t i = 0) {return Struct(i)->MinFracOfPossFitPointsOnTrack;}
17  Float_t MinTrackPt(Int_t i = 0) {return Struct(i)->MinTrackPt;}
18  Float_t ZMin(Int_t i = 0) {return Struct(i)->ZMin;}
19  Float_t ZMax(Int_t i = 0) {return Struct(i)->ZMax;}
20  protected:
21  St_VertexCutsC(St_VertexCuts *table=0) : TChair(table) {}
22  virtual ~St_VertexCutsC() {fgInstance = 0;}
23  private:
24  static St_VertexCutsC* fgInstance;
25  ClassDefChair(St_VertexCuts, VertexCuts_st )
26  ClassDef(St_VertexCutsC,1) //C++ TChair for VertexCuts table class
27 };
28 #endif
Definition: TChair.h:27