library: libRooFit #include "RooUniformBinning.h"

# RooUniformBinning

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

## class RooUniformBinning : public RooAbsBinning

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`RooPrintable`
| <- | `RooAbsBinning`
| <- | `RooUniformBinning` |

        public:

                                 RooUniformBinning(const char* name = "0")
                                 RooUniformBinning(Double_t xlo, Double_t xhi, Int_t nBins, const char* name = "0")
                                 RooUniformBinning(const RooUniformBinning& other, const char* name = "0")
                         virtual ~RooUniformBinning()
               virtual Double_t* array() const
                virtual Double_t averageBinWidth() const
                virtual Double_t binCenter(Int_t bin) const
                virtual Double_t binHigh(Int_t bin) const
                virtual Double_t binLow(Int_t bin) const
                   virtual Int_t binNumber(Double_t x) const
                virtual Double_t binWidth(Int_t bin) const
                  static TClass* Class()
          virtual RooAbsBinning* clone(const char* name = "0") const
                virtual Double_t highBound() const
                 virtual TClass* IsA() const
                virtual Double_t lowBound() const
                   virtual Int_t numBoundaries() const
              RooUniformBinning& operator=(const RooUniformBinning&)
                    virtual void printToStream(ostream& os, RooPrintable::PrintOption opt = Standard, TString indent = ) const
                    virtual void setRange(Double_t xlo, Double_t xhi)
                    virtual void ShowMembers(TMemberInspector& insp, char* parent)
                    virtual void Streamer(TBuffer& b)
                            void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          Double_t* _array  ! do not persist
           Double_t _xlo
           Double_t _xhi
              Int_t _nbins
           Double_t _binw

## Class Description

RooUniformBinning(const char* name) : RooAbsBinning(name)

RooUniformBinning(Double_t xlo, Double_t xhi, Int_t nBins, const char* name) : RooAbsBinning(name), _array(0), _nbins(nBins)

~RooUniformBinning()

RooUniformBinning(const RooUniformBinning& other, const char* name) : RooAbsBinning(name)

void setRange(Double_t xlo, Double_t xhi)

Int_t binNumber(Double_t x) const

     Return the fit bin index for the current value

Double_t binCenter(Int_t i) const

     Return the central value of the 'i'-th fit bin

Double_t binWidth(Int_t /*bin*/) const

Double_t binLow(Int_t i) const

     Return the low edge of the 'i'-th fit bin

Double_t binHigh(Int_t i) const

     Return the high edge of the 'i'-th fit bin

Double_t* array() const

void printToStream(ostream &os, PrintOption opt, TString indent) const

### Inline Functions

                RooAbsBinning* clone(const char* name = "0") const
                         Int_t numBoundaries() const
                      Double_t lowBound() const
                      Double_t highBound() const
                      Double_t averageBinWidth() const
                       TClass* Class()
                       TClass* IsA() const
                          void ShowMembers(TMemberInspector& insp, char* parent)
                          void Streamer(TBuffer& b)
                          void StreamerNVirtual(TBuffer& b)
            RooUniformBinning& operator=(const RooUniformBinning&)

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