library: libRooFit #include "RooPolynomial.h"

# RooPolynomial

class description - source file - inheritance tree (.pdf)

## class RooPolynomial : public RooAbsPdf

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`RooPrintable`
| <- | `RooAbsArg`
| <- | `RooAbsReal`
| <- | `RooAbsPdf`
| <- | `RooPolynomial` |

        protected:

          virtual Double_t evaluate() const

        public:

                           RooPolynomial()
                           RooPolynomial(const char* name, const char* title, RooAbsReal& x)
                           RooPolynomial(const char* name, const char* title, RooAbsReal& _x, const RooArgList& _coefList, Int_t lowestOrder = 1)
                           RooPolynomial(const RooPolynomial& other, const char* name = "0")
                   virtual ~RooPolynomial()
          virtual Double_t analyticalIntegral(Int_t code, const char* rangeName = "0") const
            static TClass* Class()
          virtual TObject* clone(const char* newname) const
             virtual Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName = "0") const
           virtual TClass* IsA() const
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          RooRealProxy _x
          RooListProxy _coefList
                 Int_t _lowestOrder
            TIterator* _coefIter     ! do not persist

## Class Description

RooPolynomial()

RooPolynomial(const char* name, const char* title, RooAbsReal& x, const RooArgList& coefList, Int_t lowestOrder) : RooAbsPdf(name, title), _x("x", "Dependent", this, x), _coefList("coefList","List of coefficients",this), _lowestOrder(lowestOrder)

     Constructor

RooPolynomial(const char* name, const char* title, RooAbsReal& x) : RooAbsPdf(name, title), _x("x", "Dependent", this, x), _coefList("coefList","List of coefficients",this), _lowestOrder(1)

RooPolynomial(const RooPolynomial& other, const char* name) : RooAbsPdf(other, name), _x("x", this, other._x), _coefList("coefList",this,other._coefList), _lowestOrder(other._lowestOrder)

     Copy constructor

~RooPolynomial()

     Destructor

Double_t evaluate() const

Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* /*rangeName*/) const

Double_t analyticalIntegral(Int_t code, const char* rangeName) const

### Inline Functions

               TObject* clone(const char* newname) const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)

Last update: Tue Jun 28 18:14:22 2005
Copyright (c) 2000-2005, Regents of the University of California *