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

#include <G4FTFPNeutronBuilder.hh>

+ Inheritance diagram for G4FTFPNeutronBuilder:

Public Member Functions

 G4FTFPNeutronBuilder (G4bool quasiElastic=false)
 
virtual ~G4FTFPNeutronBuilder ()
 
virtual void Build (G4HadronElasticProcess *aP)
 
virtual void Build (G4HadronFissionProcess *aP)
 
virtual void Build (G4HadronCaptureProcess *aP)
 
virtual void Build (G4NeutronInelasticProcess *aP)
 
void SetMinEnergy (G4double aM)
 
void SetMaxEnergy (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 59 of file G4FTFPNeutronBuilder.hh.

Constructor & Destructor Documentation

◆ G4FTFPNeutronBuilder()

G4FTFPNeutronBuilder::G4FTFPNeutronBuilder ( G4bool  quasiElastic = false)

Definition at line 48 of file G4FTFPNeutronBuilder.cc.

50{
51 theMin = 4*GeV;
52 theMax = 100*TeV;
53 theModel = new G4TheoFSGenerator("FTFP");
54
55 theStringModel = new G4FTFModel;
56 theStringDecay = new G4ExcitedStringDecay(theLund = new G4LundStringFragmentation);
57 theStringModel->SetFragmentationModel(theStringDecay);
58
59 thePreEquilib = new G4PreCompoundModel(theHandler = new G4ExcitationHandler);
60 theCascade = new G4GeneratorPrecompoundInterface(thePreEquilib);
61
62 theModel->SetTransport(theCascade);
63
64 theModel->SetHighEnergyGenerator(theStringModel);
65 if (quasiElastic)
66 {
67 theQuasiElastic=new G4QuasiElasticChannel;
68 theModel->SetQuasiElasticChannel(theQuasiElastic);
69 } else
70 { theQuasiElastic=0;}
71
72 theModel->SetMinEnergy(theMin);
73 theModel->SetMaxEnergy(100*TeV);
74}
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)

◆ ~G4FTFPNeutronBuilder()

G4FTFPNeutronBuilder::~G4FTFPNeutronBuilder ( )
virtual

Definition at line 76 of file G4FTFPNeutronBuilder.cc.

78{
79 delete theStringDecay;
80 delete theStringModel;
81 delete thePreEquilib;
82 delete theCascade;
83 if ( theQuasiElastic ) delete theQuasiElastic;
84 //delete theHandler;
85 delete theLund;
86}

Member Function Documentation

◆ Build() [1/4]

void G4FTFPNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 98 of file G4FTFPNeutronBuilder.cc.

100{
101}

◆ Build() [2/4]

void G4FTFPNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 88 of file G4FTFPNeutronBuilder.cc.

90{
91}

◆ Build() [3/4]

void G4FTFPNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 93 of file G4FTFPNeutronBuilder.cc.

95{
96}

◆ Build() [4/4]

void G4FTFPNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 103 of file G4FTFPNeutronBuilder.cc.

105{
106 theModel->SetMinEnergy(theMin);
107 theModel->SetMaxEnergy(theMax);
108 aP->RegisterMe(theModel);
110
111}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104

◆ SetMaxEnergy()

void G4FTFPNeutronBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 72 of file G4FTFPNeutronBuilder.hh.

72{theMax = aM;}

◆ SetMinEnergy()

void G4FTFPNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 71 of file G4FTFPNeutronBuilder.hh.

71{theMin = aM;}

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