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;
G4double GetPhaseSpaceIntegral(G4double sqrts)
G4int GetPDGiIsospin() const
const G4LorentzVector & Get4Momentum() const
G4int GetPDGiIsospin3() const
G4double DetailedBalance(const G4KineticTrack &trk1, const G4KineticTrack &trk2, G4int isoOut1, G4int isoOut2, G4double iSpinOut1, G4double iSpinOut2, G4double mOut1, G4double mOut2) const
static G4double Weight(G4int twoJ1, G4int twoM1, G4int twoJ2, G4int twoM2, G4int twoJOut1, G4int twoJOut2)
G4int GetPDGiSpin() const
const G4ParticleDefinition * GetDefinition() const
G4double GetPDGMass() const
G4bool operator==(const G4VXResonance &right) const
const XML_Char int const XML_Char * value
static G4Proton * ProtonDefinition()
G4bool operator!=(const G4VXResonance &right) const
static std::vector< G4double > GenerateIso3(G4int twoJ1, G4int twoM1, G4int twoJ2, G4int twoM2, G4int twoJOut1, G4int twoJOut2)
G4double G4ParticleHPJENDLHEData::G4double result
G4double IsospinCorrection(const G4KineticTrack &trk1, const G4KineticTrack &trk2, G4int isoOut1, G4int isoOut2, G4double iSpinOut1, G4double iSpinOut2) const
G4bool IsShortLived() const
static const G4double degeneracy
G4double DegeneracyFactor(const G4KineticTrack &trk1, const G4KineticTrack &trk2, G4double iSpinOut1, G4double iSpinOut2) const