|
[Rivet-svn] r3033 - in trunk: . binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Mar 31 11:36:29 BST 2011
Author: buckley Date: Thu Mar 31 11:36:29 2011 New Revision: 3033 Log: bin/compare-histos: Write more appropriate ratio plot labels when not comparing to data, and use the default make-plots labels when comparing to data. Modified: trunk/ChangeLog trunk/bin/compare-histos Modified: trunk/ChangeLog ============================================================================== --- trunk/ChangeLog Thu Mar 31 11:36:06 2011 (r3032) +++ trunk/ChangeLog Thu Mar 31 11:36:29 2011 (r3033) @@ -1,3 +1,14 @@ +2011-03-31 Andy Buckley <andy at insectnation.org> + + * bin/compare-histos: Write more appropriate ratio plot labels + when not comparing to data, and use the default make-plots labels + when comparing to data. + + * bin/rivet-mkhtml: Adding a timestamp to the generated pages, and + a -t/--title option to allow setting the main HTML page title on + the command line: otherwise it becomes impossible to tell these + pages apart when you have a lot of them, except by URL! + 2011-03-24 Andy Buckley <andy at insectnation.org> * bin/aida2flat: Adding a -M option to *exclude* histograms whose Modified: trunk/bin/compare-histos ============================================================================== --- trunk/bin/compare-histos Thu Mar 31 11:36:06 2011 (r3032) +++ trunk/bin/compare-histos Thu Mar 31 11:36:29 2011 (r3033) @@ -401,10 +401,13 @@ "RatioPlotReference" : "%s%s" % (ref, HISTOS[ref][name].fullPath()), "RatioPlotYLabel" : "Ratio"} + if opts.RATIO_DEVIATION: - paramdefaults["RatioPlotMode"] = "deviation" - if HISTOS[ref][name].isdata: - paramdefaults["RatioPlotYLabel"] = "MC/data" + paramdefaults["RatioPlotMode"] = "deviation" + if not HISTOS[ref][name].isdata: + paramdefaults["RatioPlotYLabel"] = "Ratio" + if opts.RATIO_DEVIATION: + paramdefaults["RatioPlotYLabel"] = "Deviation" headstr = "# BEGIN PLOT\n"
More information about the Rivet-svn mailing list |