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

#include <G4HadProcesses.hh>

Static Public Member Functions

static const G4ParticleDefinitionFindParticle (const G4String &)
 
static G4HadronicProcessFindInelasticProcess (const G4ParticleDefinition *)
 
static G4HadronicProcessFindInelasticProcess (const G4String &)
 
static G4HadronicProcessFindElasticProcess (const G4ParticleDefinition *)
 
static G4HadronicProcessFindElasticProcess (const G4String &)
 
static G4HadronicProcessFindCaptureProcess ()
 
static G4HadronicProcessFindFissionProcess ()
 
static G4CrossSectionInelasticInelasticXS (const G4String &componentName)
 
static G4CrossSectionElasticElasticXS (const G4String &componentName)
 
static G4bool AddInelasticCrossSection (const G4ParticleDefinition *, G4VCrossSectionDataSet *)
 
static G4bool AddInelasticCrossSection (const G4String &, G4VCrossSectionDataSet *)
 
static G4bool AddElasticCrossSection (const G4ParticleDefinition *, G4VCrossSectionDataSet *)
 
static G4bool AddElasticCrossSection (const G4String &, G4VCrossSectionDataSet *)
 
static G4bool AddCaptureCrossSection (G4VCrossSectionDataSet *)
 
static G4bool AddFissionCrossSection (G4VCrossSectionDataSet *)
 

Detailed Description

Definition at line 51 of file G4HadProcesses.hh.

Member Function Documentation

◆ AddCaptureCrossSection()

G4bool G4HadProcesses::AddCaptureCrossSection ( G4VCrossSectionDataSet xs)
static

Definition at line 152 of file G4HadProcesses.cc.

153{
154 G4bool isOK(false);
156 if( had != nullptr ) {
157 isOK = true;
158 had->AddDataSet( xs );
159 }
160 return isOK;
161}
bool G4bool
Definition: G4Types.hh:86
static G4HadronicProcess * FindCaptureProcess()
void AddDataSet(G4VCrossSectionDataSet *aDataSet)

◆ AddElasticCrossSection() [1/2]

G4bool G4HadProcesses::AddElasticCrossSection ( const G4ParticleDefinition ptr,
G4VCrossSectionDataSet xs 
)
static

Definition at line 134 of file G4HadProcesses.cc.

135{
136 G4bool isOK(false);
137 if( ptr != nullptr ) {
139 if( had != nullptr ) {
140 isOK = true;
141 had->AddDataSet( xs );
142 }
143 }
144 return isOK;
145}
static G4HadronicProcess * FindElasticProcess(const G4ParticleDefinition *)

Referenced by AddElasticCrossSection().

◆ AddElasticCrossSection() [2/2]

G4bool G4HadProcesses::AddElasticCrossSection ( const G4String pname,
G4VCrossSectionDataSet xs 
)
static

Definition at line 147 of file G4HadProcesses.cc.

148{
149 return AddElasticCrossSection( FindParticle(pname), xs );
150}
static G4bool AddElasticCrossSection(const G4ParticleDefinition *, G4VCrossSectionDataSet *)
static const G4ParticleDefinition * FindParticle(const G4String &)

◆ AddFissionCrossSection()

G4bool G4HadProcesses::AddFissionCrossSection ( G4VCrossSectionDataSet xs)
static

Definition at line 163 of file G4HadProcesses.cc.

164{
165 G4bool isOK(false);
167 if( had != nullptr ) {
168 isOK = true;
169 had->AddDataSet( xs );
170 }
171 return isOK;
172}
static G4HadronicProcess * FindFissionProcess()

◆ AddInelasticCrossSection() [1/2]

G4bool G4HadProcesses::AddInelasticCrossSection ( const G4ParticleDefinition ptr,
G4VCrossSectionDataSet xs 
)
static

Definition at line 115 of file G4HadProcesses.cc.

117{
118 G4bool isOK(false);
119 if( ptr != nullptr ) {
121 if( had != nullptr ) {
122 isOK = true;
123 had->AddDataSet( xs );
124 }
125 }
126 return isOK;
127}
static G4HadronicProcess * FindInelasticProcess(const G4ParticleDefinition *)

Referenced by AddInelasticCrossSection().

◆ AddInelasticCrossSection() [2/2]

