StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_tpcCorrectionC.h
1 #ifndef St_tpcCorrectionC_h
2 #define St_tpcCorrectionC_h
3 
4 #include "TChair.h"
5 #include "tables/St_tpcCorrection_Table.h"
6 
7 class St_tpcCorrectionC : public TChair {
8  public:
9  St_tpcCorrectionC(St_tpcCorrection *table=0) : TChair(table) {}
10  virtual ~St_tpcCorrectionC() {}
11  tpcCorrection_st *Struct(Int_t i = 0) const {return ((St_tpcCorrection*) Table())->GetTable()+i;}
12  UInt_t getNumRows() const {return GetNRows();}
13  Int_t type(Int_t i = 0) const {return Struct(i)->type;}
14  Int_t idx(Int_t i = 0) const {return Struct(i)->idx;}
15  Int_t nrows(Int_t i = 0) const {return Struct(i)->nrows;}
16  Int_t npar(Int_t i = 0) const {return Struct(i)->npar;}
17  Double_t OffSet(Int_t i = 0) const {return Struct(i)->OffSet;}
18  Double_t min(Int_t i = 0) const {return Struct(i)->min;}
19  Double_t max(Int_t i = 0) const {return Struct(i)->max;}
20  Double_t* a(Int_t i = 0) const {return Struct(i)->a;}
21  Double_t CalcCorrection(Int_t i, Double_t x, Double_t z = 0, Int_t NparMax = -1) const;
22  Double_t CalcXDerivative(Int_t i, Double_t x, Double_t z = 0, Int_t NparMax = -1) const;
23  Double_t SumSeries(tpcCorrection_st *cor, Double_t x, Double_t z = 0, Int_t NparMax = -1) const;
24  Double_t SumSeriesXDerivative(tpcCorrection_st *cor, Double_t x, Double_t z = 0, Int_t NparMax = -1) const;
25  Int_t IsActiveChair() const;
26  ClassDefChair(St_tpcCorrection, tpcCorrection_st )
27  ClassDef(St_tpcCorrectionC,1) //C++ TChair for tpcCorrection table class
28 };
29 #endif
Definition: TChair.h:27