Geant4 9.6.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 G4HadronicProcessFindInelasticProcess (const G4ParticleDefinition *)
 

Detailed Description

Definition at line 47 of file G4PhysListUtil.hh.

Member Function Documentation

◆ FindInelasticProcess()

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

Definition at line 46 of file G4PhysListUtil.cc.

47{
48 G4HadronicProcess* had = 0;
49 if(p) {
51 size_t n = pvec->size();
52 if(0 < n) {
53 for(size_t i=0; i<n; ++i) {
54 if(fHadronInelastic == ((*pvec)[i])->GetProcessSubType()) {
55 had = static_cast<G4HadronicProcess*>((*pvec)[i]);
56 break;
57 }
58 }
59 }
60 }
61 return had;
62}
@ fHadronInelastic
G4ProcessManager * GetProcessManager() const
G4ProcessVector * GetProcessList() const
G4int size() const

Referenced by HadronPhysicsFTFP_BERT::ConstructProcess(), HadronPhysicsFTFP_BERT_HP::ConstructProcess(), HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), HadronPhysicsQGSP_BERT_95::ConstructProcess(), HadronPhysicsQGSP_BERT_CHIPS::ConstructProcess(), HadronPhysicsQGSP_FTFP_BERT_95::ConstructProcess(), and HadronPhysicsShielding::ConstructProcess().


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