[Rivet-svn] r2535 - trunk/pyext

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Sat Jun 26 10:45:40 BST 2010


Author: buckley
Date: Sat Jun 26 10:45:53 2010
New Revision: 2535

Log:
Use %e formatting on reported histo areas

Modified:
   trunk/pyext/lighthisto.py

Modified: trunk/pyext/lighthisto.py
==============================================================================
--- trunk/pyext/lighthisto.py	Sat Jun 26 10:45:30 2010	(r2534)
+++ trunk/pyext/lighthisto.py	Sat Jun 26 10:45:53 2010	(r2535)
@@ -90,7 +90,7 @@
         if self.fullPath().startswith('/REF'):
             out += "PolyMarker=*\n"
             out += "ErrorBars=1\n"
-        out += "## Area: %s\n" % self.area()
+        out += "## Area: %e\n" % self.area()
         out += "## Num bins: %d\n" % self.numBins()
         out += "## xlow  \txhigh   \tyval    \tyerrminus\tyerrplus\n"
         out += "\n".join([b.asFlat() for b in self.getBins()])


More information about the Rivet-svn mailing list