[Rivet-svn] r2811 - trunk/src/Analyses

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Dec 3 01:04:38 GMT 2010


Author: hoeth
Date: Fri Dec  3 01:04:38 2010
New Revision: 2811

Log:
Fixed normalisation in UA5_1987_S1640666 and UA5_1989_S1926373

Modified:
   trunk/src/Analyses/UA5_1987_S1640666.cc
   trunk/src/Analyses/UA5_1989_S1926373.cc

Modified: trunk/src/Analyses/UA5_1987_S1640666.cc
==============================================================================
--- trunk/src/Analyses/UA5_1987_S1640666.cc	Thu Dec  2 19:53:50 2010	(r2810)
+++ trunk/src/Analyses/UA5_1987_S1640666.cc	Fri Dec  3 01:04:38 2010	(r2811)
@@ -53,7 +53,7 @@
     /// Normalise histograms etc., after the run
     void finalize() {
       
-      scale(_hist_nch, _sumWPassed);
+      scale(_hist_nch, 1.0/_sumWPassed);
       scale(_hist_mean_nch, 1.0/_sumWPassed);
       
     }

Modified: trunk/src/Analyses/UA5_1989_S1926373.cc
==============================================================================
--- trunk/src/Analyses/UA5_1989_S1926373.cc	Thu Dec  2 19:53:50 2010	(r2810)
+++ trunk/src/Analyses/UA5_1989_S1926373.cc	Fri Dec  3 01:04:38 2010	(r2811)
@@ -77,11 +77,11 @@
 
 
     void finalize() {
-      scale(_hist_nch, _sumWPassed);
-      scale(_hist_nch_eta05, _sumWPassed);
-      scale(_hist_nch_eta15, _sumWPassed);
-      scale(_hist_nch_eta30, _sumWPassed);
-      scale(_hist_nch_eta50, _sumWPassed);
+      scale(_hist_nch, 1.0/_sumWPassed);
+      scale(_hist_nch_eta05, 1.0/_sumWPassed);
+      scale(_hist_nch_eta15, 1.0/_sumWPassed);
+      scale(_hist_nch_eta30, 1.0/_sumWPassed);
+      scale(_hist_nch_eta50, 1.0/_sumWPassed);
       scale(_hist_mean_nch, 1.0/_sumWPassed);
     }
 


More information about the Rivet-svn mailing list