Herwig
7.2.1
|
A simple counter to store information used for adaption. More...
#include <SimpleCellGrid.h>
Public Member Functions | |
Counter () | |
Default constructor. | |
void | book (double weight) |
Book a point. | |
double | averageWeight () const |
Return the average weight. | |
double | varianceOfAverage () const |
Return the variance of the weights. | |
Public Attributes | |
double | nPoints |
The number of points. | |
double | sumOfWeights |
The sum of weights. | |
double | sumOfSquaredWeights |
The sum of squared weights. | |
double | maxWeight |
The maximum weight. | |
A simple counter to store information used for adaption.
Definition at line 97 of file SimpleCellGrid.h.