53 const std::vector<G4double>& masses,
54 std::vector<G4LorentzVector>& finalState) {
56 G4cout <<
" >>> G4HadDecayGenerator::FillTwoBody" <<
G4endl;
60 if (masses.size() != 2U)
return;
68 finalState[1].setVectM(-finalState[0].vect(), masses[1]);
G4double UniformTheta() const
G4int GetVerboseLevel() const
G4GLOB_DLL std::ostream G4cout
void setRThetaPhi(double r, double theta, double phi)
virtual void GenerateTwoBody(G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)
G4double UniformPhi() const
G4double TwoBodyMomentum(G4double M0, G4double M1, G4double M2) const
G4ThreeVector UniformVector(G4double mag=1.) const