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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Aug 19 12:42:02 BST 2009


Author: holsch
Date: Wed Aug 19 12:42:02 2009
New Revision: 1765

Log:
Fix weights in fill method and comment it, plot look fine now.

Modified:
   trunk/src/Analyses/CDF_1988_S1865951.cc

Modified: trunk/src/Analyses/CDF_1988_S1865951.cc
==============================================================================
--- trunk/src/Analyses/CDF_1988_S1865951.cc	Tue Aug 18 23:19:13 2009	(r1764)
+++ trunk/src/Analyses/CDF_1988_S1865951.cc	Wed Aug 19 12:42:02 2009	(r1765)
@@ -65,11 +65,12 @@
         double pt = p.momentum().pT();
         if (fuzzyEquals(sqrtS, 630/GeV))
         {
-          _hist_pt630->fill(pt, weight/(10.*M_PI*pt));
+          // weight / ( Delta eta * 2pi * pt ) with Delta eta = 2
+          _hist_pt630->fill(pt, weight/(2.*2.*M_PI*pt));
         }
         else if (fuzzyEquals(sqrtS, 1800/GeV))
         {
-          _hist_pt1800->fill(pt, weight/(10.*M_PI*pt));
+          _hist_pt1800->fill(pt, weight/(2.*2.*M_PI*pt));
         }
       
       }


More information about the Rivet-svn mailing list