Geant4-11
|
#include <G4VHadPhaseSpaceAlgorithm.hh>
Public Member Functions | |
G4VHadPhaseSpaceAlgorithm (const G4String &algName, G4int verbose=0) | |
void | Generate (G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState) |
const G4String & | GetName () const |
G4int | GetVerboseLevel () const |
virtual void | SetVerboseLevel (G4int verbose) |
virtual | ~G4VHadPhaseSpaceAlgorithm () |
Protected Member Functions | |
virtual void | GenerateMultiBody (G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState)=0 |
virtual void | GenerateTwoBody (G4double initialMass, const std::vector< G4double > &masses, std::vector< G4LorentzVector > &finalState) |
virtual G4bool | IsDecayAllowed (G4double initialMass, const std::vector< G4double > &masses) const |
void | PrintVector (const std::vector< G4double > &v, const G4String &name, std::ostream &os) const |
G4double | TwoBodyMomentum (G4double M0, G4double M1, G4double M2) const |
G4double | UniformPhi () const |
G4double | UniformTheta () const |
G4ThreeVector | UniformVector (G4double mag=1.) const |
Private Attributes | |
G4String | name |
G4int | verboseLevel |
Definition at line 43 of file G4VHadPhaseSpaceAlgorithm.hh.
|
inline |
Definition at line 45 of file G4VHadPhaseSpaceAlgorithm.hh.
|
inlinevirtual |
Definition at line 47 of file G4VHadPhaseSpaceAlgorithm.hh.
|
inherited |
Definition at line 48 of file G4VHadDecayAlgorithm.cc.
References G4cout, G4endl, G4VHadDecayAlgorithm::GenerateMultiBody(), G4VHadDecayAlgorithm::GenerateTwoBody(), G4VHadDecayAlgorithm::GetName(), G4VHadDecayAlgorithm::IsDecayAllowed(), and G4VHadDecayAlgorithm::verboseLevel.
Referenced by G4HadDecayGenerator::Generate().
|
protectedpure virtualinherited |
Implemented in G4CascadeFinalStateAlgorithm, G4HadPhaseSpaceGenbod, G4HadPhaseSpaceKopylov, and G4HadPhaseSpaceNBodyAsai.
Referenced by G4VHadDecayAlgorithm::Generate().
|
protectedvirtual |
Implements G4VHadDecayAlgorithm.
Definition at line 50 of file G4VHadPhaseSpaceAlgorithm.cc.
References G4cout, G4endl, G4VHadDecayAlgorithm::GetVerboseLevel(), G4VHadDecayAlgorithm::TwoBodyMomentum(), and UniformVector().
|
inlineinherited |
Definition at line 56 of file G4VHadDecayAlgorithm.hh.
References G4VHadDecayAlgorithm::name.
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(), G4VHadDecayAlgorithm::Generate(), G4CascadeFinalStateAlgorithm::GenerateCosTheta(), G4HadPhaseSpaceGenbod::GenerateMomenta(), G4CascadeFinalStateAlgorithm::GenerateMultiBody(), G4HadPhaseSpaceGenbod::GenerateMultiBody(), G4HadPhaseSpaceKopylov::GenerateMultiBody(), G4HadPhaseSpaceNBodyAsai::GenerateMultiBody(), G4CascadeFinalStateAlgorithm::GenerateTwoBody(), G4HadDecayGenerator::GetAlgorithmName(), G4HadPhaseSpaceGenbod::Initialize(), G4VHadDecayAlgorithm::IsDecayAllowed(), G4CascadeFinalStateAlgorithm::satisfyTriangle(), G4CascadeFinalStateAlgorithm::SaveKinematics(), and G4VHadDecayAlgorithm::TwoBodyMomentum().
|
inlineinherited |
Definition at line 55 of file G4VHadDecayAlgorithm.hh.
References G4VHadDecayAlgorithm::verboseLevel.
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(), GenerateTwoBody(), G4HadPhaseSpaceGenbod::Initialize(), G4CascadeFinalStateAlgorithm::satisfyTriangle(), and G4CascadeFinalStateAlgorithm::SaveKinematics().
|
protectedvirtualinherited |
Definition at line 67 of file G4VHadDecayAlgorithm.cc.
References G4cout, G4endl, G4VHadDecayAlgorithm::GetName(), G4VHadDecayAlgorithm::PrintVector(), and G4VHadDecayAlgorithm::verboseLevel.
Referenced by G4VHadDecayAlgorithm::Generate().
|
protectedinherited |
Definition at line 121 of file G4VHadDecayAlgorithm.cc.
References field_utils::copy().
Referenced by G4HadPhaseSpaceGenbod::FillEnergySteps(), G4HadPhaseSpaceGenbod::FillRandomBuffer(), G4HadPhaseSpaceNBodyAsai::GenerateMultiBody(), G4HadPhaseSpaceGenbod::Initialize(), and G4VHadDecayAlgorithm::IsDecayAllowed().
|
inlinevirtualinherited |
Reimplemented in G4CascadeFinalStateAlgorithm.
Definition at line 54 of file G4VHadDecayAlgorithm.hh.
References G4VHadDecayAlgorithm::verboseLevel.
Referenced by G4CascadeFinalStateAlgorithm::SetVerboseLevel(), and G4HadDecayGenerator::SetVerboseLevel().
|
protectedinherited |
Definition at line 90 of file G4VHadDecayAlgorithm.cc.
References CLHEP::eV, G4cout, G4endl, G4VHadDecayAlgorithm::GetName(), GeV, and MeV.
Referenced by G4HadPhaseSpaceGenbod::ComputeWeightScale(), G4HadPhaseSpaceGenbod::FillEnergySteps(), G4CascadeFinalStateAlgorithm::FillUsingKopylov(), G4HadPhaseSpaceKopylov::GenerateMultiBody(), G4HadPhaseSpaceNBodyAsai::GenerateMultiBody(), G4CascadeFinalStateAlgorithm::GenerateTwoBody(), and GenerateTwoBody().
|
protectedinherited |
Definition at line 114 of file G4VHadDecayAlgorithm.cc.
References G4UniformRand, and twopi.
Referenced by G4CascadeFinalStateAlgorithm::FillUsingKopylov(), G4CascadeFinalStateAlgorithm::GenerateTwoBody(), and UniformVector().
|
protectedinherited |
Definition at line 110 of file G4VHadDecayAlgorithm.cc.
References G4UniformRand.
Referenced by G4CascadeFinalStateAlgorithm::FillUsingKopylov(), and UniformVector().
|
protected |
Definition at line 73 of file G4VHadPhaseSpaceAlgorithm.cc.
References CLHEP::Hep3Vector::setRThetaPhi(), G4VHadDecayAlgorithm::UniformPhi(), and G4VHadDecayAlgorithm::UniformTheta().
Referenced by G4HadPhaseSpaceKopylov::GenerateMultiBody(), G4HadPhaseSpaceNBodyAsai::GenerateMultiBody(), and GenerateTwoBody().
|
privateinherited |
Definition at line 85 of file G4VHadDecayAlgorithm.hh.
Referenced by source.g4viscp.G4Scene::create_scene(), G4VHadDecayAlgorithm::GetName(), mcscore.MCParticle::printout(), and source.g4viscp.G4Scene::update_scene().
|
privateinherited |
Definition at line 86 of file G4VHadDecayAlgorithm.hh.
Referenced by G4VHadDecayAlgorithm::Generate(), G4VHadDecayAlgorithm::GetVerboseLevel(), G4VHadDecayAlgorithm::IsDecayAllowed(), and G4VHadDecayAlgorithm::SetVerboseLevel().