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

#include <G4BertiniNeutronBuilder.hh>

+ Inheritance diagram for G4BertiniNeutronBuilder:

Public Member Functions

 G4BertiniNeutronBuilder ()
 
virtual ~G4BertiniNeutronBuilder ()
 
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 SetMaxEnergy (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 52 of file G4BertiniNeutronBuilder.hh.

Constructor & Destructor Documentation

◆ G4BertiniNeutronBuilder()

G4BertiniNeutronBuilder::G4BertiniNeutronBuilder ( )

Definition at line 45 of file G4BertiniNeutronBuilder.cc.

47{
48 theMin = 0;
49 theMax = 9.9*GeV;
50 theModel = new G4CascadeInterface;
51}

◆ ~G4BertiniNeutronBuilder()

G4BertiniNeutronBuilder::~G4BertiniNeutronBuilder ( )
virtual

Definition at line 61 of file G4BertiniNeutronBuilder.cc.

63{
64}

Member Function Documentation

◆ Build() [1/4]

void G4BertiniNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 76 of file G4BertiniNeutronBuilder.cc.

78{
79}

◆ Build() [2/4]

void G4BertiniNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 66 of file G4BertiniNeutronBuilder.cc.

68{
69}

◆ Build() [3/4]

void G4BertiniNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 71 of file G4BertiniNeutronBuilder.cc.

73{
74}

◆ Build() [4/4]

void G4BertiniNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 53 of file G4BertiniNeutronBuilder.cc.

55{
56 theModel->SetMinEnergy(theMin);
57 theModel->SetMaxEnergy(theMax);
58 aP->RegisterMe(theModel);
59}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void RegisterMe(G4HadronicInteraction *a)

◆ SetMaxEnergy()

void G4BertiniNeutronBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 65 of file G4BertiniNeutronBuilder.hh.

65{theMax = aM;}

◆ SetMinEnergy()

void G4BertiniNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 64 of file G4BertiniNeutronBuilder.hh.

64{theMin = aM;}

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