#include <TSpline.h>
Inheritance diagram for TSpline5:

Public Member Functions | |
| TSpline5 () | |
| TSpline5 (const char *title, Double_t x[], Double_t y[], Int_t n, const char *opt=0, Double_t b1=0, Double_t e1=0, Double_t b2=0, Double_t e2=0) | |
| TSpline5 (const char *title, Double_t xmin, Double_t xmax, Double_t y[], Int_t n, const char *opt=0, Double_t b1=0, Double_t e1=0, Double_t b2=0, Double_t e2=0) | |
| TSpline5 (const char *title, Double_t x[], const TF1 *func, Int_t n, const char *opt=0, Double_t b1=0, Double_t e1=0, Double_t b2=0, Double_t e2=0) | |
| TSpline5 (const char *title, Double_t xmin, Double_t xmax, const TF1 *func, Int_t n, const char *opt=0, Double_t b1=0, Double_t e1=0, Double_t b2=0, Double_t e2=0) | |
| TSpline5 (const char *title, const TGraph *g, const char *opt=0, Double_t b1=0, Double_t e1=0, Double_t b2=0, Double_t e2=0) | |
| TSpline5 (const TH1 *h, const char *opt=0, Double_t b1=0, Double_t e1=0, Double_t b2=0, Double_t e2=0) | |
| TSpline5 (const TSpline5 &) | |
| TSpline5 & | operator= (const TSpline5 &) |
| Int_t | FindX (Double_t x) const |
| Double_t | Eval (Double_t x) const |
| Double_t | Derivative (Double_t x) const |
| virtual | ~TSpline5 () |
| void | GetCoeff (Int_t i, Double_t &x, Double_t &y, Double_t &b, Double_t &c, Double_t &d, Double_t &e, Double_t &f) |
| void | GetKnot (Int_t i, Double_t &x, Double_t &y) const |
| virtual void | SaveAs (const char *filename, Option_t *option="") const |
| virtual void | SavePrimitive (ostream &out, Option_t *option="") |
| virtual void | SetPoint (Int_t i, Double_t x, Double_t y) |
| virtual void | SetPointCoeff (Int_t i, Double_t b, Double_t c, Double_t d, Double_t e, Double_t f) |
| TSpline5 () | |
| TSpline5 (const char *title, Double_t x[], Double_t y[], Int_t n, const char *opt=0, Double_t b1=0, Double_t e1=0, Double_t b2=0, Double_t e2=0) | |
| TSpline5 (const char *title, Double_t xmin, Double_t xmax, Double_t y[], Int_t n, const char *opt=0, Double_t b1=0, Double_t e1=0, Double_t b2=0, Double_t e2=0) | |
| TSpline5 (const char *title, Double_t x[], const TF1 *func, Int_t n, const char *opt=0, Double_t b1=0, Double_t e1=0, Double_t b2=0, Double_t e2=0) | |
| TSpline5 (const char *title, Double_t xmin, Double_t xmax, const TF1 *func, Int_t n, const char *opt=0, Double_t b1=0, Double_t e1=0, Double_t b2=0, Double_t e2=0) | |
| TSpline5 (const char *title, const TGraph *g, const char *opt=0, Double_t b1=0, Double_t e1=0, Double_t b2=0, Double_t e2=0) | |
| TSpline5 (const TH1 *h, const char *opt=0, Double_t b1=0, Double_t e1=0, Double_t b2=0, Double_t e2=0) | |
| TSpline5 (const TSpline5 &) | |
| TSpline5 & | operator= (const TSpline5 &) |
| Int_t | FindX (Double_t x) const |
| Double_t | Eval (Double_t x) const |
| Double_t | Derivative (Double_t x) const |
| virtual | ~TSpline5 () |
| void | GetCoeff (Int_t i, Double_t &x, Double_t &y, Double_t &b, Double_t &c, Double_t &d, Double_t &e, Double_t &f) |
| void | GetKnot (Int_t i, Double_t &x, Double_t &y) const |
| virtual void | SaveAs (const char *filename, Option_t *option="") const |
| virtual void | SavePrimitive (ostream &out, Option_t *option="") |
| virtual void | SetPoint (Int_t i, Double_t x, Double_t y) |
| virtual void | SetPointCoeff (Int_t i, Double_t b, Double_t c, Double_t d, Double_t e, Double_t f) |
Static Public Member Functions | |
| static void | Test () |
| static void | Test () |
Protected Member Functions | |
| void | BuildCoeff () |
| void | BoundaryConditions (const char *opt, Int_t &beg, Int_t &end, const char *&cb1, const char *&ce1, const char *&cb2, const char *&ce2) |
| void | SetBoundaries (Double_t b1, Double_t e1, Double_t b2, Double_t e2, const char *cb1, const char *ce1, const char *cb2, const char *ce2) |
| void | BuildCoeff () |
| void | BoundaryConditions (const char *opt, Int_t &beg, Int_t &end, const char *&cb1, const char *&ce1, const char *&cb2, const char *&ce2) |
| void | SetBoundaries (Double_t b1, Double_t e1, Double_t b2, Double_t e2, const char *cb1, const char *ce1, const char *cb2, const char *ce2) |
Protected Attributes | |
| TSplinePoly5 * | fPoly |
| TSplinePoly5 * | fPoly |
Definition at line 249 of file TSpline.h.
| TSpline5::TSpline5 | ( | const char * | title, | |
| Double_t | x[], | |||
| Double_t | y[], | |||
| Int_t | n, | |||
| const char * | opt = 0, |
|||
| Double_t | b1 = 0, |
|||
| Double_t | e1 = 0, |
|||
| Double_t | b2 = 0, |
|||
| Double_t | e2 = 0 | |||
| ) |
Definition at line 1240 of file TSpline.cxx.
References BoundaryConditions(), BuildCoeff(), TNamed::fName, TSpline::fNp, fPoly, i, SetBoundaries(), X, and TSplinePoly::Y().
| TSpline5::TSpline5 | ( | const char * | title, | |
| Double_t | xmin, | |||
| Double_t | xmax, | |||
| Double_t | y[], | |||
| Int_t | n, | |||
| const char * | opt = 0, |
|||
| Double_t | b1 = 0, |
|||
| Double_t | e1 = 0, |
|||
| Double_t | b2 = 0, |
|||
| Double_t | e2 = 0 | |||
| ) |
Definition at line 1274 of file TSpline.cxx.
References BoundaryConditions(), BuildCoeff(), TSpline::fDelta, TNamed::fName, TSpline::fNp, fPoly, TSpline::fXmin, i, SetBoundaries(), X, and TSplinePoly::Y().
| TSpline5::TSpline5 | ( | const char * | title, | |
| Double_t | x[], | |||
| const TF1 * | func, | |||
| Int_t | n, | |||
| const char * | opt = 0, |
|||
| Double_t | b1 = 0, |
|||
| Double_t | e1 = 0, |
|||
| Double_t | b2 = 0, |
|||
| Double_t | e2 = 0 | |||
| ) |
Definition at line 1309 of file TSpline.cxx.
References BoundaryConditions(), BuildCoeff(), TNamed::fName, TSpline::fNp, fPoly, func(), i, SetBoundaries(), X, and TSplinePoly::Y().
| TSpline5::TSpline5 | ( | const char * | title, | |
| Double_t | xmin, | |||
| Double_t | xmax, | |||
| const TF1 * | func, | |||
| Int_t | n, | |||
| const char * | opt = 0, |
|||
| Double_t | b1 = 0, |
|||
| Double_t | e1 = 0, |
|||
| Double_t | b2 = 0, |
|||
| Double_t | e2 = 0 | |||
| ) |
Definition at line 1343 of file TSpline.cxx.
References BoundaryConditions(), BuildCoeff(), TSpline::fDelta, TSpline::fKstep, TNamed::fName, TSpline::fNp, fPoly, func(), TSpline::fXmin, i, kFALSE, SetBoundaries(), TSplinePoly::X(), x, and TSplinePoly::Y().
| TSpline5::TSpline5 | ( | const char * | title, | |
| const TGraph * | g, | |||
| const char * | opt = 0, |
|||
| Double_t | b1 = 0, |
|||
| Double_t | e1 = 0, |
|||
| Double_t | b2 = 0, |
|||
| Double_t | e2 = 0 | |||
| ) |
Definition at line 1380 of file TSpline.cxx.
References BoundaryConditions(), BuildCoeff(), TNamed::fName, TSpline::fNp, fPoly, TSpline::fXmax, TSpline::fXmin, g, i, SetBoundaries(), TSplinePoly::X(), and TSplinePoly::Y().
| TSpline5::TSpline5 | ( | const TH1 * | h, | |
| const char * | opt = 0, |
|||
| Double_t | b1 = 0, |
|||
| Double_t | e1 = 0, |
|||
| Double_t | b2 = 0, |
|||
| Double_t | e2 = 0 | |||
| ) |
Definition at line 1418 of file TSpline.cxx.
References BoundaryConditions(), BuildCoeff(), TNamed::fName, TSpline::fNp, fPoly, TSpline::fXmax, TSpline::fXmin, h, i, SetBoundaries(), TSplinePoly::X(), X, and TSplinePoly::Y().
| TSpline5::TSpline5 | ( | const TSpline5 & | ) |
| virtual TSpline5::~TSpline5 | ( | ) | [inline, virtual] |
| TSpline5::TSpline5 | ( | const char * | title, | |
| Double_t | x[], | |||
| Double_t | y[], | |||
| Int_t | n, | |||
| const char * | opt = 0, |
|||
| Double_t | b1 = 0, |
|||
| Double_t | e1 = 0, |
|||
| Double_t | b2 = 0, |
|||
| Double_t | e2 = 0 | |||
| ) |
| TSpline5::TSpline5 | ( | const char * | title, | |
| Double_t | xmin, | |||
| Double_t | xmax, | |||
| Double_t | y[], | |||
| Int_t | n, | |||
| const char * | opt = 0, |
|||
| Double_t | b1 = 0, |
|||
| Double_t | e1 = 0, |
|||
| Double_t | b2 = 0, |
|||
| Double_t | e2 = 0 | |||
| ) |
| TSpline5::TSpline5 | ( | const char * | title, | |
| Double_t | x[], | |||
| const TF1 * | func, | |||
| Int_t | n, | |||
| const char * | opt = 0, |
|||
| Double_t | b1 = 0, |
|||
| Double_t | e1 = 0, |
|||
| Double_t | b2 = 0, |
|||
| Double_t | e2 = 0 | |||
| ) |
| TSpline5::TSpline5 | ( | const char * | title, | |
| Double_t | xmin, | |||
| Double_t | xmax, | |||
| const TF1 * | func, | |||
| Int_t | n, | |||
| const char * | opt = 0, |
|||
| Double_t | b1 = 0, |
|||
| Double_t | e1 = 0, |
|||
| Double_t | b2 = 0, |
|||
| Double_t | e2 = 0 | |||
| ) |
| TSpline5::TSpline5 | ( | const char * | title, | |
| const TGraph * | g, | |||
| const char * | opt = 0, |
|||
| Double_t | b1 = 0, |
|||
| Double_t | e1 = 0, |
|||
| Double_t | b2 = 0, |
|||
| Double_t | e2 = 0 | |||
| ) |
| TSpline5::TSpline5 | ( | const TH1 * | h, | |
| const char * | opt = 0, |
|||
| Double_t | b1 = 0, |
|||
| Double_t | e1 = 0, |
|||
| Double_t | b2 = 0, |
|||
| Double_t | e2 = 0 | |||
| ) |
| TSpline5::TSpline5 | ( | const TSpline5 & | ) |
| virtual TSpline5::~TSpline5 | ( | ) | [inline, virtual] |
| void TSpline5::BuildCoeff | ( | ) | [protected, virtual] |
Implements TSpline.
Definition at line 1874 of file TSpline.cxx.
References B, TSplinePoly5::B(), C, TSplinePoly5::C(), TSplinePoly5::D(), D, TSplinePoly5::E(), E, Reflex::F, TSplinePoly5::F(), TSpline::fNp, fPoly, i, m, p, p2(), p3(), pr(), r2, s, t, u, TSplinePoly::X(), X, TSplinePoly::Y(), and Y.
Referenced by TSpline5().
| void TSpline5::SetBoundaries | ( | Double_t | b1, | |
| Double_t | e1, | |||
| Double_t | b2, | |||
| Double_t | e2, | |||
| const char * | cb1, | |||
| const char * | ce1, | |||
| const char * | cb2, | |||
| const char * | ce2 | |||
| ) | [protected] |
Definition at line 1513 of file TSpline.cxx.
References TSpline::fNp, fPoly, TSplinePoly::X(), X, and TSplinePoly::Y().
Referenced by TSpline5().
Definition at line 1464 of file TSpline.cxx.
References TSpline::fNp, fPoly, i, and TSpline::operator=().
Definition at line 1563 of file TSpline.cxx.
References TObject::Error(), TSpline::fDelta, TSpline::fKstep, TSpline::fNp, fPoly, TSpline::fXmax, TSpline::fXmin, TMath::Min(), and X.
Referenced by Derivative(), and Eval().
Implements TSpline.
Definition at line 1600 of file TSpline.cxx.
References TSplinePoly5::Eval(), FindX(), and fPoly.
Definition at line 1610 of file TSpline.cxx.
References TSplinePoly5::Derivative(), FindX(), and fPoly.
| void TSpline5::GetCoeff | ( | Int_t | i, | |
| Double_t & | x, | |||
| Double_t & | y, | |||
| Double_t & | b, | |||
| Double_t & | c, | |||
| Double_t & | d, | |||
| Double_t & | e, | |||
| Double_t & | f | |||
| ) | [inline] |
Definition at line 294 of file TSpline.h.
References TSplinePoly5::B(), TSplinePoly5::C(), TSplinePoly5::D(), TSplinePoly5::E(), TSplinePoly5::F(), fPoly, TSplinePoly::X(), and TSplinePoly::Y().
Referenced by Test().
Implements TSpline.
Definition at line 299 of file TSpline.h.
References fPoly, TSplinePoly::X(), and TSplinePoly::Y().
| void TSpline5::SaveAs | ( | const char * | filename, | |
| Option_t * | option = "" | |||
| ) | const [virtual] |
Reimplemented from TSpline.
Definition at line 1620 of file TSpline.cxx.
References TSystem::AccessPathName(), B, buffer, C, D, RootCsg::dot(), E, TObject::Error(), Reflex::F, TSpline::fDelta, TSpline::fKstep, TSpline::fNp, fPoly, TSpline::fXmax, TSpline::fXmin, gSystem, i, kWritePermission, out, snprintf, strlcat(), X, and Y.
| void TSpline5::SavePrimitive | ( | ostream & | out, | |
| Option_t * | option = "" | |||
| ) | [virtual] |
Reimplemented from TObject.
Definition at line 1813 of file TSpline.cxx.
References TSplinePoly5::B(), TSplinePoly5::C(), xmlio::Class, TROOT::ClassSaved(), TSplinePoly5::D(), TSplinePoly5::E(), TSplinePoly5::F(), TSpline::fNp, TSpline::fNpx, fPoly, TSpline::fXmax, TSpline::fXmin, TNamed::GetName(), TNamed::GetTitle(), gROOT, i, TAttFill::SaveFillAttributes(), TAttLine::SaveLineAttributes(), TAttMarker::SaveMarkerAttributes(), X, TSplinePoly::Y(), and Y.
Definition at line 1847 of file TSpline.cxx.
References TSpline::fNp, fPoly, TSplinePoly::X(), and TSplinePoly::Y().
| void TSpline5::SetPointCoeff | ( | Int_t | i, | |
| Double_t | b, | |||
| Double_t | c, | |||
| Double_t | d, | |||
| Double_t | e, | |||
| Double_t | f | |||
| ) | [virtual] |
Definition at line 1858 of file TSpline.cxx.
References TSplinePoly5::B(), TSplinePoly5::C(), TSplinePoly5::D(), TSplinePoly5::E(), TSplinePoly5::F(), TSpline::fNp, and fPoly.
| void TSpline5::Test | ( | ) | [static] |
Definition at line 2096 of file TSpline.cxx.
References a, TMath::Abs(), c, TMath::Cos(), GetCoeff(), i, j, k, m, n, p, TMath::Sin(), TSpline5(), x, and y.
Referenced by G__G__Hist_389_0_22(), and G__setup_memfuncTSpline5().
| void TSpline5::BuildCoeff | ( | ) | [protected, virtual] |
Implements TSpline.
| void TSpline5::BoundaryConditions | ( | const char * | opt, | |
| Int_t & | beg, | |||
| Int_t & | end, | |||
| const char *& | cb1, | |||
| const char *& | ce1, | |||
| const char *& | cb2, | |||
| const char *& | ce2 | |||
| ) | [protected] |
| void TSpline5::SetBoundaries | ( | Double_t | b1, | |
| Double_t | e1, | |||
| Double_t | b2, | |||
| Double_t | e2, | |||
| const char * | cb1, | |||
| const char * | ce1, | |||
| const char * | cb2, | |||
| const char * | ce2 | |||
| ) | [protected] |
| void TSpline5::GetCoeff | ( | Int_t | i, | |
| Double_t & | x, | |||
| Double_t & | y, | |||
| Double_t & | b, | |||
| Double_t & | c, | |||
| Double_t & | d, | |||
| Double_t & | e, | |||
| Double_t & | f | |||
| ) | [inline] |
Definition at line 294 of file TSpline.h.
References TSplinePoly5::B(), TSplinePoly5::C(), TSplinePoly5::D(), TSplinePoly5::E(), TSplinePoly5::F(), fPoly, TSplinePoly::X(), and TSplinePoly::Y().
Implements TSpline.
Definition at line 299 of file TSpline.h.
References fPoly, TSplinePoly::X(), and TSplinePoly::Y().
| virtual void TSpline5::SaveAs | ( | const char * | filename, | |
| Option_t * | option = "" | |||
| ) | const [virtual] |
Reimplemented from TSpline.
| virtual void TSpline5::SavePrimitive | ( | ostream & | out, | |
| Option_t * | option = "" | |||
| ) | [virtual] |
Reimplemented from TObject.
| virtual void TSpline5::SetPointCoeff | ( | Int_t | i, | |
| Double_t | b, | |||
| Double_t | c, | |||
| Double_t | d, | |||
| Double_t | e, | |||
| Double_t | f | |||
| ) | [virtual] |
| static void TSpline5::Test | ( | ) | [static] |
TSplinePoly5* TSpline5::fPoly [protected] |
Definition at line 252 of file TSpline.h.
Referenced by BuildCoeff(), Derivative(), Eval(), FindX(), GetCoeff(), GetKnot(), operator=(), SaveAs(), SavePrimitive(), SetBoundaries(), SetPoint(), SetPointCoeff(), TSpline5(), and ~TSpline5().
TSplinePoly5* TSpline5::fPoly [protected] |
1.5.1