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

#include <G4QGSBinaryNeutronBuilder.hh>

+ Inheritance diagram for G4QGSBinaryNeutronBuilder:

Public Member Functions

 G4QGSBinaryNeutronBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSBinaryNeutronBuilder ()
 
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 58 of file G4QGSBinaryNeutronBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSBinaryNeutronBuilder()

G4QGSBinaryNeutronBuilder::G4QGSBinaryNeutronBuilder ( G4bool quasiElastic = false)

Definition at line 48 of file G4QGSBinaryNeutronBuilder.cc.

50{
52 theModel = new G4TheoFSGenerator("QGSB");
53
54 G4QGSModel< G4QGSParticipants >* theStringModel =
56 G4ExcitedStringDecay* theStringDecay =
58 theStringModel->SetFragmentationModel(theStringDecay);
59
60 theModel->SetTransport(new G4BinaryCascade());
61 theModel->SetHighEnergyGenerator(theStringModel);
62 if (quasiElastic)
63 {
65 }
66}
static G4HadronicParameters * Instance()
G4double GetMinEnergyTransitionQGS_FTF() const
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4QGSBinaryNeutronBuilder()

G4QGSBinaryNeutronBuilder::~G4QGSBinaryNeutronBuilder ( )
virtual

Definition at line 68 of file G4QGSBinaryNeutronBuilder.cc.

70{
71}

Member Function Documentation

◆ Build() [1/4]

virtual void G4QGSBinaryNeutronBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VNeutronBuilder.

Definition at line 64 of file G4QGSBinaryNeutronBuilder.hh.

64{}

◆ Build() [2/4]

void G4QGSBinaryNeutronBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VNeutronBuilder.

Definition at line 73 of file G4QGSBinaryNeutronBuilder.cc.

75{
76 theModel->SetMinEnergy(theMin);
77 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
78 aP->RegisterMe(theModel);
80}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Neutron * Neutron()
Definition G4Neutron.cc:101

◆ Build() [3/4]

virtual void G4QGSBinaryNeutronBuilder::Build ( G4NeutronCaptureProcess * )
inlinefinaloverridevirtual

Implements G4VNeutronBuilder.

Definition at line 66 of file G4QGSBinaryNeutronBuilder.hh.

66{}

◆ Build() [4/4]

virtual void G4QGSBinaryNeutronBuilder::Build ( G4NeutronFissionProcess * )
inlinefinaloverridevirtual

Implements G4VNeutronBuilder.

Definition at line 65 of file G4QGSBinaryNeutronBuilder.hh.

65{}

◆ SetMinEnergy()

virtual void G4QGSBinaryNeutronBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 69 of file G4QGSBinaryNeutronBuilder.hh.

69{theMin = aM;}

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