|
[yoda-svn] r436 - trunk/srcblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue May 1 19:40:58 BST 2012
Author: hoeth Date: Tue May 1 19:40:58 2012 New Revision: 436 Log: fix Scatter2D from histograms Modified: trunk/src/Scatter2D.cc Modified: trunk/src/Scatter2D.cc ============================================================================== --- trunk/src/Scatter2D.cc Tue May 1 18:09:58 2012 (r435) +++ trunk/src/Scatter2D.cc Tue May 1 19:40:58 2012 (r436) @@ -16,7 +16,7 @@ const double ex_p = b.highEdge() - b.focus(); const double y = b.height(); const double ey = b.heightErr(); - const Point2D pt(x, ex_m, ex_p, y, ey, ey); + const Point2D pt(x, y, ex_m, ex_p, ey, ey); rtn.addPoint(pt); } assert(h.numBins() == rtn.numPoints()); @@ -35,7 +35,7 @@ const double ex_p = b.highEdge() - b.focus(); const double y = b.mean(); const double ey = b.stdErr(); - const Point2D pt(x, ex_m, ex_p, y, ey, ey); + const Point2D pt(x, y, ex_m, ex_p, ey, ey); rtn.addPoint(pt); } assert(p.numBins() == rtn.numPoints());
More information about the yoda-svn mailing list |