65 if ( products != NULL )
70 for (
G4int j = 0; j <
int( products->size() ); j++ )
72 G4int jZ = (*products)[j].Z;
73 G4int jA = (*products)[j].A;
82 if ( jZ == iZ + ipZ && jA == iA + ipA ) needResidual =
false;
84 G4ThreeVector dp((*products)[j].px,(*products)[j].py,(*products)[j].pz);
89 if ( jA == 1 && jZ == 1 ) {
93 else if ( jA == 1 && jZ == 0 )
138 G4FragmentVector::iterator
it;
140 for (it = products_from_PE->begin(); it != products_from_PE->end(); it++)
142 if ( (*it)->GetZ_asInt() == iZ + ipZ && (*it)->GetA_asInt() == iA + ipA ) needResidual =
false;
144 if ( (*it)->GetParticleDefinition() != NULL ) {
155 delete products_from_PE;
159 if ( needResidual ) {