|
[Rivet-svn] r2045 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Nov 9 10:42:11 GMT 2009
Author: fsiegert Date: Mon Nov 9 10:42:10 2009 New Revision: 2045 Log: Fix in CDF_1996_S3418421 Modified: trunk/src/Analyses/CDF_1996_S3418421.cc Modified: trunk/src/Analyses/CDF_1996_S3418421.cc ============================================================================== --- trunk/src/Analyses/CDF_1996_S3418421.cc Mon Nov 9 01:44:54 2009 (r2044) +++ trunk/src/Analyses/CDF_1996_S3418421.cc Mon Nov 9 10:42:10 2009 (r2045) @@ -90,7 +90,8 @@ // now mimic filling of the ratio histogram std::vector<double> ratios(_h_ratio->axis().bins()); for (size_t i=0; i<ratios.size(); ++i) { - ratios[i] = _chi_below_25[i]/_chi_above_25[i]/double(_nevt); + double binwidth = _h_ratio->axis().binWidth(i); + ratios[i] = _chi_below_25[i]/_chi_above_25[i]/double(_nevt)*binwidth; } for (size_t bin=0; bin<ratios.size(); ++bin) { double coord = _h_ratio->binMean(bin); @@ -98,7 +99,6 @@ _h_ratio->fill(coord, ratios[bin]); } } - } //@}
More information about the Rivet-svn mailing list |