34 #define INCLXX_IN_GEANT4_MODE 1
52 : particle1(p1), particle2(p2)
65 G4int available_iso = 0;
85 G4int nbr_particle = 2;
94 else if((iso == 0 && rdm < 0.55) || rdm < 0.5){
111 available_iso += nbr_pions*2;
112 nbr_particle += nbr_pions;
126 G4bool pim_p = (!pip_p && !piz_p);
128 for(
Int_t i=0; i<nbr_pions; i++){
130 if(available_iso-
std::abs(iso-iso_system) >= 4){
132 if((pip_p && rdm < 0.54) || (piz_p && rdm < 0.32) || (pim_p && rdm < 0.45)){
137 else if((pip_p && rdm < 0.80) || (piz_p && rdm < 0.77) || (pim_p && rdm < 0.82)){
147 else if(available_iso-
std::abs(iso-iso_system) == 2){
161 else if(available_iso-
std::abs(iso-iso_system) == 0){
166 else INCL_ERROR(
"Pion Generation Problem in NpiToMissingStrangenessChannel" <<
'\n');
167 list.push_back(pion);
174 else if(min_pions == 1){
182 else if(
std::abs(iso-iso_system) == 1){
188 else INCL_ERROR(
"Isospin non-conservation in NNToMissingStrangenessChannel" <<
'\n');
189 list.push_back(antikaon);
198 else if(
std::abs(iso-iso_system) == 1){
200 if((pip_p && rdm < 0.73) || (piz_p && rdm < 0.32) || (pim_p && rdm < 0.45)){
209 else INCL_ERROR(
"Isospin non-conservation in NNToMissingStrangenessChannel" <<
'\n');
212 list.push_back(pion_initial);
213 list.push_back(nucleon_initial);