62 for (
const auto arg : hist.
_vars) {
63 if (arg==sliceArgInt) break ;
79 _sliceArg(other._sliceArg),
80 _baseIndex(other._baseIndex),
81 _stepSize(other._stepSize),
83 _curStep(other._curStep)
Common abstract base class for objects that represent a value and a "shape" in RooFit.
Int_t getSize() const
Return the number of elements in the collection.
RooAbsArg * find(const char *name) const
Find object with given name in list.
RooArgSet _vars
Dimensions of this data set.
Abstract base class for objects that are lvalues, i.e.
virtual Int_t numBins(const char *rangeName=nullptr) const =0
virtual void setBin(Int_t ibin, const char *rangeName=nullptr)=0
RooDataHistSliceIter iterates over all bins in a RooDataHist that occur in a slice defined by the bin...
RooDataHistSliceIter(const RooDataHistSliceIter &other)
Copy constructor.
~RooDataHistSliceIter() override
Destructor.
TObject * Next() override
Iterator increment operator.
void Reset() override
Reset iterator position to beginning.
const TCollection * GetCollection() const override
Dummy.
bool operator!=(const TIterator &aIter) const override
Returns true if position of this iterator differs from position of iterator 'aIter'.
TObject * operator*() const override
Iterator dereference operator, not functional for this iterator.
The RooDataHist is a container class to hold N-dimensional binned data.
std::size_t calcTreeIndex(const RooAbsCollection &coords, bool fast) const
Calculate the bin index corresponding to the coordinates passed as argument.
std::vector< Int_t > _idxMult
const RooArgSet * get() const override
Get bin centre of current bin.
Collection abstract base class.
Iterator abstract base class.
virtual TClass * IsA() const
const char * GetName() const override
Returns name of object.
Mother of all ROOT objects.