herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
Statistics::Distribution::DistributionBin Struct Reference

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.
 
DistributionBinoperator+= (const DistributionBin &other)
 Add two distributionBins.
 
DistributionBinoperator-= (const DistributionBin &other)
 Subtract two distributionBins.
 
DistributionBinoperator*= (const DistributionBin &other)
 Multiply two distributionBins.
 
DistributionBinoperator/= (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.
 

Detailed Description

A bin in a distribution.

Definition at line 28 of file Distribution.h.


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