![]() |
AliPhysics
fb6b143 (fb6b143)
|
Class creating a linear binning, used in the histogram manager. More...
#include <TLinearBinning.h>
Classes | |
class | LimitsNotSetException |
Exception indicating that the limits are not set. More... | |
Public Member Functions | |
TLinearBinning () | |
TLinearBinning (Int_t nbins, Double_t min, Double_t max) | |
virtual | ~TLinearBinning () |
virtual TBinning * | MakeCopy () const |
void | Set (Int_t nbins, Double_t min, Double_t max) |
virtual void | CreateBinEdges (TArrayD &binedges) const |
![]() | |
TBinning () | |
virtual | ~TBinning () |
Private Attributes | |
Int_t | fNbins |
Number of bins. More... | |
Double_t | fMinimum |
Minimum of the binning. More... | |
Double_t | fMaximum |
Maximum of the binning. More... | |
Bool_t | fLimitsSet |
Switch indicating that the binning is initialized. More... | |
Class creating a linear binning, used in the histogram manager.
This class creates a linear binning. For this the user must provide
The information can be set either in the constructor
or using the set function
The binning can be converted to a TArrayD which contains the bin edges in increasing order:
Definition at line 47 of file TLinearBinning.h.
TLinearBinning::TLinearBinning | ( | ) |
Constructor
Definition at line 21 of file TLinearBinning.cxx.
Referenced by MakeCopy(), TLinearBinning::LimitsNotSetException::what(), and EMCalTriggerPtAnalysis::AliEMCalTriggerBinningFactory::DefaultZVertexBinning::~DefaultZVertexBinning().
Constructor, defining the limits and the number of bins
[in] | nbins | Number of bins |
[in] | min | Minimum bin edge of the binning |
[in] | max | Maximum bin edge of the binning |
Definition at line 31 of file TLinearBinning.cxx.
|
inlinevirtual |
Destructor
Definition at line 95 of file TLinearBinning.h.
|
virtual |
Converting the linear binning in a set of bin edges
binedges |
Implements TBinning.
Definition at line 41 of file TLinearBinning.cxx.
Referenced by ~TLinearBinning().
|
virtual |
Implementation of the copy function for the linear binning class
Implements TBinning.
Definition at line 60 of file TLinearBinning.cxx.
Referenced by ~TLinearBinning().
Set the binning with minimum, maximum and number of bins
[in] | nbins | Number of bins |
[in] | min | Minimum of the binning |
[in] | max | Maximum of the binning |
Definition at line 124 of file TLinearBinning.h.
Referenced by ~TLinearBinning().
|
private |
Switch indicating that the binning is initialized.
Definition at line 121 of file TLinearBinning.h.
Referenced by CreateBinEdges(), and Set().
|
private |
Maximum of the binning.
Definition at line 120 of file TLinearBinning.h.
Referenced by CreateBinEdges(), and Set().
|
private |
Minimum of the binning.
Definition at line 119 of file TLinearBinning.h.
Referenced by CreateBinEdges(), and Set().
|
private |
Number of bins.
Definition at line 118 of file TLinearBinning.h.
Referenced by CreateBinEdges(), and Set().