Herwig 7.3.0
|
A bin in a distribution. More...
#include <Distribution.h>
Public Member Functions | |
DistributionBin () | |
Default constructor. | |
DistributionBin (const Bin &bin, double nPoints) | |
Construct from a histogram bin, given a number of attempted points. | |
DistributionBin & | operator+= (const DistributionBin &other) |
Add two distributionBins. | |
DistributionBin & | operator-= (const DistributionBin &other) |
Subtract two distributionBins. | |
DistributionBin & | operator*= (const DistributionBin &other) |
Multiply two distributionBins. | |
DistributionBin & | operator/= (const DistributionBin &other) |
Divide two distributionBins. | |
void | fromXML (const XML::Element &) |
Fill distribution data from an XML element. | |
XML::Element | toXML () const |
Return an XML element for the data of this distribution. | |
Public Attributes | |
std::pair< double, double > | boundaries |
The bin boundaries. | |
double | value |
The bin value. | |
double | errorSquared |
The bin error squared. | |
A bin in a distribution.
Definition at line 28 of file Distribution.h.
std::pair<double,double> Statistics::Distribution::DistributionBin::boundaries |
The bin boundaries.
Definition at line 75 of file Distribution.h.
double Statistics::Distribution::DistributionBin::errorSquared |
The bin error squared.
Definition at line 85 of file Distribution.h.
double Statistics::Distribution::DistributionBin::value |
The bin value.
Definition at line 80 of file Distribution.h.