[Rivet] Two-dimensional histograms

James Robinson james.robinson at cern.ch
Tue Sep 16 18:40:36 BST 2014


Dear experts,

I would like to fill a 2D histogram in Rivet's analyze() function, which I
then turn into a 1D histogram during finalize(). This would be done by
iterating along the x-axis and calculating y_bin[0] / (y_bin[0] +
y_bin[1]). It's basically an efficiency histogram, but there doesn't seem
to be an existing class that can handle this natively. However, naively
using bookHisto2D and Histo2DPtr analogously to Histo1D doesn't work: these
types don't seem to exist.

How would you suggest I go about making the histogram that I need using
Rivet 2?

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20140916/6f1e2ed1/attachment.html>


More information about the Rivet mailing list