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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Oct 4 06:37:53 BST 2011


Author: richardn
Date: Tue Oct  4 06:37:52 2011
New Revision: 3404

Log:
fix sign of eta and xf

Modified:
   trunk/src/Analyses/H1_1994_S2919893.cc

Modified: trunk/src/Analyses/H1_1994_S2919893.cc
==============================================================================
--- trunk/src/Analyses/H1_1994_S2919893.cc	Fri Sep 30 13:35:47 2011	(r3403)
+++ trunk/src/Analyses/H1_1994_S2919893.cc	Tue Oct  4 06:37:52 2011	(r3404)
@@ -99,7 +99,7 @@
 
         // Energy flow histogram
         double et = fabs(Et(hcmMom));
-        double eta = -hcmMom.pseudorapidity();
+        double eta = hcmMom.pseudorapidity();
         if (x < 1e-3) {
           _histEnergyFlowLowX ->fill(eta, et*weight);
         } else {
@@ -108,7 +108,7 @@
         if (PID::threeCharge(p.pdgId()) != 0) {
           /// @todo Use units in w comparisons... what are the units?
           if (w > 50. && w <= 200.) {
-            double xf= -2 * hcmMom.z() / w;
+            double xf= 2 * hcmMom.z() / w;
             double pt2 = pT2(hcmMom);
             if (w > 50. && w <= 100.) {
               _histSpectraW77 ->fill(xf, weight);


More information about the Rivet-svn mailing list