|
| BinnedHistogram () |
| Create a new empty BinnedHistogram.
|
|
| BinnedHistogram (const vector< T > &edges, const vector< Histo1DPtr > &histos) |
| Create a new BinnedHistogram with the given bin edges and contents.
|
|
const BinnedHistogram< T > & | add (const T &binMin, const T &binMax, Histo1DPtr histo) |
| Add a histogram in the T bin between binMin and binMax. More...
|
|
const BinnedHistogram< T > & | addHistogram (const T &binMin, const T &binMax, Histo1DPtr histo) |
|
void | fill (const T &binval, double val, double weight) |
| Fill the histogram in the same bin as binval with value val and weight weight.
|
|
const Histo1DPtr | histo (const T &binval) const |
| Get the histogram in the same bin as binval (const) More...
|
|
Histo1DPtr | histo (const T &binval) |
| Get the histogram in the same bin as binval. More...
|
|
const vector< Histo1DPtr > & | histos () const |
| Get the contained histograms (const)
|
|
vector< Histo1DPtr > & | histos () |
| Get the contained histograms.
|
|
const vector< Histo1DPtr > & | getHistograms () const |
|
vector< Histo1DPtr > & | getHistograms () |
|
void | scale (const T &scale, Analysis *ana) |
|
template<typename T>
class Rivet::BinnedHistogram< T >
A set of booked Histo1DPtr, each in a bin of a second variable.
BinnedHistogram contains a series of histograms of the same quantity each in a different region of a second quantity. For example, a BinnedHistogram may contain histograms of the cross-section differential in
in different
regions.