Herwig
7.2.1
|
Fast, zero memory-overhead one-dimensional histogram with 2^n equally spaced bins. More...
#include <utility.h>
Public Member Functions | |
fast_small_histogram () | |
default constructor | |
fast_small_histogram (const fast_small_histogram &x) | |
copy constructor | |
fast_small_histogram & | operator= (const fast_small_histogram &x) |
assignment | |
fast_small_histogram (std::size_t d) | |
construct from depth d, creating 2^d bins | |
Statistics & | bin (double lower, double upper, double event) |
return the bin from event belongs to given outer boundaries | |
template<class OStream > | |
void | put (OStream &os) const |
put histogram to an ostream | |
template<class IStream > | |
void | get (IStream &is) |
get histogram from an istream | |
Public Attributes | |
std::size_t | depth |
the depth, defining a histogram of 2^depth bins | |
std::unique_ptr< Statistics[]> | bins |
the contained statistics objects | |
Fast, zero memory-overhead one-dimensional histogram with 2^n equally spaced bins.