|
[Rivet-svn] r2667 - trunk/include/LWHblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri Aug 20 11:16:26 BST 2010
Author: holsch Date: Fri Aug 20 11:16:25 2010 New Revision: 2667 Log: Add some simple get functions to be able to access the distributions of sum of weights and the like Modified: trunk/include/LWH/Profile1D.h Modified: trunk/include/LWH/Profile1D.h ============================================================================== --- trunk/include/LWH/Profile1D.h Thu Aug 19 10:53:42 2010 (r2666) +++ trunk/include/LWH/Profile1D.h Fri Aug 20 11:16:25 2010 (r2667) @@ -405,6 +405,31 @@ ax->upperEdge() - ax->lowerEdge(); } + + /** The counts. */ + std::vector<int> getSum() {return sum;} + + /** The weights. */ + std::vector<double> getSumW() {return sumw;} + + /** The squared weights. */ + std::vector<double> getSumW2() {return sumw2;} + + /** The weighted x-values. */ + std::vector<double> getSumXW() {return sumxw;} + + /** The weighted x-square-values. */ + std::vector<double> getSumX2W() {return sumx2w;} + + /** The weighted y-values. */ + std::vector<double> getSumYW() {return sumyw;} + + /** The weighted y-square-values. */ + std::vector<double> getSumY2W() {return sumy2w;} + + /** The squared weighted y-square-values. */ + std::vector<double> getSumY2W2() {return sumy2w2;} + /** * Get the x axis of the IHistogram1D. * @return The x coordinate IAxis.
More information about the Rivet-svn mailing list |