Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4LHEPNeutronBuilder Class Reference

#include <G4LHEPNeutronBuilder.hh>

+ Inheritance diagram for G4LHEPNeutronBuilder:

Public Member Functions

 G4LHEPNeutronBuilder ()
 
virtual ~G4LHEPNeutronBuilder ()
 
virtual void Build (G4HadronElasticProcess *)
 
virtual void Build (G4HadronFissionProcess *aP)
 
virtual void Build (G4HadronCaptureProcess *aP)
 
virtual void Build (G4NeutronInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMinInelasticEnergy (G4double aM)
 
- Public Member Functions inherited from G4VNeutronBuilder
 G4VNeutronBuilder ()
 
virtual ~G4VNeutronBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)=0
 
virtual void Build (G4HadronFissionProcess *aP)=0
 
virtual void Build (G4HadronCaptureProcess *aP)=0
 
virtual void Build (G4NeutronInelasticProcess *aP)=0
 

Detailed Description

Definition at line 42 of file G4LHEPNeutronBuilder.hh.

Constructor & Destructor Documentation

◆ G4LHEPNeutronBuilder()

G4LHEPNeutronBuilder::G4LHEPNeutronBuilder ( )

Definition at line 32 of file G4LHEPNeutronBuilder.cc.

33 :
34 theLENeutronModel(0), theHENeutronModel(0),
35 theNeutronFissionModel(0), theNeutronCaptureModel(0)
36{
37 theMin = 0;
38 theIMin = 0;
39}

◆ ~G4LHEPNeutronBuilder()

G4LHEPNeutronBuilder::~G4LHEPNeutronBuilder ( )
virtual

Definition at line 41 of file G4LHEPNeutronBuilder.cc.

43{
44 delete theLENeutronModel;
45 delete theHENeutronModel;
46}

Member Function Documentation

◆ Build() [1/4]

void G4LHEPNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 73 of file G4LHEPNeutronBuilder.cc.

75 {
76 theNeutronCaptureModel = new G4LCapture();
77 theNeutronCaptureModel->SetMinEnergy(theMin);
78 aP->RegisterMe(theNeutronCaptureModel);
79 }
void SetMinEnergy(G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [2/4]

void G4LHEPNeutronBuilder::Build ( G4HadronElasticProcess )
virtual

Implements G4VNeutronBuilder.

Definition at line 68 of file G4LHEPNeutronBuilder.cc.

70 {
71 }

◆ Build() [3/4]

void G4LHEPNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 60 of file G4LHEPNeutronBuilder.cc.

62 {
63 theNeutronFissionModel = new G4LFission();
64 theNeutronFissionModel->SetMinEnergy(theMin);
65 aP->RegisterMe(theNeutronFissionModel);
66 }

◆ Build() [4/4]

void G4LHEPNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 48 of file G4LHEPNeutronBuilder.cc.

50 {
51 theLENeutronModel = new G4LENeutronInelastic();
52 theHENeutronModel = new G4HENeutronInelastic();
53 theLENeutronModel->SetMinEnergy(theIMin);
54 theLENeutronModel->SetMaxEnergy(55*GeV);
55 theHENeutronModel->SetMinEnergy(25*GeV);
56 aP->RegisterMe(theLENeutronModel);
57 aP->RegisterMe(theHENeutronModel);
58 }
void SetMaxEnergy(const G4double anEnergy)

◆ SetMinEnergy()

void G4LHEPNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 54 of file G4LHEPNeutronBuilder.hh.

55 {
56 theMin = aM;
57 theIMin = aM;
58 }

◆ SetMinInelasticEnergy()

void G4LHEPNeutronBuilder::SetMinInelasticEnergy ( G4double  aM)
inline

Definition at line 59 of file G4LHEPNeutronBuilder.hh.

60 {
61 theIMin = aM;
62 }

The documentation for this class was generated from the following files: