#include <G4NeutronPHPBuilder.hh>
Definition at line 46 of file G4NeutronPHPBuilder.hh.
◆ G4NeutronPHPBuilder()
G4NeutronPHPBuilder::G4NeutronPHPBuilder |
( |
| ) |
|
Definition at line 32 of file G4NeutronPHPBuilder.cc.
34{
35 theHPElastic = 0;
36 theHPElasticData = 0;
37
38 theHPFission = 0;
39 theHPFissionData = 0;
40
41 theHPCapture = 0;
42 theHPCaptureData = 0;
43
44 theHPInelastic = 0;
45 theHPInelasticData = 0;
46
47 theMin = 0;
48 theIMin = theMin;
49 theMax = 20*MeV;
50 theIMax = theMax;
51
52}
◆ ~G4NeutronPHPBuilder()
virtual G4NeutronPHPBuilder::~G4NeutronPHPBuilder |
( |
| ) |
|
|
inlinevirtual |
◆ Build() [1/4]
Implements G4VNeutronBuilder.
Definition at line 54 of file G4NeutronPHPBuilder.cc.
56{
57 if(theHPElastic==0) theHPElastic = new G4ParticleHPElastic;
58 theHPElastic->SetMinEnergy(theMin);
59 theHPElastic->SetMaxEnergy(theMax);
60 if(theHPElasticData == 0) theHPElasticData = new G4ParticleHPElasticData;
63}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
◆ Build() [2/4]
Implements G4VNeutronBuilder.
Definition at line 87 of file G4NeutronPHPBuilder.cc.
89{
90 if(theHPInelastic==0) theHPInelastic =
new G4ParticleHPInelastic(
G4Neutron::Neutron(),
"NeutronHPInelastic");
91 theHPInelastic->SetMinEnergy(theIMin);
92 theHPInelastic->SetMaxEnergy(theIMax);
93 if(theHPInelasticData==0) theHPInelasticData =
new G4ParticleHPInelasticData(
G4Neutron::Neutron());
96}
static G4Neutron * Neutron()
◆ Build() [3/4]
Implements G4VNeutronBuilder.
Definition at line 76 of file G4NeutronPHPBuilder.cc.
78{
81 theHPCapture->SetMaxEnergy(theMax);
85}
G4NeutronHPCaptureData G4ParticleHPCaptureData
G4NeutronHPCapture G4ParticleHPCapture
void SetMinEnergy(G4double anEnergy)
◆ Build() [4/4]
Implements G4VNeutronBuilder.
Definition at line 65 of file G4NeutronPHPBuilder.cc.
67{
68 if(theHPFission == 0) theHPFission = new G4ParticleHPFission;
69 theHPFission->SetMinEnergy(theMin);
70 theHPFission->SetMaxEnergy(theMax);
71 if(theHPFissionData==0) theHPFissionData=new G4ParticleHPFissionData;
74}
◆ SetMaxEnergy()
virtual void G4NeutronPHPBuilder::SetMaxEnergy |
( |
G4double | aM | ) |
|
|
inlinefinaloverridevirtual |
◆ SetMaxInelasticEnergy()
void G4NeutronPHPBuilder::SetMaxInelasticEnergy |
( |
G4double | aM | ) |
|
|
inline |
◆ SetMinEnergy()
virtual void G4NeutronPHPBuilder::SetMinEnergy |
( |
G4double | aM | ) |
|
|
inlinefinaloverridevirtual |
◆ SetMinInelasticEnergy()
void G4NeutronPHPBuilder::SetMinInelasticEnergy |
( |
G4double | aM | ) |
|
|
inline |
The documentation for this class was generated from the following files: