Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PhysListUtil Class Reference

#include <G4PhysListUtil.hh>

Static Public Member Functions

static void InitialiseParameters ()
 
static G4HadronicProcessFindInelasticProcess (const G4ParticleDefinition *)
 
static G4HadronicProcessFindElasticProcess (const G4ParticleDefinition *)
 
static G4HadronicProcessFindCaptureProcess (const G4ParticleDefinition *)
 
static G4HadronicProcessFindFissionProcess (const G4ParticleDefinition *)
 

Detailed Description

Definition at line 46 of file G4PhysListUtil.hh.

Member Function Documentation

◆ FindCaptureProcess()

G4HadronicProcess * G4PhysListUtil::FindCaptureProcess ( const G4ParticleDefinition p)
static

Definition at line 94 of file G4PhysListUtil.cc.

95{
96 G4HadronicProcess* had = nullptr;
97 if(p) {
99 size_t n = pvec->size();
100 for(size_t i=0; i<n; ++i) {
101 auto proc = (*pvec)[i];
102 if(proc != nullptr && fCapture == proc->GetProcessSubType()) {
103 had = static_cast<G4HadronicProcess*>(proc);
104 break;
105 }
106 }
107 }
108 return had;
109}
G4ProcessManager * GetProcessManager() const
G4ProcessVector * GetProcessList() const
std::size_t size() const

Referenced by G4HadProcesses::FindCaptureProcess(), G4HadronPhysicsFTFP_BERT::Neutron(), G4HadronPhysicsQGS_BIC::Neutron(), G4HadronPhysicsQGSP_BERT::Neutron(), G4HadronPhysicsQGSP_BIC::Neutron(), G4HadronPhysicsFTF_BIC::Neutron(), G4HadronPhysicsFTFP_BERT_HP::Neutron(), G4HadronPhysicsINCLXX::Neutron(), G4HadronPhysicsQGSP_BERT_HP::Neutron(), G4HadronPhysicsQGSP_BIC_HP::Neutron(), and G4HadronPhysicsShielding::Neutron().

◆ FindElasticProcess()

G4HadronicProcess * G4PhysListUtil::FindElasticProcess ( const G4ParticleDefinition p)
static

Definition at line 76 of file G4PhysListUtil.cc.

77{
78 G4HadronicProcess* had = nullptr;
79 if(p) {
81 size_t n = pvec->size();
82 for(size_t i=0; i<n; ++i) {
83 auto proc = (*pvec)[i];
84 if(proc != nullptr && fHadronElastic == proc->GetProcessSubType()) {
85 had = static_cast<G4HadronicProcess*>(proc);
86 break;
87 }
88 }
89 }
90 return had;
91}
@ fHadronElastic

Referenced by G4ThermalNeutrons::ConstructProcess(), G4HadProcesses::FindElasticProcess(), and G4HadronElasticPhysics::GetElasticProcess().

◆ FindFissionProcess()

G4HadronicProcess * G4PhysListUtil::FindFissionProcess ( const G4ParticleDefinition p)
static

Definition at line 112 of file G4PhysListUtil.cc.

113{
114 G4HadronicProcess* had = nullptr;
115 if(p) {
117 size_t n = pvec->size();
118 for(size_t i=0; i<n; ++i) {
119 auto proc = (*pvec)[i];
120 if(proc != nullptr && fFission == proc->GetProcessSubType()) {
121 had = static_cast<G4HadronicProcess*>(proc);
122 break;
123 }
124 }
125 }
126 return had;
127}

Referenced by G4HadProcesses::FindFissionProcess(), G4HadronPhysicsFTFP_BERT_HP::Neutron(), G4HadronPhysicsINCLXX::Neutron(), G4HadronPhysicsQGSP_BERT_HP::Neutron(), G4HadronPhysicsQGSP_BIC_HP::Neutron(), and G4HadronPhysicsShielding::Neutron().

◆ FindInelasticProcess()

G4HadronicProcess * G4PhysListUtil::FindInelasticProcess ( const G4ParticleDefinition p)
static

◆ InitialiseParameters()

void G4PhysListUtil::InitialiseParameters ( )
static

Definition at line 49 of file G4PhysListUtil.cc.

50{
55}
static G4EmParameters * Instance()
static G4HadronicParameters * Instance()
static G4NistManager * Instance()
static G4NuclearLevelData * GetInstance()

The documentation for this class was generated from the following files: