|
[Rivet-svn] r4223 - branches/2012-06-aidarivet/src/Projectionsblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Mar 13 11:57:12 GMT 2013
Author: richardn Date: Wed Mar 13 11:57:12 2013 New Revision: 4223 Log: fix for chains of identical particles, needed for current Hw++ output which looks correct, hopefully doesn't break anything Modified: branches/2012-06-aidarivet/src/Projections/UnstableFinalState.cc Modified: branches/2012-06-aidarivet/src/Projections/UnstableFinalState.cc ============================================================================== --- branches/2012-06-aidarivet/src/Projections/UnstableFinalState.cc Tue Mar 12 15:38:32 2013 (r4222) +++ branches/2012-06-aidarivet/src/Projections/UnstableFinalState.cc Wed Mar 13 11:57:12 2013 (r4223) @@ -42,7 +42,7 @@ if (passed && pv) { for (GenVertex::particles_in_const_iterator pp = pv->particles_in_const_begin() ; pp != pv->particles_in_const_end() ; ++pp) { - if ( p->pdg_id() == (*pp)->pdg_id() ) { + if ( p->pdg_id() == (*pp)->pdg_id() && (*pp)->status() == 2 ) { passed = false; break; }
More information about the Rivet-svn mailing list |