#include <G4VHadPhaseSpaceAlgorithm.hh>
|
virtual void | GenerateTwoBody (G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState) |
|
G4ThreeVector | UniformVector (G4double mag=1.) const |
|
virtual void | GenerateTwoBody (G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)=0 |
|
virtual void | GenerateMultiBody (G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)=0 |
|
virtual G4bool | IsDecayAllowed (G4double initialMass, const std::vector< G4double > &masses) const |
|
G4double | TwoBodyMomentum (G4double M0, G4double M1, G4double M2) const |
|
G4double | UniformTheta () const |
|
G4double | UniformPhi () const |
|
void | PrintVector (const std::vector< G4double > &v, const G4String &name, std::ostream &os) const |
|
◆ 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 50 of file G4VHadPhaseSpaceAlgorithm.cc.
53 {
55 G4cout <<
" >>> G4HadDecayGenerator::FillTwoBody" <<
G4endl;
56
57
58 finalState.clear();
59 if (masses.size() != 2U) return;
60
61
64
65 finalState.resize(2);
67 finalState[1].setVectM(-finalState[0].vect(), masses[1]);
68}
G4GLOB_DLL std::ostream G4cout
G4int GetVerboseLevel() const
G4double TwoBodyMomentum(G4double M0, G4double M1, G4double M2) const
G4ThreeVector UniformVector(G4double mag=1.) const
◆ UniformVector()
The documentation for this class was generated from the following files: