89 if (pWeight == 0.)
throw G4HadronicException(__FILE__, __LINE__,
"G4VXResonance::IsospinCorrection, no resonances - pWeight is zero");
97 G4double factor = degeneracyFactor * pWeight;
103 isoProton,isoProton);
109 result = rWeight / pWeight;
115 result = weight / pWeight;
139 throw G4HadronicException(__FILE__, __LINE__,
"Detailed balance for resonance scattering still on the schedule.");
163 G4double pinitial2 = (S - (m_1+m_2) * (m_1+m_2)) * (S - (m_1-m_2) * (m_1-m_2)) / (4.0*
S);
164 G4double pfinal2 = (S - (mOut1+mOut2) * (mOut1+mOut2)) * (S - ( mOut1-mOut2) * (mOut1-mOut2)) / (4.0*
S);
165 G4double relativeMomsquared = pfinal2/pinitial2;
179 result = factor * relativeMomsquared;
201 value = (iSpinOut1+1) * (iSpinOut2+1) /
denom;