votca 2024.2-dev
|
class to generate histograms More...
#include <histogram.h>
Classes | |
struct | options_t |
Public Member Functions | |
Histogram (const options_t &op) | |
constructor | |
Histogram () | |
~Histogram () | |
destructor | |
void | ProcessData (DataCollection< double >::selection *data) |
double | getMin () const |
returns the minimum value | |
double | getMax () const |
return the maximum value | |
Index | getN () const |
return the number of grid points | |
std::vector< double > & | getPdf () |
double | getInterval () const |
void | Normalize (void) |
Private Attributes | |
std::vector< double > | pdf_ |
double | min_ = 0 |
double | max_ = 0 |
double | interval_ |
options_t | options_ |
class to generate histograms
This class produces a histogram out of a vector of values. This class is obsolate and only used in csg_boltzman. Use HistogramNew instead!
Definition at line 38 of file histogram.h.
votca::tools::Histogram::Histogram | ( | const options_t & | op | ) |
constructor
Definition at line 32 of file histogram.cc.
|
default |
|
default |
destructor
|
inline |
Definition at line 60 of file histogram.h.
|
inline |
return the maximum value
Definition at line 56 of file histogram.h.
|
inline |
returns the minimum value
Definition at line 54 of file histogram.h.
|
inline |
return the number of grid points
Definition at line 58 of file histogram.h.
|
inline |
Definition at line 59 of file histogram.h.
void votca::tools::Histogram::Normalize | ( | void | ) |
Definition at line 116 of file histogram.cc.
void votca::tools::Histogram::ProcessData | ( | DataCollection< double >::selection * | data | ) |
process data and generate histogram
Definition at line 36 of file histogram.cc.
|
private |
Definition at line 79 of file histogram.h.
|
private |
Definition at line 78 of file histogram.h.
|
private |
Definition at line 77 of file histogram.h.
|
private |
Definition at line 81 of file histogram.h.
|
private |
Definition at line 76 of file histogram.h.