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

#include <G4FTFCNeutronBuilder.hh>

+ Inheritance diagram for G4FTFCNeutronBuilder:

Public Member Functions

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

Constructor & Destructor Documentation

◆ G4FTFCNeutronBuilder()

G4FTFCNeutronBuilder::G4FTFCNeutronBuilder ( G4bool  quasiElastic = false)

Definition at line 46 of file G4FTFCNeutronBuilder.cc.

48{
49 theMin = 4*GeV;
50 theModel = new G4TheoFSGenerator;
51
52 theStringModel = new G4FTFModel;
53 theStringDecay = new G4ExcitedStringDecay(new G4LundStringFragmentation);
54 theStringModel->SetFragmentationModel(theStringDecay);
55
57
58 theModel->SetHighEnergyGenerator(theStringModel);
59 if (quasiElastic)
60 {
61 theQuasiElastic=new G4QuasiElasticChannel;
62 theModel->SetQuasiElasticChannel(theQuasiElastic);
63 } else
64 { theQuasiElastic=0;}
65
66 theModel->SetTransport(theCascade);
67 theModel->SetMinEnergy(theMin);
68 theModel->SetMaxEnergy(100*TeV);
69}
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)

◆ ~G4FTFCNeutronBuilder()

G4FTFCNeutronBuilder::~G4FTFCNeutronBuilder ( )
virtual

Definition at line 71 of file G4FTFCNeutronBuilder.cc.

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

Member Function Documentation

◆ Build() [1/4]

void G4FTFCNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 90 of file G4FTFCNeutronBuilder.cc.

92{
93}

◆ Build() [2/4]

void G4FTFCNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 80 of file G4FTFCNeutronBuilder.cc.

82{
83}

◆ Build() [3/4]

void G4FTFCNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 85 of file G4FTFCNeutronBuilder.cc.

87{
88}

◆ Build() [4/4]

void G4FTFCNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 95 of file G4FTFCNeutronBuilder.cc.

97{
98 theModel->SetMinEnergy(theMin);
100 aP->RegisterMe(theModel);
101}
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)

◆ SetMinEnergy()

void G4FTFCNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 69 of file G4FTFCNeutronBuilder.hh.

69{theMin = aM;}

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