#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::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 |
( |
| ) |
|
|
virtual |
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
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()
Definition at line 176 of file G4VHadronPhysics.cc.
184 G4cout <<
"### G4VHadronPhysics: the inelastic cross section "
const G4String & GetParticleName() const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4GLOB_DLL std::ostream G4cout
G4HadronicProcess * FindElasticProcess(const G4String &)
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
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()
Definition at line 147 of file G4VHadronPhysics.cc.
155 G4cout <<
"### G4VHadronPhysics: the inelastic cross section "
const G4String & GetParticleName() const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4GLOB_DLL std::ostream G4cout
G4HadronicProcess * FindInelasticProcess(const G4String &)
Definition at line 96 of file G4VHadronPhysics.cc.
100 if ( builders == 0 ) builders =
new std::vector<G4VHadronModelBuilder*>;
101 builders->push_back(mBuilder);
106 G4cout <<
"### G4VHadronPhysics <"
const G4String & GetModelName() const
G4HadronicInteraction * GetModel()
void SetMinEnergy(G4double anEnergy)
G4GLOB_DLL std::ostream G4cout
static const G4double emax
static constexpr double GeV
void SetMaxEnergy(const G4double anEnergy)
const XML_Char XML_Content * model
void G4VHadronPhysics::ConstructParticle |
( |
| ) |
|
|
virtual |
Implements G4VPhysicsConstructor.
Definition at line 80 of file G4VHadronPhysics.cc.
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()
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()) {
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4Neutron * Neutron()
G4ProcessManager * GetProcessManager() const
G4ProcessVector * GetProcessList() const
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 &)
Definition at line 267 of file G4VHadronPhysics.cc.
273 size_t n = pv->
size();
275 for(
size_t i=0; i<
n; ++i) {
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4ProcessManager * GetProcessManager() const
G4ProcessVector * GetProcessList() const
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()) {
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4Neutron * Neutron()
G4ProcessManager * GetProcessManager() const
G4ProcessVector * GetProcessList() const
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()
Definition at line 231 of file G4VHadronPhysics.cc.
237 size_t n = pv->
size();
239 for(
size_t i=0; i<
n; ++i) {
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
const G4String & GetParticleName() const
G4ProcessManager * GetProcessManager() const
G4ProcessVector * GetProcessList() const
Definition at line 116 of file G4VHadronPhysics.cc.
120 if(!model)
return model;
124 G4cout <<
"### G4VHadronPhysics <"
const G4String & GetModelName() const
void SetMinEnergy(G4double anEnergy)
G4GLOB_DLL std::ostream G4cout
static const G4double emax
static constexpr double GeV
void SetMaxEnergy(const G4double anEnergy)
const XML_Char XML_Content * model
The documentation for this class was generated from the following files: