Documentation for the statistics struct. More...
#include <stat.h>
Public Member Functions | |
Stat () | |
Standard constructor. | |
Stat (long att, long acc, double w, CrossSection x, double sumw) | |
Constructor with arguments. | |
CrossSection | xSec () const |
Calculation of the cross section. | |
const Stat & | operator+= (const Stat &s) |
Overloaded += operator. | |
Public Attributes | |
long | attempted |
Store the number of attempts. | |
long | accepted |
Store the number of accepted ones. | |
double | sumw |
Sum of weights. | |
CrossSection | maxXSec |
Maximal cross section. | |
double | totsum |
Maximal weights. | |
Documentation for the statistics struct.
Copied from ThePEG::StandardEventHandler.
|
inline |
|
inline |
long Herwig::Stat::accepted |
Store the number of accepted ones.
Definition at line 39 of file stat.h.
Referenced by operator+=().
long Herwig::Stat::attempted |
CrossSection Herwig::Stat::maxXSec |
Maximal cross section.
Definition at line 43 of file stat.h.
Referenced by operator+=(), and xSec().
double Herwig::Stat::sumw |
double Herwig::Stat::totsum |