hep-mc
0.8
|
Defines the parameters of a one- or two-dimensional distribution.
Public Member Functions | |
distribution_parameters (std::size_t bins_x, std::size_t bins_y, T x_min, T x_max, T y_min, T y_max, std::string const &name) | |
distribution_parameters (std::size_t bins, T x_min, T x_max, std::string const &name) | |
distribution_parameters (std::istream &in) | |
std::size_t | bins_x () const |
std::size_t | bins_y () const |
std::string const & | name () const |
T | x_min () const |
T | y_min () const |
T | bin_size_x () const |
T | bin_size_y () const |
void | serialize (std::ostream &out) const |
|
inline |
Constructor. Constructs a two dimensional distribution.
|
inline |
Constructor. Constructs a one-dimensional distribution.
|
inlineexplicit |
Deserialization constructor.
|
inline |
Size of the bins in x-direction.
|
inline |
Size of the bins in y-direction.
|
inline |
Returns the number of bins in x-direction.
|
inline |
Returns the number of bins in y-direction.
|
inline |
Name of the distribution.
|
inline |
Serializes this object.
|
inline |
Smallest x-value of a point that would still be accumulated into the distribution.
|
inline |
Smallest y-value of a point that would still be accumulated into the distribution.