#include <G4VHadPhaseSpaceAlgorithm.hh>
◆ G4VHadPhaseSpaceAlgorithm()
G4VHadPhaseSpaceAlgorithm::G4VHadPhaseSpaceAlgorithm |
( |
const G4String & |
algName, |
|
|
G4int |
verbose = 0 |
|
) |
| |
|
inline |
◆ ~G4VHadPhaseSpaceAlgorithm()
virtual G4VHadPhaseSpaceAlgorithm::~G4VHadPhaseSpaceAlgorithm |
( |
| ) |
|
|
inlinevirtual |
◆ GenerateTwoBody()
void G4VHadPhaseSpaceAlgorithm::GenerateTwoBody |
( |
G4double |
initialMass, |
|
|
const std::vector< G4double > & |
masses, |
|
|
std::vector< G4LorentzVector > & |
finalState |
|
) |
| |
|
protectedvirtual |
Implements G4VHadDecayAlgorithm.
Definition at line 52 of file G4VHadPhaseSpaceAlgorithm.cc.
56 G4cout <<
" >>> G4HadDecayGenerator::FillTwoBody" <<
G4endl;
60 if (masses.size() != 2U)
return;
68 finalState[1].setVectM(-finalState[0].vect(), masses[1]);
G4ThreeVector UniformVector(G4double mag=1.) const
G4GLOB_DLL std::ostream G4cout
G4int GetVerboseLevel() const
G4double TwoBodyMomentum(G4double M0, G4double M1, G4double M2) const
◆ UniformVector()
Definition at line 74 of file G4VHadPhaseSpaceAlgorithm.cc.
G4double UniformPhi() const
void setRThetaPhi(double r, double theta, double phi)
G4double UniformTheta() const
The documentation for this class was generated from the following files: