[Rivet-svn] r2822 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Sun Dec 5 16:38:36 GMT 2010


Author: buckley
Date: Sun Dec  5 16:38:36 2010
New Revision: 2822

Log:
Sorry for previous accidental commit. There were just a few clean-ups and fixing a bug which would never have had any effect ;) This one makes sure that the returned z range is not null in the fallback case. Again, this will never have any effect, but it's nice to do it correctly!

Modified:
   trunk/bin/make-plots

Modified: trunk/bin/make-plots
==============================================================================
--- trunk/bin/make-plots	Sun Dec  5 16:28:23 2010	(r2821)
+++ trunk/bin/make-plots	Sun Dec  5 16:38:36 2010	(r2822)
@@ -326,7 +326,7 @@
             foo=[]
             for i in inputdata.description['DrawOnly']:
                 foo.append(inputdata.histos[i].getZMax(self.xmin, self.xmax, self.ymin, self.ymax))
-            self.zmax = max(foo) if foo else 0
+            self.zmax = max(foo) if foo else 1
 
 
     def draw(self):
@@ -1590,6 +1590,8 @@
         else:
             return min(max(result,-10),10)
 
+    # TODO: Add frame2phys functions (to allow linear function sampling in the frame space rather than the physical space)
+
     def strphys2frameX(self, x):
         return str(self.phys2frameX(x))
 


More information about the Rivet-svn mailing list