G4bool G4HadProcesses::AddInelasticCrossSection ( const G4String pname,
G4VCrossSectionDataSet xs 
)
static

Definition at line 129 of file G4HadProcesses.cc.

130{
131 return AddInelasticCrossSection( FindParticle(pname), xs );
132}
static G4bool AddInelasticCrossSection(const G4ParticleDefinition *, G4VCrossSectionDataSet *)

◆ ElasticXS()

G4CrossSectionElastic * G4HadProcesses::ElasticXS ( const G4String componentName)
static

Definition at line 99 of file G4HadProcesses.cc.

100{
101 G4CrossSectionElastic* xs = nullptr;
103 if( comp != nullptr ) {
104 xs = new G4CrossSectionElastic(comp);
105 } else if( "Glauber-Gribov" == compName ) {
107 } else if( "Glauber-Gribov Nucl-nucl" == compName ) {
109 } else if( "AntiAGlauber" == compName ) {
111 }
112 return xs;
113}
G4VComponentCrossSection * GetComponentCrossSection(const G4String &name)
static G4CrossSectionDataSetRegistry * Instance()

Referenced by G4HadronicBuilder::BuildElastic(), and G4HadronElasticPhysics::ConstructProcess().

◆ FindCaptureProcess()

G4HadronicProcess * G4HadProcesses::FindCaptureProcess ( )
static

Definition at line 73 of file G4HadProcesses.cc.

74{
76}
static G4Neutron * Neutron()
Definition: G4Neutron.cc:103
static G4HadronicProcess * FindCaptureProcess(const G4ParticleDefinition *)

Referenced by AddCaptureCrossSection().

◆ FindElasticProcess() [1/2]

G4HadronicProcess * G4HadProcesses::FindElasticProcess ( const G4ParticleDefinition ptr)
static

Definition at line 63 of file G4HadProcesses.cc.

64{
66}
static G4HadronicProcess * FindElasticProcess(const G4ParticleDefinition *)

Referenced by AddElasticCrossSection(), and FindElasticProcess().

◆ FindElasticProcess() [2/2]

G4HadronicProcess * G4HadProcesses::FindElasticProcess ( const G4String pname)
static

Definition at line 68 of file G4HadProcesses.cc.

69{
70 return FindElasticProcess( FindParticle(pname) );
71}

◆ FindFissionProcess()

G4HadronicProcess * G4HadProcesses::FindFissionProcess ( )
static

Definition at line 78 of file G4HadProcesses.cc.

79{
81}
static G4HadronicProcess * FindFissionProcess(const G4ParticleDefinition *)

Referenced by AddFissionCrossSection().

◆ FindInelasticProcess() [1/2]

G4HadronicProcess * G4HadProcesses::FindInelasticProcess ( const G4ParticleDefinition ptr)
static

Definition at line 53 of file G4HadProcesses.cc.

54{
56}
static G4HadronicProcess * FindInelasticProcess(const G4ParticleDefinition *)

Referenced by AddInelasticCrossSection().

◆ FindInelasticProcess() [2/2]

G4HadronicProcess * G4HadProcesses::FindInelasticProcess ( const G4String pname)
static

Definition at line 58 of file G4HadProcesses.cc.

59{
60 return FindInelasticProcess( FindParticle(pname) );
61}

Referenced by FindInelasticProcess().

◆ FindParticle()

const G4ParticleDefinition * G4HadProcesses::FindParticle ( const G4String pname)
static

Definition at line 48 of file G4HadProcesses.cc.

49{
51}
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()

Referenced by AddElasticCrossSection(), AddInelasticCrossSection(), FindElasticProcess(), and FindInelasticProcess().

◆ InelasticXS()

G4CrossSectionInelastic * G4HadProcesses::InelasticXS ( const G4String componentName)
static

Definition at line 83 of file G4HadProcesses.cc.

84{
85 G4CrossSectionInelastic* xs = nullptr;
87 if( comp != nullptr ) {
88 xs = new G4CrossSectionInelastic(comp);
89 } else if( "Glauber-Gribov" == compName ) {
91 } else if( "Glauber-Gribov Nucl-nucl" == compName ) {
93 } else if( "AntiAGlauber" == compName ) {
95 }
96 return xs;
97}

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