Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4VHadDecayAlgorithm.hh>
Public Member Functions | |
G4VHadDecayAlgorithm (const G4String &algName, G4int verbose=0) | |
virtual | ~G4VHadDecayAlgorithm () |
void | Generate (G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState) |
virtual void | SetVerboseLevel (G4int verbose) |
G4int | GetVerboseLevel () const |
const G4String & | GetName () const |
Protected Member Functions | |
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 |
Definition at line 42 of file G4VHadDecayAlgorithm.hh.
Definition at line 44 of file G4VHadDecayAlgorithm.hh.
|
inlinevirtual |
Definition at line 46 of file G4VHadDecayAlgorithm.hh.
void G4VHadDecayAlgorithm::Generate | ( | G4double | initialMass, |
const std::vector< G4double > & | masses, | ||
std::vector< G4LorentzVector > & | finalState ) |
Definition at line 48 of file G4VHadDecayAlgorithm.cc.
Referenced by G4HadDecayGenerator::Generate().
|
protectedpure virtual |
Implemented in G4CascadeFinalStateAlgorithm, G4HadPhaseSpaceGenbod, G4HadPhaseSpaceKopylov, and G4HadPhaseSpaceNBodyAsai.
Referenced by Generate().
|
protectedpure virtual |
Implemented in G4CascadeFinalStateAlgorithm, and G4VHadPhaseSpaceAlgorithm.
Referenced by Generate().
|
inline |
Definition at line 56 of file G4VHadDecayAlgorithm.hh.
Referenced by G4HadPhaseSpaceGenbod::AcceptEvent(), G4HadPhaseSpaceGenbod::AccumulateFinalState(), G4CascadeFinalStateAlgorithm::ChooseGenerators(), G4HadPhaseSpaceGenbod::ComputeWeight(), G4HadPhaseSpaceGenbod::ComputeWeightScale(), G4CascadeFinalStateAlgorithm::Configure(), G4CascadeFinalStateAlgorithm::FillDirections(), G4CascadeFinalStateAlgorithm::FillDirManyBody(), G4CascadeFinalStateAlgorithm::FillDirThreeBody(), G4HadPhaseSpaceGenbod::FillEnergySteps(), G4CascadeFinalStateAlgorithm::FillMagnitudes(), G4HadPhaseSpaceGenbod::FillRandomBuffer(), G4CascadeFinalStateAlgorithm::FillUsingKopylov(), G4HadDecayGenerator::G4HadDecayGenerator(), G4HadDecayGenerator::G4HadDecayGenerator(), Generate(), G4CascadeFinalStateAlgorithm::GenerateCosTheta(), G4HadPhaseSpaceGenbod::GenerateMomenta(), G4CascadeFinalStateAlgorithm::GenerateMultiBody(), G4HadPhaseSpaceGenbod::GenerateMultiBody(), G4HadPhaseSpaceKopylov::GenerateMultiBody(), G4HadPhaseSpaceNBodyAsai::GenerateMultiBody(), G4CascadeFinalStateAlgorithm::GenerateTwoBody(), G4HadDecayGenerator::GetAlgorithmName(), G4HadPhaseSpaceGenbod::Initialize(), IsDecayAllowed(), G4CascadeFinalStateAlgorithm::satisfyTriangle(), G4CascadeFinalStateAlgorithm::SaveKinematics(), and TwoBodyMomentum().
|
inline |
Definition at line 55 of file G4VHadDecayAlgorithm.hh.
Referenced by G4HadPhaseSpaceGenbod::AcceptEvent(), G4HadPhaseSpaceGenbod::AccumulateFinalState(), G4CascadeFinalStateAlgorithm::ChooseGenerators(), G4HadPhaseSpaceGenbod::ComputeWeight(), G4HadPhaseSpaceGenbod::ComputeWeightScale(), G4CascadeFinalStateAlgorithm::Configure(), G4CascadeFinalStateAlgorithm::FillDirections(), G4CascadeFinalStateAlgorithm::FillDirManyBody(), G4CascadeFinalStateAlgorithm::FillDirThreeBody(), G4HadPhaseSpaceGenbod::FillEnergySteps(), G4CascadeFinalStateAlgorithm::FillMagnitudes(), G4HadPhaseSpaceGenbod::FillRandomBuffer(), G4CascadeFinalStateAlgorithm::FillUsingKopylov(), G4CascadeFinalStateAlgorithm::GenerateCosTheta(), G4HadPhaseSpaceGenbod::GenerateMomenta(), G4CascadeFinalStateAlgorithm::GenerateMultiBody(), G4HadPhaseSpaceGenbod::GenerateMultiBody(), G4HadPhaseSpaceKopylov::GenerateMultiBody(), G4HadPhaseSpaceNBodyAsai::GenerateMultiBody(), G4CascadeFinalStateAlgorithm::GenerateTwoBody(), G4VHadPhaseSpaceAlgorithm::GenerateTwoBody(), G4HadPhaseSpaceGenbod::Initialize(), G4CascadeFinalStateAlgorithm::satisfyTriangle(), and G4CascadeFinalStateAlgorithm::SaveKinematics().
|
protectedvirtual |
Definition at line 67 of file G4VHadDecayAlgorithm.cc.
Referenced by Generate().
|
protected |
Definition at line 121 of file G4VHadDecayAlgorithm.cc.
Referenced by G4HadPhaseSpaceGenbod::FillEnergySteps(), G4HadPhaseSpaceGenbod::FillRandomBuffer(), G4HadPhaseSpaceNBodyAsai::GenerateMultiBody(), G4HadPhaseSpaceGenbod::Initialize(), and IsDecayAllowed().
|
inlinevirtual |
Reimplemented in G4CascadeFinalStateAlgorithm.
Definition at line 54 of file G4VHadDecayAlgorithm.hh.
Referenced by G4CascadeFinalStateAlgorithm::SetVerboseLevel(), and G4HadDecayGenerator::SetVerboseLevel().
|
protected |
Definition at line 90 of file G4VHadDecayAlgorithm.cc.
Referenced by G4HadPhaseSpaceGenbod::ComputeWeightScale(), G4HadPhaseSpaceGenbod::FillEnergySteps(), G4CascadeFinalStateAlgorithm::FillUsingKopylov(), G4HadPhaseSpaceKopylov::GenerateMultiBody(), G4HadPhaseSpaceNBodyAsai::GenerateMultiBody(), G4CascadeFinalStateAlgorithm::GenerateTwoBody(), and G4VHadPhaseSpaceAlgorithm::GenerateTwoBody().
|
protected |
Definition at line 114 of file G4VHadDecayAlgorithm.cc.
Referenced by G4CascadeFinalStateAlgorithm::FillUsingKopylov(), G4CascadeFinalStateAlgorithm::GenerateTwoBody(), and G4VHadPhaseSpaceAlgorithm::UniformVector().
|
protected |
Definition at line 110 of file G4VHadDecayAlgorithm.cc.
Referenced by G4CascadeFinalStateAlgorithm::FillUsingKopylov(), and G4VHadPhaseSpaceAlgorithm::UniformVector().