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

#include <G4FTFBinaryNeutronBuilder.hh>

+ Inheritance diagram for G4FTFBinaryNeutronBuilder:

Public Member Functions

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

Constructor & Destructor Documentation

◆ G4FTFBinaryNeutronBuilder()

G4FTFBinaryNeutronBuilder::G4FTFBinaryNeutronBuilder ( G4bool  quasiElastic = false)

Definition at line 49 of file G4FTFBinaryNeutronBuilder.cc.

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

◆ ~G4FTFBinaryNeutronBuilder()

G4FTFBinaryNeutronBuilder::~G4FTFBinaryNeutronBuilder ( )
virtual

Definition at line 73 of file G4FTFBinaryNeutronBuilder.cc.

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

Member Function Documentation

◆ Build() [1/4]

void G4FTFBinaryNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 92 of file G4FTFBinaryNeutronBuilder.cc.

94{
95}

◆ Build() [2/4]

void G4FTFBinaryNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 82 of file G4FTFBinaryNeutronBuilder.cc.

84{
85}

◆ Build() [3/4]

void G4FTFBinaryNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 87 of file G4FTFBinaryNeutronBuilder.cc.

89{
90}

◆ Build() [4/4]

void G4FTFBinaryNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 97 of file G4FTFBinaryNeutronBuilder.cc.

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

◆ SetMinEnergy()

void G4FTFBinaryNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 71 of file G4FTFBinaryNeutronBuilder.hh.

71{theMin = aM;}

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