#include <G4VHadronPhysics.hh>
|
| G4VHadronPhysics (const G4String &name="hInelastic", G4int verbose=0) |
|
virtual | ~G4VHadronPhysics () |
|
virtual void | ConstructParticle () |
|
G4HadronicInteraction * | BuildModel (G4VHadronModelBuilder *, G4double emin, G4double emax) |
|
G4HadronicInteraction * | NewModel (G4HadronicInteraction *, G4double emin, G4double emax) |
|
void | AddInelasticCrossSection (const G4String &, G4VCrossSectionDataSet *) |
|
void | AddInelasticCrossSection (const G4ParticleDefinition *, G4VCrossSectionDataSet *) |
|
void | AddElasticCrossSection (const G4String &, G4VCrossSectionDataSet *) |
|
void | AddElasticCrossSection (const G4ParticleDefinition *, G4VCrossSectionDataSet *) |
|
void | AddCaptureCrossSection (G4VCrossSectionDataSet *) |
|
void | AddFissionCrossSection (G4VCrossSectionDataSet *) |
|
| G4VPhysicsConstructor (const G4String &="") |
|
| G4VPhysicsConstructor (const G4String &name, G4int physics_type) |
|
virtual | ~G4VPhysicsConstructor () |
|
virtual void | ConstructProcess ()=0 |
|
void | SetPhysicsName (const G4String &="") |
|
const G4String & | GetPhysicsName () const |
|
void | SetPhysicsType (G4int) |
|
G4int | GetPhysicsType () const |
|
void | SetVerboseLevel (G4int value) |
|
G4int | GetVerboseLevel () const |
|
G4int | GetInstanceID () const |
|
Definition at line 51 of file G4VHadronPhysics.hh.
◆ G4VHadronPhysics() [1/2]
G4VHadronPhysics::G4VHadronPhysics |
( |
const G4String & |
name = "hInelastic" , |
|
|
G4int |
verbose = 0 |
|
) |
| |
Definition at line 59 of file G4VHadronPhysics.cc.
64 G4cout <<
"### G4VHadronPhysics: <" << aName <<
"> is created " G4GLOB_DLL std::ostream G4cout
void SetVerboseLevel(G4int value)
G4VPhysicsConstructor(const G4String &="")
◆ ~G4VHadronPhysics()
G4VHadronPhysics::~G4VHadronPhysics |
( |
| ) |
|
|
virtual |
Definition at line 69 of file G4VHadronPhysics.cc.
74 for(
G4int i=0; i<
n; i++) {
delete (*builders)[i];}
static G4ThreadLocal std::vector< G4VHadronModelBuilder * > * builders
◆ G4VHadronPhysics() [2/2]
◆ AddCaptureCrossSection()
Definition at line 191 of file G4VHadronPhysics.cc.
197 G4cout <<
"### G4VHadronPhysics: the capture cross section " 198 <<
" is added for neutron" G4HadronicProcess * FindCaptureProcess()
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4GLOB_DLL std::ostream G4cout
◆ AddElasticCrossSection() [1/2]
Definition at line 162 of file G4VHadronPhysics.cc.
168 G4cout <<
"### G4VHadronPhysics WARNING: fails to find particle " G4ParticleDefinition * FindParticle(G4int PDGEncoding)
G4GLOB_DLL std::ostream G4cout
void AddElasticCrossSection(const G4String &, G4VCrossSectionDataSet *)
static G4ParticleTable * GetParticleTable()
◆ AddElasticCrossSection() [2/2]
Definition at line 176 of file G4VHadronPhysics.cc.
184 G4cout <<
"### G4VHadronPhysics: the inelastic cross section " void AddDataSet(G4VCrossSectionDataSet *aDataSet)
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
G4HadronicProcess * FindElasticProcess(const G4String &)
◆ AddFissionCrossSection()
Definition at line 204 of file G4VHadronPhysics.cc.
210 G4cout <<
"### G4VHadronPhysics: the fission cross section " 211 <<
" is added for neutron" G4HadronicProcess * FindFissionProcess()
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4GLOB_DLL std::ostream G4cout
◆ AddInelasticCrossSection() [1/2]
Definition at line 133 of file G4VHadronPhysics.cc.
139 G4cout <<
"### G4VHadronPhysics WARNING: fails to find particle " G4ParticleDefinition * FindParticle(G4int PDGEncoding)
G4GLOB_DLL std::ostream G4cout
void AddInelasticCrossSection(const G4String &, G4VCrossSectionDataSet *)
static G4ParticleTable * GetParticleTable()
◆ AddInelasticCrossSection() [2/2]
Definition at line 147 of file G4VHadronPhysics.cc.
155 G4cout <<
"### G4VHadronPhysics: the inelastic cross section " void AddDataSet(G4VCrossSectionDataSet *aDataSet)
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
G4HadronicProcess * FindInelasticProcess(const G4String &)
◆ BuildModel()
Definition at line 96 of file G4VHadronPhysics.cc.
106 G4cout <<
"### G4VHadronPhysics <"
G4HadronicInteraction * GetModel()
void SetMinEnergy(G4double anEnergy)
G4GLOB_DLL std::ostream G4cout
static const G4double emax
void SetMaxEnergy(const G4double anEnergy)
const G4String & GetModelName() const
static G4ThreadLocal std::vector< G4VHadronModelBuilder * > * builders
◆ ConstructParticle()
void G4VHadronPhysics::ConstructParticle |
( |
void |
| ) |
|
|
virtual |
Implements G4VPhysicsConstructor.
Definition at line 80 of file G4VHadronPhysics.cc.
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()
◆ FindCaptureProcess()
Definition at line 287 of file G4VHadronPhysics.cc.
293 size_t n = pv->
size();
295 for(
size_t i=0; i<
n; ++i) {
296 if(
fCapture == ((*pv)[i])->GetProcessSubType()) {
G4ProcessVector * GetProcessList() const
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4ProcessManager * GetProcessManager() const
static G4Neutron * Neutron()
◆ FindElasticProcess() [1/2]
Definition at line 253 of file G4VHadronPhysics.cc.
259 G4cout <<
"### G4VHadronPhysics WARNING: fails to find particle " G4ParticleDefinition * FindParticle(G4int PDGEncoding)
G4GLOB_DLL std::ostream G4cout
static G4ParticleTable * GetParticleTable()
G4HadronicProcess * FindElasticProcess(const G4String &)
◆ FindElasticProcess() [2/2]
Definition at line 267 of file G4VHadronPhysics.cc.
273 size_t n = pv->
size();
275 for(
size_t i=0; i<
n; ++i) {
G4ProcessVector * GetProcessList() const
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4ProcessManager * GetProcessManager() const
◆ FindFissionProcess()
Definition at line 307 of file G4VHadronPhysics.cc.
313 size_t n = pv->
size();
315 for(
size_t i=0; i<
n; ++i) {
316 if(
fFission == ((*pv)[i])->GetProcessSubType()) {
G4ProcessVector * GetProcessList() const
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4ProcessManager * GetProcessManager() const
static G4Neutron * Neutron()
◆ FindInelasticProcess() [1/2]
Definition at line 217 of file G4VHadronPhysics.cc.
223 G4cout <<
"### G4VHadronPhysics WARNING: fails to find particle " G4ParticleDefinition * FindParticle(G4int PDGEncoding)
G4GLOB_DLL std::ostream G4cout
G4HadronicProcess * FindInelasticProcess(const G4String &)
static G4ParticleTable * GetParticleTable()
◆ FindInelasticProcess() [2/2]
Definition at line 231 of file G4VHadronPhysics.cc.
237 size_t n = pv->
size();
239 for(
size_t i=0; i<
n; ++i) {
G4ProcessVector * GetProcessList() const
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
◆ NewModel()
Definition at line 116 of file G4VHadronPhysics.cc.
120 if(!model)
return model;
124 G4cout <<
"### G4VHadronPhysics <" void SetMinEnergy(G4double anEnergy)
G4GLOB_DLL std::ostream G4cout
static const G4double emax
void SetMaxEnergy(const G4double anEnergy)
const G4String & GetModelName() const
◆ operator=()
◆ builders
The documentation for this class was generated from the following files: