Class for N-dimensional Histograms.
More...
#include <Util.h>
|
void | AddDimension (int binsize) |
| Add dimension with a binsize. More...
|
|
void | Clear () |
| Clear the histogram. More...
|
|
int | GetMax (double *dim0, double *dim1=0, double *dim2=0) |
| Get the maximum from the histogram This returns the value in the middle of the 'bin' instead of bin-number. More...
|
|
void | Inc (double dim0, double dim1=0, double dim2=0) |
| Increase the histogram for given dimensions. More...
|
|
Class for N-dimensional Histograms.
Definition at line 253 of file Util.h.
void alvar::Histogram::AddDimension |
( |
int |
binsize | ) |
|
Add dimension with a binsize.
Definition at line 282 of file Util.cpp.
void alvar::Histogram::Clear |
( |
| ) |
|
Clear the histogram.
Definition at line 285 of file Util.cpp.
int alvar::Histogram::DimIndex |
( |
int |
dim, |
|
|
double |
val |
|
) |
| |
|
protected |
double alvar::Histogram::DimVal |
( |
int |
dim, |
|
|
int |
index |
|
) |
| |
|
protected |
int alvar::Histogram::GetMax |
( |
double * |
dim0, |
|
|
double * |
dim1 = 0 , |
|
|
double * |
dim2 = 0 |
|
) |
| |
Get the maximum from the histogram This returns the value in the middle of the 'bin' instead of bin-number.
Definition at line 296 of file Util.cpp.
void alvar::Histogram::Inc |
( |
double |
dim0, |
|
|
double |
dim1 = 0 , |
|
|
double |
dim2 = 0 |
|
) |
| |
Increase the histogram for given dimensions.
Definition at line 288 of file Util.cpp.
std::map<Index, int> alvar::Histogram::bins |
|
protected |
std::vector<int> alvar::Histogram::dim_binsize |
|
protected |
The documentation for this class was generated from the following files: