herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::SubtractedME::SubtractionHistogram Struct Reference

Simple envelope histogram to keep track of subtraction. More...

#include <SubtractedME.h>

Public Member Functions

 SubtractionHistogram (double low=0.001, double up=10., unsigned int nbins=100)
 Constructor.
 
void book (double inv, double diff)
 Book an event.
 
void dump (const std::string &prefix, const int &plottype, const bool &scatterplot, const cPDVector &proc, int i, int j) const
 Write to file given name and invariant.
 
void persistentOutput (PersistentOStream &) const
 Write to persistent ostream.
 
void persistentInput (PersistentIStream &)
 Read from persistent istream.
 

Public Attributes

double lower
 The lower bound.
 
map< double, pair< double, double > > bins
 The bins, indexed by upper bound.
 

Detailed Description

Simple envelope histogram to keep track of subtraction.

Definition at line 319 of file SubtractedME.h.

Member Function Documentation

◆ book()

void Herwig::SubtractedME::SubtractionHistogram::book ( double  inv,
double  diff 
)
inline

Book an event.

Definition at line 341 of file SubtractedME.h.

References bins.

Member Data Documentation

◆ bins

map<double,pair<double,double> > Herwig::SubtractedME::SubtractionHistogram::bins

The bins, indexed by upper bound.

Definition at line 329 of file SubtractedME.h.

Referenced by book().

◆ lower

double Herwig::SubtractedME::SubtractionHistogram::lower

The lower bound.

Definition at line 324 of file SubtractedME.h.


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