Geant4 11.2.2
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 *) final override
 
virtual void Build (G4NeutronFissionProcess *) final override
 
virtual void Build (G4NeutronCaptureProcess *) final override
 
virtual void Build (G4HadronInelasticProcess *aP) final override
 
virtual void SetMinEnergy (G4double aM) final override
 
- Public Member Functions inherited from G4VNeutronBuilder
 G4VNeutronBuilder ()=default
 
virtual ~G4VNeutronBuilder ()
 
virtual void Build ()
 
- Public Member Functions inherited from G4PhysicsBuilderInterface
 G4PhysicsBuilderInterface ()=default
 
virtual ~G4PhysicsBuilderInterface ()=default
 
virtual void RegisterMe (G4PhysicsBuilderInterface *)
 
virtual void SetMaxEnergy (G4double)
 

Detailed Description

Definition at line 53 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()

virtual G4PrecoNeutronBuilder::~G4PrecoNeutronBuilder ( )
inlinevirtual

Definition at line 57 of file G4PrecoNeutronBuilder.hh.

57{}

Member Function Documentation

◆ Build() [1/4]

virtual void G4PrecoNeutronBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VNeutronBuilder.

Definition at line 59 of file G4PrecoNeutronBuilder.hh.

59{}

◆ Build() [2/4]

void G4PrecoNeutronBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VNeutronBuilder.

Definition at line 54 of file G4PrecoNeutronBuilder.cc.

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

◆ Build() [3/4]

virtual void G4PrecoNeutronBuilder::Build ( G4NeutronCaptureProcess * )
inlinefinaloverridevirtual

Implements G4VNeutronBuilder.

Definition at line 61 of file G4PrecoNeutronBuilder.hh.

61{}

◆ Build() [4/4]

virtual void G4PrecoNeutronBuilder::Build ( G4NeutronFissionProcess * )
inlinefinaloverridevirtual

Implements G4VNeutronBuilder.

Definition at line 60 of file G4PrecoNeutronBuilder.hh.

60{}

◆ SetMinEnergy()

virtual void G4PrecoNeutronBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 64 of file G4PrecoNeutronBuilder.hh.

64{theMin = aM;}

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