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

#include <G4QGSPNeutronBuilder.hh>

+ Inheritance diagram for G4QGSPNeutronBuilder:

Public Member Functions

 G4QGSPNeutronBuilder (G4bool quasiElastic=false)
 
virtual ~G4QGSPNeutronBuilder ()
 
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 G4QGSPNeutronBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSPNeutronBuilder()

G4QGSPNeutronBuilder::G4QGSPNeutronBuilder ( G4bool quasiElastic = false)

Definition at line 50 of file G4QGSPNeutronBuilder.cc.

52{
54 theModel = new G4TheoFSGenerator("QGSP");
55
56 G4QGSModel< G4QGSParticipants >* theStringModel =
58 G4ExcitedStringDecay* theStringDecay =
60 theStringModel->SetFragmentationModel(theStringDecay);
61
64
65 theModel->SetTransport(theCascade);
66 theModel->SetHighEnergyGenerator(theStringModel);
67 if (quasiElastic)
68 {
70 }
71}
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)

◆ ~G4QGSPNeutronBuilder()

G4QGSPNeutronBuilder::~G4QGSPNeutronBuilder ( )
virtual

Definition at line 73 of file G4QGSPNeutronBuilder.cc.

74{
75}

Member Function Documentation

◆ Build() [1/4]

virtual void G4QGSPNeutronBuilder::Build ( G4HadronElasticProcess * )
inlinefinaloverridevirtual

Implements G4VNeutronBuilder.

Definition at line 65 of file G4QGSPNeutronBuilder.hh.

65{}

Referenced by G4HadronPhysicsQGSP_BERT_HP::Neutron().

◆ Build() [2/4]

void G4QGSPNeutronBuilder::Build ( G4HadronInelasticProcess * aP)
finaloverridevirtual

Implements G4VNeutronBuilder.

Definition at line 77 of file G4QGSPNeutronBuilder.cc.

79{
80 theModel->SetMinEnergy(theMin);
81 theModel->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
82 aP->RegisterMe(theModel);
84}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)

◆ Build() [3/4]

virtual void G4QGSPNeutronBuilder::Build ( G4NeutronCaptureProcess * )
inlinefinaloverridevirtual

Implements G4VNeutronBuilder.

Definition at line 67 of file G4QGSPNeutronBuilder.hh.

67{}

◆ Build() [4/4]

virtual void G4QGSPNeutronBuilder::Build ( G4NeutronFissionProcess * )
inlinefinaloverridevirtual

Implements G4VNeutronBuilder.

Definition at line 66 of file G4QGSPNeutronBuilder.hh.

66{}

◆ SetMinEnergy()

virtual void G4QGSPNeutronBuilder::SetMinEnergy ( G4double aM)
inlinefinaloverridevirtual

Reimplemented from G4PhysicsBuilderInterface.

Definition at line 70 of file G4QGSPNeutronBuilder.hh.

70{theMin = aM;}

Referenced by G4HadronPhysicsQGSP_BERT_HP::Neutron().


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