#include <NamedBinning.h>
Inheritance diagram for NamedBinning:
A NamedBinning is a Binning with a name, which is entered into the list of named objects
Author: Jenny Böhme, Benno List
Changelog:
Definition at line 26 of file NamedBinning.h.
Public Member Functions | |
NamedBinning () | |
Default: Create an empty binning. | |
NamedBinning (int nbins, float xlow, float xup, const char *name=0) | |
Create an equidistant binning. | |
NamedBinning (int nbins, float xlow, float xup, const std::string &name) | |
Create an equidistant binning. | |
NamedBinning (int nbins, const float binedges_[], const char *name=0) | |
Create an nonequidistant binning, taking floats. | |
NamedBinning (int nbins, const float binedges_[], const std::string &name) | |
Create an nonequidistant binning, taking floats. | |
NamedBinning (int nbins, const double binedges_[], const char *name=0) | |
Create an nonequidistant binning, taking doubles. | |
NamedBinning (int nbins, const double binedges_[], const std::string &name) | |
Create an nonequidistant binning, taking doubles. | |
NamedBinning (const Binning &binning_, const char *name=0) | |
Create a binning from a Binning object. | |
NamedBinning (const Binning &binning_, const std::string &name) | |
Create a binning from a Binning object. | |
virtual int | getMaxBins () const |
Gets the maximal return value of operator() plus 1, or the higest "sensible" value for a bin number. | |
Static Public Member Functions | |
NamedBinning * | getObject (const std::string &name) |
Access function that returns a pointer to an FloatFun object with this name. | |
NamedBinning * | getObject (const char *name) |
Access function that returns a pointer to an NamedO object with this name. | |
Protected Member Functions | |
virtual | ~NamedBinning () |
Protected destructor to ensure creation on the heap. |
|
Create an equidistant binning. The binning will have nbins bins between xlow and xup.
Definition at line 34 of file NamedBinning.h. References NamedO::str(). |
|
Create an equidistant binning. The binning will have nbins bins between xlow and xup.
Definition at line 46 of file NamedBinning.h. |
|
Create an nonequidistant binning, taking floats. The binning will have nbins bins with bin edges given by binedges_. binedges_[i] and binedges_[i+1] are the lower and upper edges of bin i. It is assumed that the binedge values are monotonically increasing.
Definition at line 63 of file NamedBinning.h. References NamedO::str(). |
|
Create an nonequidistant binning, taking floats. The binning will have nbins bins with bin edges given by binedges_. binedges_[i] and binedges_[i+1] are the lower and upper edges of bin i. It is assumed that the binedge values are monotonically increasing.
Definition at line 80 of file NamedBinning.h. |
|
Create an nonequidistant binning, taking doubles. The binning will have nbins bins with binedges given by binedges_. binedges_[i] and binedges_[i+1] are the lower and upper edges of bin i. It is assumed that the binedge values are monotonically increasing.
Definition at line 97 of file NamedBinning.h. References NamedO::str(). |
|
Create an nonequidistant binning, taking doubles. The binning will have nbins bins with bin edges given by binedges. binedges_[i] and binedges_[i+1] are the lower and upper edges of bin i. It is assumed that the binedge values are monotonically increasing.
Definition at line 115 of file NamedBinning.h. |
|
Create a binning from a Binning object.
Definition at line 124 of file NamedBinning.h. References NamedO::str(). |
|
Create a binning from a Binning object.
Definition at line 136 of file NamedBinning.h. |
|
Access function that returns a pointer to an FloatFun object with this name. This access function must never be called within the constructor of any class that is derived from NamedBinning!
Reimplemented from NamedO. Definition at line 156 of file NamedBinning.h. |
|
Access function that returns a pointer to an NamedO object with this name. This access function must never be called within the constructor of any class that is derived from NamedBinning!
Reimplemented from NamedO. Definition at line 166 of file NamedBinning.h. |