Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User |
RooBinningclass description - source file - inheritance tree (.pdf) class RooBinning : public RooAbsBinning
protected: Data Membersprotected: Class DescriptionClass RooBinning is an implements RooAbsBinning in terms of an array of boundary values, posing no constraints on the choice of binning, thus allowing variable bin sizes. Various methods allow the user to add single bin boundaries, mirrored pairs, or sets of uniformly spaced boundaries. RooBinning(Double_t xlo, Double_t xhi, const char* name) : RooAbsBinning(name), _ownBoundLo(kTRUE), _ownBoundHi(kTRUE), _array(0) RooBinning(Int_t nbins, Double_t xlo, Double_t xhi, const char* name) : RooAbsBinning(name), _ownBoundLo(kTRUE), _ownBoundHi(kTRUE), _array(0) RooBinning(Int_t nbins, const Double_t* boundaries, const char* name) : RooAbsBinning(name), _ownBoundLo(kTRUE), _ownBoundHi(kTRUE), _array(0) RooBinning(const RooBinning& other, const char* name) : RooAbsBinning(name), _array(0) Copy constructor ~RooBinning() Destructor Bool_t addBoundary(Double_t boundary) Check if boundary already exists void addBoundaryPair(Double_t boundary, Double_t mirrorPoint) Add mirrored pair of boundaries Bool_t removeBoundary(Double_t boundary) Remove boundary at given value Bool_t hasBoundary(Double_t boundary) Check if boundary exists at given value void addUniform(Int_t nbins, Double_t xlo, Double_t xhi) Add array of uniform bins Int_t binNumber(Double_t x) const Determine sequential bin number for given value Int_t rawBinNumber(Double_t x) const Determine 'raw' bin number (i.e counting all defined boundaries) for given value Double_t nearestBoundary(Double_t x) const TIterator* binIterator() const Return iterator over sorted boundaries Double_t* array() const void setRange(Double_t xlo, Double_t xhi) void updateBinCount() Bool_t binEdges(Int_t bin, Double_t& xlo, Double_t& xhi) const Double_t binCenter(Int_t bin) const Double_t binWidth(Int_t bin) const Double_t binLow(Int_t bin) const Double_t binHigh(Int_t bin) const Inline FunctionsRooAbsBinning* 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)
|
Page maintained by Wouter Verkerke and David Kirkby |