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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Sep 2 21:21:31 BST 2010


Author: fsiegert
Date: Thu Sep  2 21:21:30 2010
New Revision: 2692

Log:
Now I know why my deta and dR histos were never properly normalised.

Modified:
   trunk/src/Analyses/MC_JetAnalysis.cc

Modified: trunk/src/Analyses/MC_JetAnalysis.cc
==============================================================================
--- trunk/src/Analyses/MC_JetAnalysis.cc	Thu Sep  2 11:29:00 2010	(r2691)
+++ trunk/src/Analyses/MC_JetAnalysis.cc	Thu Sep  2 21:21:30 2010	(r2692)
@@ -206,10 +206,10 @@
 
     // Scale the d{eta,R} histograms
     map<pair<size_t, size_t>, AIDA::IHistogram1D*>::iterator it;
-    for (it = _h_deta_jets.begin(); it != _h_deta_jets.begin(); ++it) {
+    for (it = _h_deta_jets.begin(); it != _h_deta_jets.end(); ++it) {
       scale(it->second, crossSection()/sumOfWeights());
     }
-    for (it = _h_dR_jets.begin(); it != _h_dR_jets.begin(); ++it) {
+    for (it = _h_dR_jets.begin(); it != _h_dR_jets.end(); ++it) {
       scale(it->second, crossSection()/sumOfWeights());
     }
 


More information about the Rivet-svn mailing list