20   struct CounterRange_t {
 
   40      Int_t GetCoord(
Int_t dim)
 const override { 
return fCounter[dim].i; }
 
   42      THnBinIter(
const THnBinIter&) = 
delete; 
 
   43      THnBinIter& 
operator=(
const THnBinIter&) = 
delete; 
 
   49      CounterRange_t* fCounter;
 
   59      fNdimensions(dim), fIndex(-1), fArray(
arr) {
 
   60      fCounter = 
new CounterRange_t[dim]();
 
   61      for (
Int_t i = 0; i < dim; ++i) {
 
   63         fCounter[i].len  = axis->
GetNbins() + 2;
 
   64         fCounter[i].cellSize  = 
arr->GetCellSize(i);
 
   66            fCounter[i].first = 0;
 
   67            fCounter[i].last  = fCounter[i].len - 1;
 
   71         fHaveSkippedBin = 
kTRUE;
 
   74         if (min == 0 && max == 0) {
 
   81         fCounter[i].first = min;
 
   82         fCounter[i].last  = max;
 
   84         fIndex += fCounter[i].first * fCounter[i].cellSize;
 
   87      --fCounter[dim - 1].i;
 
   95      if (fNdimensions < 0) 
return -1; 
 
   96      ++fCounter[fNdimensions - 1].i;
 
   99      for (
Int_t d = fNdimensions - 1; 
d > 0 && fCounter[
d].i > fCounter[
d].last; --
d) {
 
  104         fCounter[
d].i = fCounter[
d].first;
 
  107      if (fCounter[0].i > fCounter[0].last) {
 
  112         for (
Int_t d = 0; 
d < fNdimensions; ++
d) {
 
  186   fSumw2(dim, nbins, 
kTRUE )
 
 
  191         const std::vector<std::vector<double>> &xbins)
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
 
void operator=(const TProof &)
 
Iterator over THnBase bins (internal implementation).
 
Class to manage histogram axis.
 
Int_t GetLast() const
Return last bin on the axis i.e.
 
Int_t GetFirst() const
Return first bin on the axis i.e.
 
Multidimensional histogram base.
 
TObjArray * GetListOfAxes()
 
Int_t GetNdimensions() const
 
Bool_t GetCalculateErrors() const
 
Double_t fTsumw2
Total sum of weights squared; -1 if no errors are calculated.
 
Int_t fNdimensions
Number of dimensions.
 
Multidimensional histogram.
 
void AllocCoordBuf() const
Create the coordinate buffer.
 
void InitStorage(Int_t *nbins, Int_t chunkSize) override
Initialize the storage of a histogram created via Init()
 
~THn() override
Destruct a THn.
 
std::vector< Int_t > fCoordBuf
 
TNDArrayT< Double_t > fSumw2
 
ROOT::Internal::THnBaseBinIter * CreateIter(Bool_t respectAxisRange) const override
Create an iterator over all bins. Public interface is THnIter.
 
void Reset(Option_t *option="") override
Reset the contents of a THn.
 
void Sumw2() override
Enable calculation of errors.
 
Long64_t GetNbins() const override
 
virtual const TNDArray & GetArray() const =0
 
TObject * At(Int_t idx) const override
 
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
 
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...