|
[yoda-svn] r364 - in trunk: . include/YODAblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Aug 25 13:21:34 BST 2011
Author: mkawalec Date: Thu Aug 25 13:21:34 2011 New Revision: 364 Log: Mostly changes to TODO. Modified: trunk/TODO trunk/include/YODA/Axis2D.h Modified: trunk/TODO ============================================================================== --- trunk/TODO Thu Aug 25 12:49:06 2011 (r363) +++ trunk/TODO Thu Aug 25 13:21:34 2011 (r364) @@ -7,6 +7,7 @@ * Rebinning: global rebinning of Axis2D -> Histo2D by integer factor(s) -- different factors in x and y directions. (MK) + MK: What if factor%(number of bins in X/Y direction) != 0? * Comment, clean, and explain the Axis caching mechanisms and the very complex functions that manipulate them. (MK) Modified: trunk/include/YODA/Axis2D.h ============================================================================== --- trunk/include/YODA/Axis2D.h Thu Aug 25 12:49:06 2011 (r363) +++ trunk/include/YODA/Axis2D.h Thu Aug 25 13:21:34 2011 (r364) @@ -276,6 +276,15 @@ mergeBins(binByCoord(startX, startY), binByCoord(endX, endY)); } + /// Rebin by an interger factor + void rebin(size_t factorX, size_t factorY) { + if(!isGrid) throw GridError("Rebinning by a factor can only act on full grids!"); + size_t binsInColumn = _binHashSparse.first.size() - 1; + size_t binsInRow = _binHashSparse.second.size() - 1; + + throw ("IMPLEMENT!"); + } + /// Reset the axis statistics void reset() { _dbn.reset();
More information about the yoda-svn mailing list |