rivet is hosted by Hepforge, IPPP Durham
Rivet 3.1.6
1D histogram booking

Functions

Histo1DPtr & Rivet::Analysis::book (Histo1DPtr &, const std::string &name, size_t nbins, double lower, double upper)
 Book a 1D histogram with nbins uniformly distributed across the range lower - upper .
 
Histo1DPtr & Rivet::Analysis::book (Histo1DPtr &, const std::string &name, const std::vector< double > &binedges)
 Book a 1D histogram with non-uniform bins defined by the vector of bin edges binedges .
 
Histo1DPtr & Rivet::Analysis::book (Histo1DPtr &, const std::string &name, const std::initializer_list< double > &binedges)
 Book a 1D histogram with non-uniform bins defined by the vector of bin edges binedges .
 
Histo1DPtr & Rivet::Analysis::book (Histo1DPtr &, const std::string &name, const Scatter2D &refscatter)
 Book a 1D histogram with binning from a reference scatter.
 
Histo1DPtr & Rivet::Analysis::book (Histo1DPtr &, const std::string &name)
 Book a 1D histogram, using the binnings in the reference data histogram.
 
Histo1DPtr & Rivet::Analysis::book (Histo1DPtr &, unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId)
 

Detailed Description

Function Documentation

◆ book()

Histo1DPtr & Rivet::Analysis::book ( Histo1DPtr &  ,
unsigned int  datasetId,
unsigned int  xAxisId,
unsigned int  yAxisId 
)
protected

Book a 1D histogram, using the binnings in the reference data histogram.

The paper, dataset and x/y-axis IDs will be used to build the histo name in the HepData standard way.