[Rivet-svn] r3022 - trunk/include/LWH

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Mar 16 16:12:40 GMT 2011


Author: fsiegert
Date: Wed Mar 16 16:12:40 2011
New Revision: 3022

Log:
Bugfix in XML output for Histogram2D: leading statistics tag missing. Now if I only knew how to get .dat files out of the .aida files for 2D?

Modified:
   trunk/include/LWH/Histogram2D.h

Modified: trunk/include/LWH/Histogram2D.h
==============================================================================
--- trunk/include/LWH/Histogram2D.h	Wed Mar 16 15:42:26 2011	(r3021)
+++ trunk/include/LWH/Histogram2D.h	Wed Mar 16 16:12:40 2011	(r3022)
@@ -707,7 +707,9 @@
       os << "    <statistics entries=\"" << entries()
          << "\">\n      <statistic mean=\"" << meanX()
          << "\" direction=\"x\"\n        rms=\"" << rmsX()
-         << "\"/>\n    </statistics>\n      <statistic mean=\"" << meanY()
+         << "\"/>\n    </statistics>\n"
+         << "    <statistics entries=\"" << entries()
+         << "\">\n      <statistic mean=\"" << meanY()
          << "\" direction=\"y\"\n        rms=\"" << rmsY()
          << "\"/>\n    </statistics>\n    <data2d>\n";
       for ( int ix = 0; ix < xax->bins() + 2; ++ix )


More information about the Rivet-svn mailing list