1 #ifndef St_tpcCorrectionC_h
2 #define St_tpcCorrectionC_h
5 #include "tables/St_tpcCorrection_Table.h"
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 )