herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
Herwig::Stat Struct Reference

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. More...
 
CrossSection xSec () const
 Calculation of the cross section.
 
const Statoperator+= (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.
 

Detailed Description

Documentation for the statistics struct.

Copied from ThePEG::StandardEventHandler.

Definition at line 18 of file stat.h.

Constructor & Destructor Documentation

◆ Stat()

Herwig::Stat::Stat ( long  att,
long  acc,
double  w,
CrossSection  x,
double  sumw 
)
inline

Constructor with arguments.

Definition at line 25 of file stat.h.


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