Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TBinIterator Class Reference

Definition at line 29 of file THistRange.h.

Public Types

enum  ERangeType { kHistRange , kAxisBins , kAllBins , kUnOfBins }
 

Public Member Functions

 TBinIterator (const TH1 *h, ERangeType type)
 constructor of TBInIterator taking as input an histogram pointer This constructors set iterator, the global bin, to its first value (begin)
 
bool operator!= (const TBinIterator &rhs) const
 
intoperator* ()
 
TBinIteratoroperator++ ()
 
TBinIterator operator++ (int)
 
bool operator== (const TBinIterator &rhs) const
 

Static Public Member Functions

static TBinIterator End ()
 

Private Member Functions

 TBinIterator ()
 
void SetGlobalBin ()
 

Private Attributes

int fBin
 
int fDim
 
int fNx
 
int fNy
 
int fNz
 
int fXbin
 
int fXmax
 
int fXmin
 
int fYbin
 
int fYmax
 
int fYmin
 
int fZbin
 
int fZmax
 
int fZmin
 

Friends

class THistRange
 

#include <THistRange.h>

Member Enumeration Documentation

◆ ERangeType

Enumerator
kHistRange 
kAxisBins 
kAllBins 
kUnOfBins 

Definition at line 70 of file THistRange.h.

Constructor & Destructor Documentation

◆ TBinIterator() [1/2]

TBinIterator::TBinIterator ( )
inlineprivate

Definition at line 60 of file THistRange.h.

◆ TBinIterator() [2/2]

TBinIterator::TBinIterator ( const TH1 h,
ERangeType  type 
)

constructor of TBInIterator taking as input an histogram pointer This constructors set iterator, the global bin, to its first value (begin)

Definition at line 28 of file THistRange.cxx.

Member Function Documentation

◆ End()

static TBinIterator TBinIterator::End ( )
inlinestatic

Definition at line 82 of file THistRange.h.

◆ operator!=()

bool TBinIterator::operator!= ( const TBinIterator rhs) const
inline

Definition at line 135 of file THistRange.h.

◆ operator*()

int & TBinIterator::operator* ( )
inline

Definition at line 136 of file THistRange.h.

◆ operator++() [1/2]

TBinIterator & TBinIterator::operator++ ( )
inline

Definition at line 90 of file THistRange.h.

◆ operator++() [2/2]

TBinIterator TBinIterator::operator++ ( int  )
inline

Definition at line 127 of file THistRange.h.

◆ operator==()

bool TBinIterator::operator== ( const TBinIterator rhs) const
inline

Definition at line 134 of file THistRange.h.

◆ SetGlobalBin()

void TBinIterator::SetGlobalBin ( )
inlineprivate

Definition at line 49 of file THistRange.h.

Friends And Related Symbol Documentation

◆ THistRange

friend class THistRange
friend

Definition at line 67 of file THistRange.h.

Member Data Documentation

◆ fBin

int TBinIterator::fBin
private

Definition at line 31 of file THistRange.h.

◆ fDim

int TBinIterator::fDim
private

Definition at line 46 of file THistRange.h.

◆ fNx

int TBinIterator::fNx
private

Definition at line 36 of file THistRange.h.

◆ fNy

int TBinIterator::fNy
private

Definition at line 37 of file THistRange.h.

◆ fNz

int TBinIterator::fNz
private

Definition at line 38 of file THistRange.h.

◆ fXbin

int TBinIterator::fXbin
private

Definition at line 32 of file THistRange.h.

◆ fXmax

int TBinIterator::fXmax
private

Definition at line 40 of file THistRange.h.

◆ fXmin

int TBinIterator::fXmin
private

Definition at line 39 of file THistRange.h.

◆ fYbin

int TBinIterator::fYbin
private

Definition at line 33 of file THistRange.h.

◆ fYmax

int TBinIterator::fYmax
private

Definition at line 42 of file THistRange.h.

◆ fYmin

int TBinIterator::fYmin
private

Definition at line 41 of file THistRange.h.

◆ fZbin

int TBinIterator::fZbin
private

Definition at line 34 of file THistRange.h.

◆ fZmax

int TBinIterator::fZmax
private

Definition at line 44 of file THistRange.h.

◆ fZmin

int TBinIterator::fZmin
private

Definition at line 43 of file THistRange.h.

Libraries for TBinIterator:

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