Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4FTFPNeutronBuilder Class Reference

#include <G4FTFPNeutronBuilder.hh>

Inheritance diagram for G4FTFPNeutronBuilder:
Collaboration 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 ()
 

Detailed Description

Definition at line 57 of file G4FTFPNeutronBuilder.hh.

Constructor & Destructor Documentation

G4FTFPNeutronBuilder::G4FTFPNeutronBuilder ( G4bool  quasiElastic = false)

Definition at line 49 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  theCascade = new G4GeneratorPrecompoundInterface();
60 
61  theModel->SetTransport(theCascade);
62 
63  theModel->SetHighEnergyGenerator(theStringModel);
64  if (quasiElastic)
65  {
66  theQuasiElastic=new G4QuasiElasticChannel;
67  theModel->SetQuasiElasticChannel(theQuasiElastic);
68  } else
69  { theQuasiElastic=0;}
70 
71  theModel->SetMinEnergy(theMin);
72  theModel->SetMaxEnergy(100*TeV);
73 }
void SetQuasiElasticChannel(G4QuasiElasticChannel *const value)
void SetFragmentationModel(G4VStringFragmentation *aModel)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
static constexpr double TeV
Definition: G4SIunits.hh:218
void SetMinEnergy(G4double anEnergy)
static constexpr double GeV
Definition: G4SIunits.hh:217
void SetMaxEnergy(const G4double anEnergy)
void SetTransport(G4VIntraNuclearTransportModel *const value)

Here is the call graph for this function:

G4FTFPNeutronBuilder::~G4FTFPNeutronBuilder ( )
virtual

Definition at line 76 of file G4FTFPNeutronBuilder.cc.

77 {
78  delete theStringDecay;
79  delete theStringModel;
80  if ( theQuasiElastic ) delete theQuasiElastic;
81  delete theLund;
82 }

Member Function Documentation

void G4FTFPNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 85 of file G4FTFPNeutronBuilder.cc.

86 {
87 }
void G4FTFPNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 90 of file G4FTFPNeutronBuilder.cc.

91 {
92 }
void G4FTFPNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 95 of file G4FTFPNeutronBuilder.cc.

96 {
97 }
void G4FTFPNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 100 of file G4FTFPNeutronBuilder.cc.

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

Here is the call graph for this function:

void G4FTFPNeutronBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 70 of file G4FTFPNeutronBuilder.hh.

70 {theMax = aM;}
void G4FTFPNeutronBuilder::SetMinEnergy ( G4double  aM)
inline

Definition at line 69 of file G4FTFPNeutronBuilder.hh.

69 {theMin = aM;}

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