[Rivet-svn] r2444 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue May 11 13:58:03 BST 2010


Author: buckley
Date: Tue May 11 14:05:55 2010
New Revision: 2444

Log:
Use scientific notation when writing out FLAT from ROOT

Modified:
   trunk/bin/root2flat

Modified: trunk/bin/root2flat
==============================================================================
--- trunk/bin/root2flat	Tue May 11 13:21:27 2010	(r2443)
+++ trunk/bin/root2flat	Tue May 11 14:05:55 2010	(r2444)
@@ -107,7 +107,7 @@
         try:
             binstr = ""
             for key in ["xlow", "xhigh", "y", "y_err_low", "y_err_high"]:
-                binstr += "%s: %f "%(key, bin[key])
+                binstr += "%s: %e "%(key, bin[key])
             logging.info(binstr)
         except:
             pass


More information about the Rivet-svn mailing list