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

#include <G4PrecoNeutronBuilder.hh>

+ Inheritance diagram for G4PrecoNeutronBuilder:

Public Member Functions

 G4PrecoNeutronBuilder ()
 
virtual ~G4PrecoNeutronBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4HadronFissionProcess *aP)
 
virtual void Build (G4HadronCaptureProcess *aP)
 
virtual void Build (G4NeutronInelasticProcess *aP)
 
void SetMinEnergy (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 54 of file G4PrecoNeutronBuilder.hh.

Constructor & Destructor Documentation

◆ G4PrecoNeutronBuilder()

G4PrecoNeutronBuilder::G4PrecoNeutronBuilder ( )

Definition at line 46 of file G4PrecoNeutronBuilder.cc.

48{
49 theMin = 0;
50 theMax = 170.*MeV;
51 theModel = new G4PreCompoundModel(new G4ExcitationHandler);
52}

◆ ~G4PrecoNeutronBuilder()

G4PrecoNeutronBuilder::~G4PrecoNeutronBuilder ( )
virtual

Definition at line 54 of file G4PrecoNeutronBuilder.cc.

56{
57 delete theModel;
58}

Member Function Documentation

◆ Build() [1/4]

void G4PrecoNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 70 of file G4PrecoNeutronBuilder.cc.

72{
73}

◆ Build() [2/4]

void G4PrecoNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 60 of file G4PrecoNeutronBuilder.cc.

62{
63}

◆ Build() [3/4]

void G4PrecoNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 65 of file G4PrecoNeutronBuilder.cc.

67{
68}

◆ Build() [4/4]

void G4PrecoNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 75 of file G4PrecoNeutronBuilder.cc.

77{
78 theModel->SetMinEnergy(theMin);
79 theModel->SetMaxEnergy(theMax);
80 aP->RegisterMe(theModel);
82}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)

◆ SetMinEnergy()

void G4PrecoNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 66 of file G4PrecoNeutronBuilder.hh.

66{theMin = aM;}

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