|
[Rivet-svn] r3096 - in trunk: . binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri May 20 14:11:25 BST 2011
Author: buckley Date: Fri May 20 14:11:24 2011 New Revision: 3096 Log: Adding a --no-ratio flag to rivet-mkhtml Modified: trunk/ChangeLog trunk/bin/rivet-mkhtml Modified: trunk/ChangeLog ============================================================================== --- trunk/ChangeLog Fri May 13 08:48:51 2011 (r3095) +++ trunk/ChangeLog Fri May 20 14:11:24 2011 (r3096) @@ -1,3 +1,9 @@ +2011-05-20 Andy Buckley <andy at insectnation.org> + + * Adding support for the compare-histos --no-ratio flag when using + rivet-mkhtml. Adding --rel-ratio, --linear, etc. is an exercise + for the enthusiast ;-) + 2011-05-10 Andy Buckley <andy at insectnation.org> * Internal minor changes to the ProjectionHandler and Modified: trunk/bin/rivet-mkhtml ============================================================================== --- trunk/bin/rivet-mkhtml Fri May 13 08:48:51 2011 (r3095) +++ trunk/bin/rivet-mkhtml Fri May 20 14:11:24 2011 (r3096) @@ -41,6 +41,8 @@ help="plot config file(s) to be used with make-plots.") parser.add_option("-s", "--single", dest="SINGLE", action="store_true", default=False, help="display plots on single webpage.") +parser.add_option("--no-ratio", dest="SHOW_RATIO", action="store_false", + default=True, help="don't draw a ratio plot under each main plot.") parser.add_option("--mc-errs", dest="MC_ERRS", action="store_true", default=False, help="plot error bars.") parser.add_option("--refid", dest="REF_ID", @@ -138,6 +140,8 @@ ch_cmd = ["compare-histos"] if opts.MC_ERRS: ch_cmd.append("--mc-errs") +if not opts.SHOW_RATIO: + ch_cmd.append("--no-ratio") if opts.REF_ID is not None: ch_cmd.append("--refid=%s" % os.path.abspath(opts.REF_ID)) ch_cmd.append("--hier-out")
More information about the Rivet-svn mailing list |