herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
Statistics::CrossSections Class Reference

A simulation run. More...

#include <CrossSections.h>

Public Member Functions

 CrossSections ()
 Default constructor.
 
 CrossSections (const std::string &newName)
 Construct giving a name and seed.
 
virtual ~CrossSections ()
 Destructor.
 
DistributionaddDistribution (const Distribution &)
 Add a distribution.
 
Distributiondistribution (const std::string &histoName)
 Return a given distribution.
 
const Distributiondistribution (const std::string &histoName) const
 Return a given distribution.
 
const std::map< std::string, Distribution > & distributions () const
 Return the distributions.
 
const std::string & name () const
 Return the name of the run.
 
void name (const std::string &newName)
 Set the name of the run.
 
double integral () const
 The integral.
 
double varianceOfIntegral () const
 The variance of the integral.
 
CrossSectionsoperator+= (const CrossSections &other)
 Add.
 
void fromXML (const XML::Element &)
 Fill run data from an XML element.
 
XML::Element toXML () const
 Return an XML element for the data of this run.
 

Private Attributes

std::string theName
 The name of the run.
 
double theIntegral
 The integral.
 
double theVarianceOfIntegral
 The variance of the integral.
 
std::map< std::string, DistributiontheDistributions
 The distributions.
 

Detailed Description

A simulation run.

Author
Simon Platzer

Definition at line 19 of file CrossSections.h.


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