56 for (
const auto arg : hist.
_vars) {
57 if (arg==sliceArgInt) break ;
73 _sliceArg(other._sliceArg),
74 _baseIndex(other._baseIndex),
75 _stepSize(other._stepSize),
77 _curStep(other._curStep)
Common abstract base class for objects that represent a value and a "shape" in RooFit.
Storage_t::size_type size() const
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
Iterates over all bins in a RooDataHist that occur in a slice defined by the bin coordinates of the i...
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.
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.