Geant4 9.6.0
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 *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 60 of file G4QGSBinaryNeutronBuilder.hh.

Constructor & Destructor Documentation

◆ G4QGSBinaryNeutronBuilder()

G4QGSBinaryNeutronBuilder::G4QGSBinaryNeutronBuilder ( G4bool  quasiElastic = false)

Definition at line 47 of file G4QGSBinaryNeutronBuilder.cc.

49{
50 theMin = 12*GeV;
51 theModel = new G4TheoFSGenerator("QGSB");
52
53 theStringModel = new G4QGSModel< G4QGSParticipants >;
54 theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation);
55 theStringModel->SetFragmentationModel(theStringDecay);
56
57 theCascade = new G4BinaryCascade;
58 thePreEquilib = new G4PreCompoundModel(new G4ExcitationHandler);
59 theCascade->SetDeExcitation(thePreEquilib);
60
61 theModel->SetTransport(theCascade);
62 theModel->SetHighEnergyGenerator(theStringModel);
63 if (quasiElastic)
64 {
65 theQuasiElastic=new G4QuasiElasticChannel;
66 theModel->SetQuasiElasticChannel(theQuasiElastic);
67 } else
68 { theQuasiElastic=0;}
69}
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetDeExcitation(G4VPreCompoundModel *ptr)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4QGSBinaryNeutronBuilder()

G4QGSBinaryNeutronBuilder::~G4QGSBinaryNeutronBuilder ( )
virtual

Definition at line 71 of file G4QGSBinaryNeutronBuilder.cc.

73{
74 delete theStringDecay;
75 delete theStringModel;
76 delete thePreEquilib;
77 delete theCascade;
78 if ( theQuasiElastic ) delete theQuasiElastic;
79 delete theModel;
80}

Member Function Documentation

◆ Build() [1/4]

void G4QGSBinaryNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 92 of file G4QGSBinaryNeutronBuilder.cc.

94{
95}

◆ Build() [2/4]

void G4QGSBinaryNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 82 of file G4QGSBinaryNeutronBuilder.cc.

84{
85}

◆ Build() [3/4]

void G4QGSBinaryNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 87 of file G4QGSBinaryNeutronBuilder.cc.

89{
90}

◆ Build() [4/4]

void G4QGSBinaryNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 97 of file G4QGSBinaryNeutronBuilder.cc.

99{
100 theModel->SetMinEnergy(theMin);
101 theModel->SetMaxEnergy(100*TeV);
102 aP->RegisterMe(theModel);
104}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104

◆ SetMinEnergy()

void G4QGSBinaryNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 72 of file G4QGSBinaryNeutronBuilder.hh.

72{theMin = aM;}

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