#include <G4LEPNeutronBuilder.hh>
Inheritance diagram for G4LEPNeutronBuilder:
Public Member Functions | |
G4LEPNeutronBuilder () | |
virtual | ~G4LEPNeutronBuilder () |
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 55 of file G4LEPNeutronBuilder.hh.
G4LEPNeutronBuilder::G4LEPNeutronBuilder | ( | ) |
Definition at line 46 of file G4LEPNeutronBuilder.cc.
00046 : theLENeutronModel(0), 00047 theNeutronFissionModel(0), 00048 theNeutronCaptureModel(0) { 00049 theMin = 0; 00050 theIMin = theMin; 00051 theMax = 20*TeV; 00052 theIMax = 55*GeV; 00053 }
G4LEPNeutronBuilder::~G4LEPNeutronBuilder | ( | ) | [virtual] |
Definition at line 55 of file G4LEPNeutronBuilder.cc.
00056 { 00057 if (theNeutronFissionModel) delete theNeutronFissionModel; 00058 if (theNeutronCaptureModel) delete theNeutronCaptureModel; 00059 if (theLENeutronModel) delete theLENeutronModel; 00060 }
void G4LEPNeutronBuilder::Build | ( | G4NeutronInelasticProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 87 of file G4LEPNeutronBuilder.cc.
References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00088 { 00089 if ( theIMax > 1.*eV ) 00090 { 00091 theLENeutronModel = new G4LENeutronInelastic(); 00092 theLENeutronModel->SetMinEnergy(theIMin); 00093 theLENeutronModel->SetMaxEnergy(theIMax); 00094 aP->RegisterMe(theLENeutronModel); 00095 } 00096 }
void G4LEPNeutronBuilder::Build | ( | G4HadronCaptureProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 78 of file G4LEPNeutronBuilder.cc.
References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00079 { 00080 theNeutronCaptureModel = new G4LCapture(); 00081 theNeutronCaptureModel->SetMinEnergy(theMin); 00082 theNeutronCaptureModel->SetMaxEnergy(theMax); 00083 aP->RegisterMe(theNeutronCaptureModel); 00084 }
void G4LEPNeutronBuilder::Build | ( | G4HadronFissionProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 69 of file G4LEPNeutronBuilder.cc.
References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00070 { 00071 theNeutronFissionModel = new G4LFission(); 00072 theNeutronFissionModel->SetMinEnergy(theMin); 00073 theNeutronFissionModel->SetMaxEnergy(theMax); 00074 aP->RegisterMe(theNeutronFissionModel); 00075 }
void G4LEPNeutronBuilder::Build | ( | G4HadronElasticProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 63 of file G4LEPNeutronBuilder.cc.
References G4cout, and G4endl.
void G4LEPNeutronBuilder::SetMaxEnergy | ( | G4double | aM | ) | [inline] |
void G4LEPNeutronBuilder::SetMaxInelasticEnergy | ( | G4double | aM | ) | [inline] |
void G4LEPNeutronBuilder::SetMinEnergy | ( | G4double | aM | ) | [inline] |
void G4LEPNeutronBuilder::SetMinInelasticEnergy | ( | G4double | aM | ) | [inline] |