Herwig 7.3.0
|
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. | |
Distribution & | addDistribution (const Distribution &) |
Add a distribution. | |
Distribution & | distribution (const std::string &histoName) |
Return a given distribution. | |
const Distribution & | distribution (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. | |
CrossSections & | operator+= (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, Distribution > | theDistributions |
The distributions. | |
|
inline |
Return the distributions.
Definition at line 58 of file CrossSections.h.
References theDistributions.
|
inline |
|
inline |
|
inline |
|
inline |
The variance of the integral.
Definition at line 78 of file CrossSections.h.
References theVarianceOfIntegral.
|
private |
|
private |
|
private |
|
private |
The variance of the integral.
Definition at line 114 of file CrossSections.h.
Referenced by varianceOfIntegral().