#include <G4NeutronLENDBuilder.hh>
Inheritance diagram for G4NeutronLENDBuilder:
Public Member Functions | |
G4NeutronLENDBuilder (G4String eva="") | |
virtual | ~G4NeutronLENDBuilder () |
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 G4NeutronLENDBuilder.hh.
G4NeutronLENDBuilder::G4NeutronLENDBuilder | ( | G4String | eva = "" |
) |
Definition at line 33 of file G4NeutronLENDBuilder.cc.
00034 { 00035 theLENDElastic = 0; 00036 theLENDElasticCrossSection = 0; 00037 00038 theLENDFission = 0; 00039 theLENDFissionCrossSection = 0; 00040 00041 theLENDCapture = 0; 00042 theLENDCaptureCrossSection = 0; 00043 00044 theLENDInelastic = 0; 00045 theLENDInelasticCrossSection = 0; 00046 00047 theMin = 0; 00048 theIMin = theMin; 00049 theMax = 20*MeV; 00050 theIMax = theMax; 00051 evaluation = eva; 00052 00053 }
G4NeutronLENDBuilder::~G4NeutronLENDBuilder | ( | ) | [virtual] |
Definition at line 56 of file G4NeutronLENDBuilder.cc.
00057 { 00058 delete theLENDElasticCrossSection; 00059 delete theLENDFissionCrossSection; 00060 delete theLENDCaptureCrossSection; 00061 delete theLENDInelasticCrossSection; 00062 }
void G4NeutronLENDBuilder::Build | ( | G4NeutronInelasticProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 117 of file G4NeutronLENDBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4LENDCrossSection::AllowAnyCandidateTarget(), G4LENDModel::AllowAnyCandidateTarget(), G4LENDCrossSection::ChangeDefaultEvaluation(), G4LENDModel::ChangeDefaultEvaluation(), G4Neutron::Neutron(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00118 { 00119 if(theLENDInelastic==0) theLENDInelastic = new G4LENDInelastic( G4Neutron::Neutron() ); 00120 theLENDInelastic->SetMinEnergy(theIMin); 00121 theLENDInelastic->SetMaxEnergy(theIMax); 00122 if ( evaluation != "" ) theLENDInelastic->ChangeDefaultEvaluation( evaluation ); 00123 //theLENDInelastic->AllowNaturalAbundanceTarget(); 00124 theLENDInelastic->AllowAnyCandidateTarget(); 00125 if(theLENDInelasticCrossSection==0) theLENDInelasticCrossSection = new G4LENDInelasticCrossSection( G4Neutron::Neutron() ); 00126 if ( evaluation != "" ) theLENDInelasticCrossSection->ChangeDefaultEvaluation( evaluation ); 00127 //theLENDInelasticCrossSection->AllowNaturalAbundanceTarget(); 00128 theLENDInelasticCrossSection->AllowAnyCandidateTarget(); 00129 aP->AddDataSet(theLENDInelasticCrossSection); 00130 aP->RegisterMe(theLENDInelastic); 00131 }
void G4NeutronLENDBuilder::Build | ( | G4HadronCaptureProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 100 of file G4NeutronLENDBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4LENDCrossSection::AllowAnyCandidateTarget(), G4LENDModel::AllowAnyCandidateTarget(), G4LENDCrossSection::ChangeDefaultEvaluation(), G4LENDModel::ChangeDefaultEvaluation(), G4Neutron::Neutron(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00101 { 00102 if(theLENDCapture==0) theLENDCapture = new G4LENDCapture( G4Neutron::Neutron() ); 00103 theLENDCapture->SetMinEnergy(theMin); 00104 theLENDCapture->SetMaxEnergy(theMax); 00105 if ( evaluation != "" ) theLENDCapture->ChangeDefaultEvaluation( evaluation ); 00106 //theLENDCapture->AllowNaturalAbundanceTarget(); 00107 theLENDCapture->AllowAnyCandidateTarget(); 00108 if(theLENDCaptureCrossSection==0) theLENDCaptureCrossSection = new G4LENDCaptureCrossSection( G4Neutron::Neutron() ); 00109 if ( evaluation != "" ) theLENDCaptureCrossSection->ChangeDefaultEvaluation( evaluation ); 00110 //theLENDCaptureCrossSection->AllowNaturalAbundanceTarget(); 00111 theLENDCaptureCrossSection->AllowAnyCandidateTarget(); 00112 aP->AddDataSet(theLENDCaptureCrossSection); 00113 aP->RegisterMe(theLENDCapture); 00114 }
void G4NeutronLENDBuilder::Build | ( | G4HadronFissionProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 83 of file G4NeutronLENDBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4LENDCrossSection::AllowAnyCandidateTarget(), G4LENDModel::AllowAnyCandidateTarget(), G4LENDCrossSection::ChangeDefaultEvaluation(), G4LENDModel::ChangeDefaultEvaluation(), G4Neutron::Neutron(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00084 { 00085 if(theLENDFission == 0) theLENDFission = new G4LENDFission( G4Neutron::Neutron() ); 00086 theLENDFission->SetMinEnergy(theMin); 00087 theLENDFission->SetMaxEnergy(theMax); 00088 if ( evaluation != "" ) theLENDFission->ChangeDefaultEvaluation( evaluation ); 00089 //theLENDFission->AllowNaturalAbundanceTarget(); 00090 theLENDFission->AllowAnyCandidateTarget(); 00091 if(theLENDFissionCrossSection==0) theLENDFissionCrossSection=new G4LENDFissionCrossSection( G4Neutron::Neutron() ); 00092 if ( evaluation != "" ) theLENDFissionCrossSection->ChangeDefaultEvaluation( evaluation ); 00093 //theLENDFissionCrossSection->AllowNaturalAbundanceTarget(); 00094 theLENDFissionCrossSection->AllowAnyCandidateTarget(); 00095 aP->AddDataSet(theLENDFissionCrossSection); 00096 aP->RegisterMe(theLENDFission); 00097 }
void G4NeutronLENDBuilder::Build | ( | G4HadronElasticProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 65 of file G4NeutronLENDBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4LENDCrossSection::AllowAnyCandidateTarget(), G4LENDModel::AllowAnyCandidateTarget(), G4LENDCrossSection::ChangeDefaultEvaluation(), G4LENDModel::ChangeDefaultEvaluation(), G4Neutron::Neutron(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00066 { 00067 if(theLENDElastic==0) theLENDElastic = new G4LENDElastic( G4Neutron::Neutron() ); 00068 theLENDElastic->SetMinEnergy(theMin); 00069 theLENDElastic->SetMaxEnergy(theMax); 00070 00071 if ( evaluation != "" ) theLENDElastic->ChangeDefaultEvaluation( evaluation ); 00072 //theLENDElastic->AllowNaturalAbundanceTarget(); 00073 theLENDElastic->AllowAnyCandidateTarget(); 00074 if(theLENDElasticCrossSection == 0) theLENDElasticCrossSection = new G4LENDElasticCrossSection( G4Neutron::Neutron() ); 00075 if ( evaluation != "" ) theLENDElasticCrossSection->ChangeDefaultEvaluation( evaluation ); 00076 //theLENDElasticCrossSection->AllowNaturalAbundanceTarget(); 00077 theLENDElasticCrossSection->AllowAnyCandidateTarget(); 00078 aP->AddDataSet(theLENDElasticCrossSection); 00079 aP->RegisterMe(theLENDElastic); 00080 }
void G4NeutronLENDBuilder::SetMaxEnergy | ( | G4double | aM | ) | [inline] |
void G4NeutronLENDBuilder::SetMaxInelasticEnergy | ( | G4double | aM | ) | [inline] |
void G4NeutronLENDBuilder::SetMinEnergy | ( | G4double | aM | ) | [inline] |
void G4NeutronLENDBuilder::SetMinInelasticEnergy | ( | G4double | aM | ) | [inline] |