|
[Rivet-svn] r3630 - trunk/src/Projectionsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Mar 19 22:58:31 GMT 2012
Author: buckley Date: Mon Mar 19 22:58:31 2012 New Revision: 3630 Log: Fix compiler error Modified: trunk/src/Projections/UnstableFinalState.cc Modified: trunk/src/Projections/UnstableFinalState.cc ============================================================================== --- trunk/src/Projections/UnstableFinalState.cc Mon Mar 19 17:38:55 2012 (r3629) +++ trunk/src/Projections/UnstableFinalState.cc Mon Mar 19 22:58:31 2012 (r3630) @@ -31,10 +31,10 @@ foreach (GenParticle* p, Rivet::particles(e.genEvent())) { const int st = p->status(); bool passed = - (st == 1 || (st == 2 && find(vetoIds.begin(), vetoIds.end(), abs(p->pdg_id())) == vetoIds.end()) && - !IS_PARTON_PDGID(p->pdg_id()) && //< Always veto partons? - !isZero(p->momentum().perp()) && p->momentum().perp() >= _ptmin && - p->momentum().eta() > etamin && p->momentum().eta() < etamax); + (st == 1 || (st == 2 && find(vetoIds.begin(), vetoIds.end(), abs(p->pdg_id())) == vetoIds.end())) && + !IS_PARTON_PDGID(p->pdg_id()) && //< Always veto partons? + !isZero(p->momentum().perp()) && p->momentum().perp() >= _ptmin && + inRange(p->momentum().eta(), etamin, etamax); // Avoid double counting by re-marking as unpassed if particle ID == parent ID const GenVertex* pv = p->production_vertex();
More information about the Rivet-svn mailing list |