41 void CalcParams(Double_t x1,
50 void SetFirstBin(TH1* h, Double_t begval, Bool_t use_begval = kFALSE);
51 void SetLastBin(TH1* h, Double_t enval, Bool_t use_endval = kFALSE);
54 Spline1D(TH1* h = NULL, Double_t begval = 0, Double_t endval = 0);
62 void FastOverwrite(TH1D* h, Double_t begval = 0, Double_t endval = 0);
72 Double_t
Eval(Double_t x)
const;
84 Double_t
EvalBin(Int_t bin)
const;
97 void Eval(Double_t x, Double_t& f, Double_t& error)
const;
103 virtual TH1D*
GetTHD(TString name =
"spline_thd")
const;
104 TAxis* GetXaxis()
const {
return fXaxis; };
122 void CalcParams(Double_t x[3], Double_t y[3], Double_t z[3][3], Double_t params[9]);
123 void Extrapolate(TH2* h, Option_t* extraopolation_opt)
const;
124 Double_t Extrapolate(TH2* h, Int_t ix1, Int_t ix2, Int_t x, Int_t iy1, Int_t iy2, Int_t y, Int_t opt)
const;
136 Spline2D(TH2* h = NULL, Option_t* interpolation =
"");
155 Double_t
Eval(Double_t x, Double_t y)
const;
162 Double_t
GetError(Double_t x, Double_t y)
const;
169 Double_t
EvalBin(Int_t bin_x, Int_t bin_y)
const;
176 Double_t
ErrorBin(Int_t bin_x, Int_t bin_y)
const;
184 void SetPoint(Int_t xbin, Int_t ybin, Double_t val, Double_t err = 0);
199 void Eval(Double_t x, Double_t y, Double_t& f, Double_t& error)
const;
215 virtual TH2D*
GetTHD(TString name =
"spline_thd")
const;
236 Double_t EvalBin(Int_t ix, Int_t iy, Int_t iz, Double_t x, Double_t y, Double_t z)
const;
237 void CalcParams(Double_t x[2], Double_t y[2], Double_t z[2], Double_t v[2][2][2], Double_t params[8]);
248 Spline3D(TH3* h = NULL, Option_t* interpolation =
"");
262 Double_t
Eval(Double_t x, Double_t y, Double_t z)
const;
270 Double_t
GetError(Double_t x, Double_t y, Double_t z)
const;
279 Double_t EvalBin(Int_t x, Int_t y, Int_t z)
const;
287 Double_t
ErrorBin(Int_t x, Int_t y, Int_t z)
const;
298 void PrintParams(Double_t x, Double_t y, Double_t z)
const;
308 void Eval(Double_t x, Double_t y, Double_t z, Double_t& f, Double_t& error)
const;
329 virtual TH3D*
GetTHD(TString name =
"spline_thd")
const;
virtual TH1D * GetTHD(TString name="spline_thd") const
Double_t Eval(Double_t x) const
Double_t EvalBin(Int_t bin) const
Double_t GetError(Double_t x) const
void FastOverwrite(TH1D *h, Double_t begval=0, Double_t endval=0)
Double_t ErrorBin(Int_t bin) const
void PrintParams(Double_t x, Double_t y)
virtual TH2D * GetTHD(TString name="spline_thd") const
Double_t Eval(Double_t x, Double_t y) const
Double_t ErrorBin(Int_t bin_x, Int_t bin_y) const
Double_t EvalBin(Int_t bin_x, Int_t bin_y) const
Spline2D(TH2 *h=NULL, Option_t *interpolation="")
void SetPoint(Int_t xbin, Int_t ybin, Double_t val, Double_t err=0)
Double_t GetError(Double_t x, Double_t y) const
Double_t GetExtrapolationParam(Double_t x, Double_t y, Int_t param) const
void PrintParams(Double_t x, Double_t y, Double_t z) const
Spline3D(TH3 *h=NULL, Option_t *interpolation="")
virtual TH3D * GetTHD(TString name="spline_thd") const
Double_t ErrorBin(Int_t x, Int_t y, Int_t z) const
Double_t Eval(Double_t x, Double_t y, Double_t z) const
Double_t GetError(Double_t x, Double_t y, Double_t z) const
void FastOverwrite(TH3 *h, Option_t *interpolation="")