[yoda-svn] yoda: Change AO uncomputable division and mkScatter operations t...

YODA Mercurial yoda at projects.hepforge.org
Sun Dec 20 10:00:02 GMT 2015


details:   https://yoda.hepforge.org/hg/yoda/rev/934faa04b10c
branches:  
changeset: 1201:934faa04b10c
user:      Andy Buckley <andy at insectnation.org>
date:      Sun Dec 20 09:57:40 2015 +0000
description:
Change AO uncomputable division and mkScatter operations to return/set NaN rather than 0 -- behaviour change requires new major version series 1.6.

diffs (truncated from 716 to 50 lines):

--- a/ChangeLog	Wed Dec 16 16:24:19 2015 +0000
+++ b/ChangeLog	Sun Dec 20 09:57:40 2015 +0000
@@ -1,3 +1,9 @@
+2015-12-20  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Change AO uncomputable division and mkScatter operations to
+	return/set NaN rather than 0 -- behaviour change requires new
+	major version series 1.6.
+
 2015-12-15  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Add xEdges() methods to Axis1D and the Histo1D and Profile1D
--- a/configure.ac	Wed Dec 16 16:24:19 2015 +0000
+++ b/configure.ac	Sun Dec 20 09:57:40 2015 +0000
@@ -1,7 +1,7 @@
 ## Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT([YODA],[1.5.7],[yoda at projects.hepforge.org],[YODA])
+AC_INIT([YODA],[1.6.0],[yoda at projects.hepforge.org],[YODA])
 
 ## Check and block installation into the src/build dir
 if test "$prefix" = "$PWD"; then
--- a/include/YODA/Histo1D.h	Wed Dec 16 16:24:19 2015 +0000
+++ b/include/YODA/Histo1D.h	Sun Dec 20 09:57:40 2015 +0000
@@ -491,6 +491,8 @@
   ///
   /// The includeunderflow param chooses whether the underflow bin is included
   /// in the integral numbers as an offset.
+  ///
+  /// @todo Rename/alias as mkIntegral
   Scatter2D toIntegralHisto(const Histo1D& h, bool includeunderflow=true);
 
 
@@ -505,6 +507,8 @@
   /// The includeunderflow param behaves as for toIntegral, and applies to both
   /// the initial integration and the integral used for the scaling. The
   /// includeoverflow param applies only to obtaining the scaling factor.
+  ///
+  /// @todo Rename/alias as mkIntegralEff
   Scatter2D toIntegralEfficiencyHisto(const Histo1D& h, bool includeunderflow=true, bool includeoverflow=true);
 
   //@}
--- a/src/Counter.cc	Wed Dec 16 16:24:19 2015 +0000
+++ b/src/Counter.cc	Sun Dec 20 09:57:40 2015 +0000
@@ -21,6 +21,7 @@
 
 
   // Divide two counters
+  /// @todo Add skipnullpts extra optional arg


More information about the yoda-svn mailing list