[Rivet] 2d histos options

James Monk jmonk at hep.ucl.ac.uk
Mon Mar 7 15:51:42 GMT 2011


Hi,

I'm doing the two particle correlations Rivet analysis module for ATLAS, which has some 2-d plots in the results.  For my own private work, when I need 2-d histograms from Rivet I book a series of 1-d histograms with names like foo_row__1,  foo_row__2... foo_row__N, convert to root after running and then use a python script to turn the 1-d rows into a TH2.  The alternative would be to introduce a dependency on ROOT into the analysis, but since we want this analysis to be included in the official Rivet release I guess we don't want to be introducing ROOT dependencies.

So, of the two options, is using 1-d histos but combining them afterwards my best option?  The majority of the generator comparisons would be done with 1-d plots anyway, but obviously we would like to include the full 2-d plots, too.  Has anyone a better method?

cheers,

James



More information about the Rivet mailing list