#include <G4NeutronHPBuilder.hh>
Inheritance diagram for G4NeutronHPBuilder:
Public Member Functions | |
G4NeutronHPBuilder () | |
virtual | ~G4NeutronHPBuilder () |
virtual void | Build (G4HadronElasticProcess *aP) |
virtual void | Build (G4HadronFissionProcess *aP) |
virtual void | Build (G4HadronCaptureProcess *aP) |
virtual void | Build (G4NeutronInelasticProcess *aP) |
void | SetMinEnergy (G4double aM) |
void | SetMinInelasticEnergy (G4double aM) |
void | SetMaxEnergy (G4double aM) |
void | SetMaxInelasticEnergy (G4double aM) |
Definition at line 46 of file G4NeutronHPBuilder.hh.
G4NeutronHPBuilder::G4NeutronHPBuilder | ( | ) |
Definition at line 33 of file G4NeutronHPBuilder.cc.
00034 { 00035 theHPElastic = 0; 00036 theHPElasticData = 0; 00037 00038 theHPFission = 0; 00039 theHPFissionData = 0; 00040 00041 theHPCapture = 0; 00042 theHPCaptureData = 0; 00043 00044 theHPInelastic = 0; 00045 theHPInelasticData = 0; 00046 00047 theMin = 0; 00048 theIMin = theMin; 00049 theMax = 20*MeV; 00050 theIMax = theMax; 00051 00052 }
G4NeutronHPBuilder::~G4NeutronHPBuilder | ( | ) | [virtual] |
Definition at line 55 of file G4NeutronHPBuilder.cc.
00056 { 00057 delete theHPElasticData; 00058 delete theHPFissionData; 00059 delete theHPCaptureData; 00060 delete theHPInelasticData; 00061 }
void G4NeutronHPBuilder::Build | ( | G4NeutronInelasticProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 97 of file G4NeutronHPBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00098 { 00099 if(theHPInelastic==0) theHPInelastic = new G4NeutronHPInelastic; 00100 theHPInelastic->SetMinEnergy(theIMin); 00101 theHPInelastic->SetMaxEnergy(theIMax); 00102 if(theHPInelasticData==0) theHPInelasticData = new G4NeutronHPInelasticData; 00103 aP->AddDataSet(theHPInelasticData); 00104 aP->RegisterMe(theHPInelastic); 00105 }
void G4NeutronHPBuilder::Build | ( | G4HadronCaptureProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 86 of file G4NeutronHPBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00087 { 00088 if(theHPCapture==0) theHPCapture = new G4NeutronHPCapture; 00089 theHPCapture->SetMinEnergy(theMin); 00090 theHPCapture->SetMaxEnergy(theMax); 00091 if(theHPCaptureData==0) theHPCaptureData = new G4NeutronHPCaptureData; 00092 aP->AddDataSet(theHPCaptureData); 00093 aP->RegisterMe(theHPCapture); 00094 }
void G4NeutronHPBuilder::Build | ( | G4HadronFissionProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 75 of file G4NeutronHPBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00076 { 00077 if(theHPFission == 0) theHPFission = new G4NeutronHPFission; 00078 theHPFission->SetMinEnergy(theMin); 00079 theHPFission->SetMaxEnergy(theMax); 00080 if(theHPFissionData==0) theHPFissionData=new G4NeutronHPFissionData; 00081 aP->AddDataSet(theHPFissionData); 00082 aP->RegisterMe(theHPFission); 00083 }
void G4NeutronHPBuilder::Build | ( | G4HadronElasticProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 64 of file G4NeutronHPBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
Referenced by G4QInelasticCHIPS_HPBuilder::Build().
00065 { 00066 if(theHPElastic==0) theHPElastic = new G4NeutronHPElastic; 00067 theHPElastic->SetMinEnergy(theMin); 00068 theHPElastic->SetMaxEnergy(theMax); 00069 if(theHPElasticData == 0) theHPElasticData = new G4NeutronHPElasticData; 00070 aP->AddDataSet(theHPElasticData); 00071 aP->RegisterMe(theHPElastic); 00072 }
void G4NeutronHPBuilder::SetMaxEnergy | ( | G4double | aM | ) | [inline] |
void G4NeutronHPBuilder::SetMaxInelasticEnergy | ( | G4double | aM | ) | [inline] |
void G4NeutronHPBuilder::SetMinEnergy | ( | G4double | aM | ) | [inline] |
void G4NeutronHPBuilder::SetMinInelasticEnergy | ( | G4double | aM | ) | [inline] |