40#ifndef G4FermiPhaseSpaceDecay_hh
41#define G4FermiPhaseSpaceDecay_hh 1
58 inline std::vector<G4LorentzVector*> *
69 std::vector<G4LorentzVector*> *
70 TwoBodyDecay(
G4double,
const std::vector<G4double>&)
const;
72 std::vector<G4LorentzVector*> *
73 NBodyDecay(
G4double,
const std::vector<G4double>&)
const;
75 std::vector<G4LorentzVector*> *
76 KopylovNBodyDecay(
G4double,
const std::vector<G4double>&)
const;
92 G4double P = (E+P1+P2)*(E+P1-P2)*(E-P1+P2)*(E-P1-P2)/(4.0*E*E);
93 if (P>0.0) { res = std::sqrt(P); }
94 else { DumpProblem(E,P1,P2,P); }
99Decay(
G4double parent_mass,
const std::vector<G4double>& fragment_masses)
const
101 return KopylovNBodyDecay(parent_mass,fragment_masses);
104inline G4double G4FermiPhaseSpaceDecay::BetaKopylov(
G4int K)
const
111 G4double Fmax = std::sqrt(g4pow->
powN(xN/(xN + 1),N)/(xN + 1));
115 F = std::sqrt(g4pow->
powN(chi,N)*(1-chi));
121G4FermiPhaseSpaceDecay::IsotropicVector(
G4double Magnitude)
const
126 G4double SinTheta = std::sqrt((1. - CosTheta)*(1. + CosTheta));
129 Magnitude*std::sin(Phi)*SinTheta,
std::vector< G4LorentzVector * > * Decay(const G4double, const std::vector< G4double > &) const
~G4FermiPhaseSpaceDecay()
G4double powN(G4double x, G4int n)