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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Feb 14 16:39:15 GMT 2012


Author: hoeth
Date: Tue Feb 14 16:39:15 2012
New Revision: 3558

Log:
fix DELPHI_1996 rapidity plots

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

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	Tue Feb 14 16:36:33 2012	(r3557)
+++ trunk/ChangeLog	Tue Feb 14 16:39:15 2012	(r3558)
@@ -1,3 +1,7 @@
+2012-02-14  Hendrik Hoeth <hendrik.hoeth at cern.ch>
+
+	* DELPHI_1996_S3430090: fix rapidity vs {Thrust,Sphericity}-axis.
+
 2012-02-14  Andy Buckley  <andy.buckley at cern.ch>
 
 	* bin/rivet: Remove the conversion of requested analysis names to

Modified: trunk/src/Analyses/DELPHI_1996_S3430090.cc
==============================================================================
--- trunk/src/Analyses/DELPHI_1996_S3430090.cc	Tue Feb 14 16:36:33 2012	(r3557)
+++ trunk/src/Analyses/DELPHI_1996_S3430090.cc	Tue Feb 14 16:39:15 2012	(r3558)
@@ -251,8 +251,8 @@
         // Calculate rapidities w.r.t. thrust and sphericity.
         const double rapidityT = 0.5 * std::log((energy + momT) / (energy - momT));
         const double rapidityS = 0.5 * std::log((energy + momS) / (energy - momS));
-        _histRapidityT->fill(rapidityT, weight);
-        _histRapidityS->fill(rapidityS, weight);
+        _histRapidityT->fill(fabs(rapidityT), weight);
+        _histRapidityS->fill(fabs(rapidityS), weight);
         MSG_TRACE(fabs(rapidityT) << " " << scaledMom/GeV);
       }
       Evis2 = Evis*Evis;


More information about the Rivet-svn mailing list