StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiKalmanTrackFitterParameters.h
1 #ifndef StiKalmanTrackFitterParameters_h
2 #define StiKalmanTrackFitterParameters_h
3 
4 #include "TChair.h"
5 #include "tables/St_KalmanTrackFitterParameters_Table.h"
6 
8  public:
9  static StiKalmanTrackFitterParameters* instance();
10  KalmanTrackFitterParameters_st *Struct(Int_t i = 0) const {return ((St_KalmanTrackFitterParameters*) Table())->GetTable()+i;}
11  UInt_t getNumRows() const {return GetNRows();}
12  Double_t maxChi2(Int_t i = 0) const {return Struct(i)->maxChi2;}
13  Double_t maxChi2Vtx(Int_t i = 0) const {return Struct(i)->maxChi2Vtx;}
14  Double_t getMaxChi2() const {return maxChi2();}
15  Double_t getMaxChi2Vtx() const {return maxChi2Vtx();}
16 
17  protected:
18  StiKalmanTrackFitterParameters(St_KalmanTrackFitterParameters *table=0) : TChair(table) {}
19  virtual ~StiKalmanTrackFitterParameters() {fgInstance = 0;}
20  private:
21  static StiKalmanTrackFitterParameters* fgInstance;
22  ClassDefineChair(StiKalmanTrackFitterParameters,St_KalmanTrackFitterParameters, KalmanTrackFitterParameters_st )
23  ClassDef(StiKalmanTrackFitterParameters,1) //C++ TChair for KalmanTrackFitterParameters table class
24 };
25 #endif
Definition: TChair.h:27