herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
ExSample::SimpleCellGrid::Counter Struct Reference

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.
 

Detailed Description

A simple counter to store information used for adaption.

Definition at line 97 of file SimpleCellGrid.h.


The documentation for this struct was generated from the following file: