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