library: libRooFit #include "RooErrorVar.h"

# RooErrorVar

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

## class RooErrorVar : public RooAbsRealLValue

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`RooPrintable`
| <- | `RooAbsArg`
| <- | `RooAbsReal`
`RooAbsLValue`
| <- | `RooAbsRealLValue`
| <- | `RooErrorVar` |

        protected:

          virtual void syncCache(const RooArgSet* set = 0)

        public:

                                       RooErrorVar()
                                       RooErrorVar(const char* name, const char* title, const RooRealVar& input)
                                       RooErrorVar(const RooErrorVar& other, const char* name = "0")
                               virtual ~RooErrorVar()
                        static TClass* Class()
                      virtual TObject* clone(const char* newname) const
                      virtual Double_t evaluate() const
          virtual const RooAbsBinning& getBinning(const char* name = "0", Bool_t verbose = kTRUE, Bool_t createOnTheFly = kFALSE) const
                virtual RooAbsBinning& getBinning(const char* name = "0", Bool_t verbose = kTRUE, Bool_t createOnTheFly = kFALSE)
                      virtual Double_t getVal(const RooArgSet* set = 0) const
                        virtual Bool_t hasBinning(const char* name) const
                       virtual TClass* IsA() const
                        virtual Bool_t isFundamental() const
                        virtual Bool_t readFromStream(istream& is, Bool_t compact, Bool_t verbose = kFALSE)
                                  void removeMax(const char* name = "0")
                                  void removeMin(const char* name = "0")
                                  void removeRange(const char* name = "0")
                                  void setBinning(const RooAbsBinning& binning, const char* name = "0")
                                  void setBins(Int_t nBins)
                                  void setMax(Double_t value)
                                  void setMax(const char* name, Double_t value)
                                  void setMin(Double_t value)
                                  void setMin(const char* name, Double_t value)
                                  void setRange(Double_t min, Double_t max)
                                  void setRange(const char* name, Double_t min, Double_t max)
                          virtual void setVal(Double_t value)
                          virtual void ShowMembers(TMemberInspector& insp, char* parent)
                          virtual void Streamer(TBuffer& b)
                                  void StreamerNVirtual(TBuffer& b)
                          virtual void writeToStream(ostream& os, Bool_t compact) const

### Data Members

        protected:

           RooLinkedList _altBinning  ! Optional alternative ranges and binnings
            RooRealProxy _realVar     RealVar with the original error
          RooAbsBinning* _binning     !

## Class Description

RooErrorVar(const char *name, const char *title, const RooRealVar& input) : RooAbsRealLValue(name,title), _realVar("realVar","RooRealVar with error",this,(RooAbsReal&)input)

RooErrorVar(const RooErrorVar& other, const char* name) : RooAbsRealLValue(other,name), _realVar("realVar",this,other._realVar)

~RooErrorVar()

     Destructor

Double_t getVal(const RooArgSet*) const

Bool_t hasBinning(const char* name) const

const RooAbsBinning& getBinning(const char* name, Bool_t verbose, Bool_t createOnTheFly) const

RooAbsBinning& getBinning(const char* name, Bool_t verbose, Bool_t createOnTheFly)

     Return default (normalization) binning and range if no name is specified

void setBinning(const RooAbsBinning& binning, const char* name)

void setMin(const char* name, Double_t value)

     Set new minimum of fit range

void setMax(const char* name, Double_t value)

     Set new maximum of fit range

void setRange( const char* name, Double_t min, Double_t max)

Bool_t readFromStream(istream& is, Bool_t /*compact*/, Bool_t verbose)

     Read object contents from given stream

void writeToStream(ostream& os, Bool_t /*compact*/) const

     Write value only

void syncCache(const RooArgSet*)

### Inline Functions

            RooErrorVar RooErrorVar(const RooErrorVar& other, const char* name = "0")
               TObject* clone(const char* newname) const
               Double_t evaluate() const
                   void setVal(Double_t value)
                 Bool_t isFundamental() const
                   void setMin(const char* name, Double_t value)
                   void setMax(const char* name, Double_t value)
                   void setRange(const char* name, Double_t min, Double_t max)
                   void setBins(Int_t nBins)
                   void removeMin(const char* name = "0")
                   void removeMax(const char* name = "0")
                   void removeRange(const char* name = "0")
                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:12:07 2005
Copyright (c) 2000-2005, Regents of the University of California *