[Rivet-svn] r2406 - in trunk: . src/Analyses

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Apr 21 15:12:09 BST 2010


Author: hoeth
Date: Wed Apr 21 15:12:08 2010
New Revision: 2406

Log:
fix normalisation in CDF_2000_S4155203 (thanks to Peter Richardson)

Modified:
   trunk/ChangeLog
   trunk/src/Analyses/CDF_2000_S4155203.cc

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	Wed Apr 21 14:57:56 2010	(r2405)
+++ trunk/ChangeLog	Wed Apr 21 15:12:08 2010	(r2406)
@@ -1,3 +1,8 @@
+2010-04-21  Hendrik Hoeth <hendrik.hoeth at cern.ch>
+
+	* remove obsolete reference to InitialQuarks from DELPHI_2002
+	* fix normalisation in CDF_2000_S4155203
+
 2010-04-20  Hendrik Hoeth <hendrik.hoeth at cern.ch>
 
 	* bin/make-plots: real support for 2-dim histograms plotted as

Modified: trunk/src/Analyses/CDF_2000_S4155203.cc
==============================================================================
--- trunk/src/Analyses/CDF_2000_S4155203.cc	Wed Apr 21 14:57:56 2010	(r2405)
+++ trunk/src/Analyses/CDF_2000_S4155203.cc	Wed Apr 21 15:12:08 2010	(r2406)
@@ -18,8 +18,7 @@
 
     /// Constructor
     CDF_2000_S4155203()
-      : Analysis("CDF_2000_S4155203"),
-        _sumWeightSelected(0.0)
+      : Analysis("CDF_2000_S4155203")
     {
       setBeams(PROTON, ANTIPROTON);
       setNeedsCrossSection(true);
@@ -51,12 +50,11 @@
       getLog() << Log::DEBUG << "Dilepton mass = " << pZ.mass()/GeV << " GeV"  << endl;
       getLog() << Log::DEBUG << "Dilepton pT   = " << pZ.pT()/GeV << " GeV" << endl;
       _hist_zpt->fill(pZ.pT()/GeV, e.weight());
-      _sumWeightSelected += e.weight();
     }
  
  
     void finalize() {
-      scale(_hist_zpt, crossSection()/picobarn/_sumWeightSelected);
+      scale(_hist_zpt, crossSection()/picobarn/sumOfWeights());
     }
  
     //@}
@@ -64,8 +62,6 @@
 
   private:
 
-    double _sumWeightSelected;
-
     AIDA::IHistogram1D *_hist_zpt;
 
   };


More information about the Rivet-svn mailing list