[yoda-svn] yoda: Pass the toNewScatter3D() scalebyarea flag to the called t...

YODA Mercurial yoda at projects.hepforge.org
Tue Jul 5 14:00:01 BST 2016


details:   https://yoda.hepforge.org/hg/yoda/rev/ce0b8fabd02d
branches:  release-1-6
changeset: 1270:ce0b8fabd02d
user:      Andy Buckley <andy at insectnation.org>
date:      Tue Jul 05 13:47:31 2016 +0100
description:
Pass the toNewScatter3D() scalebyarea flag to the called toScatter3D() functions.

diffs (26 lines):

--- a/ChangeLog	Wed Jun 29 16:23:12 2016 +0100
+++ b/ChangeLog	Tue Jul 05 13:47:31 2016 +0100
@@ -1,3 +1,7 @@
+2016-07-05  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Pass the toNewScatter3D() scalebyarea flag to the called toScatter3D() functions.
+
 2016-06-06  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Re-enable the disabled-for-some-reason Scatter1D combineWith Python mappings.
--- a/include/YODA/ROOTCnv.h	Wed Jun 29 16:23:12 2016 +0100
+++ b/include/YODA/ROOTCnv.h	Tue Jul 05 13:47:31 2016 +0100
@@ -188,11 +188,11 @@
 
   /// Convert a ROOT 2D histogram to a new'd YODA Scatter3D
   inline Scatter3D* toNewScatter3D(const TH2& th2, bool scalebyarea=true) {
-    return toScatter3D(th2).newclone();
+    return toScatter3D(th2, scalebyarea).newclone();
   }
   /// Convert a ROOT 2D histogram to a new'd YODA Scatter3D
   inline Scatter3D* toNewScatter3D(const TH2* th2, bool scalebyarea=true) {
-    return toScatter3D(th2).newclone();
+    return toScatter3D(th2, scalebyarea).newclone();
   }
 
 


More information about the yoda-svn mailing list