|
[Rivet-svn] r3134 - trunk/pyextblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Jun 7 01:04:47 BST 2011
Author: buckley Date: Tue Jun 7 01:04:47 2011 New Revision: 3134 Log: Little tweak in lighthisto Modified: trunk/pyext/lighthisto.py Modified: trunk/pyext/lighthisto.py ============================================================================== --- trunk/pyext/lighthisto.py Mon Jun 6 23:11:12 2011 (r3133) +++ trunk/pyext/lighthisto.py Tue Jun 7 01:04:47 2011 (r3134) @@ -445,7 +445,7 @@ self.val = _float(val) self.errplus = _float(errplus) self.errminus = _float(errminus) - self.focus= _float(focus) + self._focus= _float(focus) def __str__(self): out = "%e to %e: %e +%e-%e" % (self.xlow, self.xhigh, @@ -507,6 +507,7 @@ return (self.xlow + self.xhigh)/2.0 else: return self.focus + focus = property(getFocus) def getVal(self): """Y-value of the bin."""
More information about the Rivet-svn mailing list |