#include <G4HadDecayGenerator.hh>
Definition at line 50 of file G4HadDecayGenerator.hh.
Definition at line 56 of file G4HadDecayGenerator.cc.
67 G4cout <<
" >>> G4HadDecayGenerator";
void ReportInvalidAlgorithm(Algorithm alg) const
G4VHadDecayAlgorithm * theAlgorithm
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
Definition at line 73 of file G4HadDecayGenerator.cc.
77 G4cout <<
" >>> G4HadDecayGenerator";
G4VHadDecayAlgorithm * theAlgorithm
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
G4HadDecayGenerator::~G4HadDecayGenerator |
( |
| ) |
|
|
virtual |
Definition at line 121 of file G4HadDecayGenerator.cc.
125 G4cout <<
" >>> G4HadDecayGenerator::Generate (mass)" <<
G4endl;
129 if (masses.size() == 1U)
133 return !finalState.empty();
G4bool GenerateOneBody(G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState) const
G4VHadDecayAlgorithm * theAlgorithm
G4GLOB_DLL std::ostream G4cout
void Generate(G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)
void ReportMissingAlgorithm() const
Definition at line 139 of file G4HadDecayGenerator.cc.
143 G4cout <<
" >>> G4HadDecayGenerator::Generate (particle)" <<
G4endl;
G4bool Generate(G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)
G4GLOB_DLL std::ostream G4cout
G4double GetPDGMass() const
Definition at line 151 of file G4HadDecayGenerator.cc.
155 G4cout <<
" >>> G4HadDecayGenerator::Generate (frame)" <<
G4endl;
160 for (
size_t i=0; i<finalState.size(); i++) {
161 finalState[i].boost(bv);
Hep3Vector boostVector() const
G4bool Generate(G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)
G4GLOB_DLL std::ostream G4cout
Definition at line 172 of file G4HadDecayGenerator.cc.
176 G4cout <<
" >>> G4HadDecayGenerator::GenerateOneBody" <<
G4endl;
181 if (masses.size() != 1U)
return false;
182 if (std::fabs(initialMass-masses[0]) >
eV)
return false;
G4GLOB_DLL std::ostream G4cout
static constexpr double eV
CLHEP::HepLorentzVector G4LorentzVector
const G4String & G4HadDecayGenerator::GetAlgorithmName |
( |
| ) |
const |
Definition at line 112 of file G4HadDecayGenerator.cc.
113 static const G4String& none =
"NONE";
G4VHadDecayAlgorithm * theAlgorithm
const G4String & GetName() const
void G4HadDecayGenerator::ReportInvalidAlgorithm |
( |
Algorithm |
alg | ) |
const |
|
protected |
void G4HadDecayGenerator::ReportMissingAlgorithm |
( |
| ) |
const |
|
protected |
void G4HadDecayGenerator::SetVerboseLevel |
( |
G4int |
verbose | ) |
|
Definition at line 107 of file G4HadDecayGenerator.cc.
G4VHadDecayAlgorithm * theAlgorithm
virtual void SetVerboseLevel(G4int verbose)
G4int G4HadDecayGenerator::verboseLevel |
|
protected |
The documentation for this class was generated from the following files: