Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RBinIndexMultiDimRange Class Referencefinal

A multidimensional range of bin indices.

The interface allows convenient iteration over multiple RBinIndexRange. The result is available as vector of RBinIndex.

Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 29 of file RBinIndexMultiDimRange.hxx.

Classes

class  RIterator
 Iterator over RBinIndexMultiDimRange. More...
 

Public Member Functions

 RBinIndexMultiDimRange ()=default
 Construct an invalid bin index range.
 
 RBinIndexMultiDimRange (std::vector< RBinIndexRange > ranges)
 Construct a multidimensional range of bin indices.
 
RIterator begin () const
 
RIterator end () const
 
const std::vector< RBinIndexRange > & GetRanges () const
 

Private Attributes

bool fHasEmptyRange = false
 Whether there is an empty range.
 
std::vector< RBinIndexRangefRanges
 The original ranges.
 

Friends

bool operator!= (const RBinIndexMultiDimRange &lhs, const RBinIndexMultiDimRange &rhs)
 
bool operator== (const RBinIndexMultiDimRange &lhs, const RBinIndexMultiDimRange &rhs)
 

#include <ROOT/RBinIndexMultiDimRange.hxx>

Constructor & Destructor Documentation

◆ RBinIndexMultiDimRange() [1/2]

ROOT::Experimental::RBinIndexMultiDimRange::RBinIndexMultiDimRange ( )
default

Construct an invalid bin index range.

◆ RBinIndexMultiDimRange() [2/2]

ROOT::Experimental::RBinIndexMultiDimRange::RBinIndexMultiDimRange ( std::vector< RBinIndexRange > ranges)
inline

Construct a multidimensional range of bin indices.

Definition at line 39 of file RBinIndexMultiDimRange.hxx.

Member Function Documentation

◆ begin()

RIterator ROOT::Experimental::RBinIndexMultiDimRange::begin ( ) const
inline

Definition at line 132 of file RBinIndexMultiDimRange.hxx.

◆ end()

RIterator ROOT::Experimental::RBinIndexMultiDimRange::end ( ) const
inline

Definition at line 146 of file RBinIndexMultiDimRange.hxx.

◆ GetRanges()

const std::vector< RBinIndexRange > & ROOT::Experimental::RBinIndexMultiDimRange::GetRanges ( ) const
inline

Definition at line 48 of file RBinIndexMultiDimRange.hxx.

Friends And Related Symbol Documentation

◆ operator!=

◆ operator==

Definition at line 50 of file RBinIndexMultiDimRange.hxx.

Member Data Documentation

◆ fHasEmptyRange

bool ROOT::Experimental::RBinIndexMultiDimRange::fHasEmptyRange = false
private

Whether there is an empty range.

Definition at line 33 of file RBinIndexMultiDimRange.hxx.

◆ fRanges

std::vector<RBinIndexRange> ROOT::Experimental::RBinIndexMultiDimRange::fRanges
private

The original ranges.

Definition at line 31 of file RBinIndexMultiDimRange.hxx.

Libraries for ROOT::Experimental::RBinIndexMultiDimRange:

The documentation for this class was generated from the following file: