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

Simple histogram for accuracy checks. More...

#include <MatchboxMEBase.h>

Public Member Functions

 AccuracyHistogram (double low=-40., double up=0., unsigned int nbins=80)
 Constructor.
 
void book (double a, double b)
 Book two values to be checked for numerical compatibility.
 
void dump (const std::string &folder, const std::string &prefix, const cPDVector &proc) const
 Write to file.
 
void persistentOutput (PersistentOStream &) const
 Write to persistent ostream.
 
void persistentInput (PersistentIStream &)
 Read from persistent istream.
 

Public Attributes

double lower
 The lower bound.
 
double upper
 The upper bound.
 
map< double, double > bins
 The bins, indexed by upper bound.
 
unsigned long sameSign
 The number of points of same sign.
 
unsigned long oppositeSign
 The number of points of opposite sign.
 
unsigned long nans
 The number of points being nan or inf.
 
unsigned long overflow
 The overflow.
 
unsigned long underflow
 The underflow.
 

Detailed Description

Simple histogram for accuracy checks.

Definition at line 678 of file MatchboxMEBase.h.


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