1 #ifndef St_MDFCorrectionC_h
2 #define St_MDFCorrectionC_h
5 #include "tables/St_MDFCorrection_Table.h"
17 MDFCorrection_st *Struct(Int_t k = 0)
const {
return ((St_MDFCorrection*) Table())->GetTable()+k;}
18 UInt_t getNumRows()
const {
return GetNRows();}
19 UChar_t idx(Int_t k = 0)
const {
return Struct(k)->idx;}
20 UChar_t nrows(Int_t k = 0)
const {
return Struct(k)->nrows;}
21 UChar_t PolyType(Int_t k = 0)
const {
return Struct(k)->PolyType;}
22 UChar_t NVariables(Int_t k = 0)
const {
return Struct(k)->NVariables;}
23 UChar_t NCoefficients(Int_t k = 0)
const {
return Struct(k)->NCoefficients;}
24 UChar_t* Powers(Int_t k = 0)
const {
return Struct(k)->Power;}
25 Double_t DMean(Int_t k = 0)
const {
return Struct(k)->DMean;}
26 Double_t* XMin(Int_t k = 0)
const {
return Struct(k)->XMin;}
27 Double_t* XMax(Int_t k = 0)
const {
return Struct(k)->XMax;}
28 Double_t* Coefficients(Int_t k = 0)
const {
return Struct(k)->Coefficients;}
29 Double_t* CoefficientsRMS(Int_t k = 0)
const {
return Struct(k)->CoefficientsRMS;}
30 Double_t Eval(Int_t k = 0, Double_t *x = 0)
const;
31 Double_t Eval(Int_t k, Double_t x0, Double_t x1)
const;
32 Double_t EvalError(Int_t k = 0, Double_t *x = 0)
const;
33 Int_t IsActiveChair()
const;
34 TF1* GetFunction(Int_t k = 0)
const {
return fFunc ? fFunc[k] : 0;}
35 static Double_t MDFunc(Double_t *x = 0, Double_t *p = 0);
40 Double_t EvalFactor(Int_t k = 0, Int_t p = 0, Double_t x = 0)
const;
42 ClassDefChair(St_MDFCorrection, MDFCorrection_st )