Herwig
7.2.1
|
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.