|
[Rivet-svn] r2279 - trunk/src/Analysesblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Mar 1 16:26:23 GMT 2010
Author: hoeth Date: Mon Mar 1 16:26:23 2010 New Revision: 2279 Log: fixed segfault in UA1_1990_S2044935 (we filled a non-existing histogram at 500 GeV) Modified: trunk/src/Analyses/UA1_1990_S2044935.cc Modified: trunk/src/Analyses/UA1_1990_S2044935.cc ============================================================================== --- trunk/src/Analyses/UA1_1990_S2044935.cc Mon Mar 1 15:32:37 2010 (r2278) +++ trunk/src/Analyses/UA1_1990_S2044935.cc Mon Mar 1 16:26:23 2010 (r2279) @@ -93,7 +93,9 @@ /// @todo Use pion-mass trick (see CDF 2009) for eta -> y in d3sig/dp3? const double pt = p.momentum().pT(); const double scaled_weight = weight/(deta*dphi*pt/GeV); - _hist_Pt->fill(nch, pt/GeV, weight); + if (!fuzzyEquals(sqrtS()/GeV, 500, 1E-3)) { + _hist_Pt->fill(nch, pt/GeV, weight); + } if (!fuzzyEquals(sqrtS()/GeV, 63, 1E-3)) { _hist_Esigd3p->fill(pt/GeV, scaled_weight); }
More information about the Rivet-svn mailing list |