|
[Rivet-svn] r2461 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed May 19 08:07:13 BST 2010
Author: fsiegert Date: Wed May 19 10:24:35 2010 New Revision: 2461 Log: minor fixes for CDF_1993_S2742446, still not validated. Modified: trunk/src/Analyses/CDF_1993_S2742446.cc Modified: trunk/src/Analyses/CDF_1993_S2742446.cc ============================================================================== --- trunk/src/Analyses/CDF_1993_S2742446.cc Tue May 18 18:57:01 2010 (r2460) +++ trunk/src/Analyses/CDF_1993_S2742446.cc Wed May 19 10:24:35 2010 (r2461) @@ -72,12 +72,12 @@ // sum all jets in the opposite hemisphere in phi from the photon FourMomentum jetsum; foreach (const Jet& jet, applyProjection<FastJets>(event, "Jets").jets(10.0*GeV)) { - if (jet.momentum().phi()-phi_P > M_PI) { + if (fabs(jet.momentum().phi()-phi_P) > M_PI) { jetsum+=jet.momentum(); } } - double costheta = fabs(tanh((jetsum.eta()-eta_P)/2.0)); + double costheta = fabs(tanh((eta_P-jetsum.eta())/2.0)); _h_costheta->fill(costheta, weight);
More information about the Rivet-svn mailing list |