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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Apr 4 15:39:29 BST 2012


Author: richardn
Date: Wed Apr  4 15:39:29 2012
New Revision: 3660

Log:
fix to get scaling of histograms right

Modified:
   trunk/src/Analyses/ATLAS_2011_S8983313.cc

Modified: trunk/src/Analyses/ATLAS_2011_S8983313.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2011_S8983313.cc	Wed Apr  4 15:38:36 2012	(r3659)
+++ trunk/src/Analyses/ATLAS_2011_S8983313.cc	Wed Apr  4 15:39:29 2012	(r3660)
@@ -304,7 +304,14 @@
 
     //@}
 
-    void finalize() {}
+    void finalize() {
+
+      double norm = crossSection()/picobarn*35.0/sumOfWeights();
+      scale(_hist_meff_A ,100.*norm);
+      scale(_hist_mT2_B  ,100.*norm);
+      scale(_hist_meff_CD, 40.*norm);
+      scale(_hist_eTmiss , 50.*norm);
+    }
 
 
   private:


More information about the Rivet-svn mailing list