|
| Spline1D (TH1 *h=NULL, Double_t begval=0, Double_t endval=0) |
|
void | FastOverwrite (TH1D *h, Double_t begval=0, Double_t endval=0) |
|
void | Refit () |
|
Double_t | Eval (Double_t x) const |
|
Double_t | GetError (Double_t x) const |
|
Double_t | EvalBin (Int_t bin) const |
|
Double_t | ErrorBin (Int_t bin) const |
|
void | Eval (Double_t x, Double_t &f, Double_t &error) const |
|
virtual TH1D * | GetTHD (TString name="spline_thd") const |
|
TAxis * | GetXaxis () const |
|
Definition at line 33 of file Splines.h.
◆ Spline1D()
Hal::Spline1D::Spline1D |
( |
TH1 * | h = NULL, |
|
|
Double_t | begval = 0, |
|
|
Double_t | endval = 0 ) |
◆ ~Spline1D()
Hal::Spline1D::~Spline1D |
( |
| ) |
|
|
virtual |
◆ ErrorBin()
Double_t Hal::Spline1D::ErrorBin |
( |
Int_t | bin | ) |
const |
return error at given bin
- Parameters
-
- Returns
Definition at line 70 of file Splines.cxx.
◆ Eval() [1/2]
Double_t Hal::Spline1D::Eval |
( |
Double_t | x | ) |
const |
return interpolated value at x
- Parameters
-
- Returns
Definition at line 55 of file Splines.cxx.
◆ Eval() [2/2]
void Hal::Spline1D::Eval |
( |
Double_t | x, |
|
|
Double_t & | f, |
|
|
Double_t & | error ) const |
like Eval(Double_t x) but return value and error simultaneously
- Parameters
-
Definition at line 72 of file Splines.cxx.
◆ EvalBin()
Double_t Hal::Spline1D::EvalBin |
( |
Int_t | bin | ) |
const |
return value at bin center
- Parameters
-
- Returns
Definition at line 65 of file Splines.cxx.
◆ FastOverwrite()
void Hal::Spline1D::FastOverwrite |
( |
TH1D * | h, |
|
|
Double_t | begval = 0, |
|
|
Double_t | endval = 0 ) |
use to overwrite this class without time-consuming redelcaration of object, IMPORATH NOTE: h - will be modified!
- Parameters
-
Definition at line 489 of file Splines.cxx.
◆ GetError()
Double_t Hal::Spline1D::GetError |
( |
Double_t | x | ) |
const |
return interpolated error value at x
- Parameters
-
- Returns
Definition at line 60 of file Splines.cxx.
◆ GetTHD()
TH1D * Hal::Spline1D::GetTHD |
( |
TString | name = "spline_thd" | ) |
const |
|
virtual |
try to reproduce histogram used to create this class
- Parameters
-
- Returns
Definition at line 191 of file Splines.cxx.
◆ GetXaxis()
TAxis * Hal::Spline1D::GetXaxis |
( |
| ) |
const |
|
inline |
◆ Refit()
void Hal::Spline1D::Refit |
( |
| ) |
|
The documentation for this class was generated from the following files: