TSpline


class description - source file - inheritance tree

class TSpline : public TNamed, public TAttLine, public TAttFill, public TAttMarker


    protected:
virtual void BuildCoeff() public:
virtual void ~TSpline() static TClass* Class() virtual void Draw(Option_t* option) virtual Double_t Eval(Double_t x) const virtual void GetKnot(Int_t i, Double_t& x, Double_t& y) const virtual Int_t GetNpx() virtual TClass* IsA() const virtual void Paint(Option_t* option) void SetNpx(Int_t n) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

protected:
Double_t fDelta Distance between equidistant knots Double_t fXmin Minimum value of abscissa Double_t fXmax Maximum value of abscissa Int_t fNp Number of knots Bool_t fKstep True of equidistant knots TH1F* fHistogram Temporary histogram TGraph* fGraph Graph for drawing the knots Int_t fNpx Number of points used for graphical representation public:


See also

TSpline3, TSpline5

Class Description

                                                                      
 TSpline                                                              
                                                                      
 Base class for spline implementation containing the Draw/Paint       
 methods                                                              
                                                                      


void Draw(Option_t *option)
*-*-*-*-*-*-*-*-*-*Draw this function with its current attributes*-*-*-*-*
*-*                  ==============================================
*-*
*-* Possible option values are:
*-*   "SAME"  superimpose on top of existing picture
*-*   "L"     connect all computed points with a straight line
*-*   "C"     connect all computed points with a smooth curve.
*-*   "P"     add a polymarker at each knot
*-*
*-* Note that the default value is "L". Therefore to draw on top
*-* of an existing picture, specify option "LSAME"
*-*
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

void Paint(Option_t *option)
*-*-*-*-*-*-*-*-*-*Paint this function with its current attributes*-*-*-*-*
*-*                ===============================================

void Streamer(TBuffer &R__b)
 Stream an object of class TSpline.



Inline Functions


               void BuildCoeff()
               void GetKnot(Int_t i, Double_t& x, Double_t& y) const
              Int_t GetNpx()
           Double_t Eval(Double_t x) const
               void SetNpx(Int_t n)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void StreamerNVirtual(TBuffer& b)
               void ~TSpline()


Author: Federico Carminati 28/02/2000
Last update: root/graf:$Name: $:$Id: TSpline.cxx,v 1.5 2001/02/07 20:54:01 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.