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

#include <G4FTFBinaryNeutronBuilder.hh>

Inheritance diagram for G4FTFBinaryNeutronBuilder:
Collaboration 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)
 
void SetMaxEnergy (G4double aM)
 
- Public Member Functions inherited from G4VNeutronBuilder
 G4VNeutronBuilder ()
 
virtual ~G4VNeutronBuilder ()
 

Detailed Description

Definition at line 57 of file G4FTFBinaryNeutronBuilder.hh.

Constructor & Destructor Documentation

G4FTFBinaryNeutronBuilder::G4FTFBinaryNeutronBuilder ( G4bool  quasiElastic = false)

Definition at line 49 of file G4FTFBinaryNeutronBuilder.cc.

50 {
51  theMin = 4*GeV;
52  theMax = 100*TeV;
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(theMax);
63 
64  theModel->SetHighEnergyGenerator(theStringModel);
65  if (quasiElastic)
66  {
67  theQuasiElastic=new G4QuasiElasticChannel;
68  theModel->SetQuasiElasticChannel(theQuasiElastic);
69  } else
70  { theQuasiElastic=0;}
71 }
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:

G4FTFBinaryNeutronBuilder::~G4FTFBinaryNeutronBuilder ( )
virtual

Definition at line 74 of file G4FTFBinaryNeutronBuilder.cc.

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

Member Function Documentation

void G4FTFBinaryNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 82 of file G4FTFBinaryNeutronBuilder.cc.

83 {
84 }
void G4FTFBinaryNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 87 of file G4FTFBinaryNeutronBuilder.cc.

88 {
89 }
void G4FTFBinaryNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 92 of file G4FTFBinaryNeutronBuilder.cc.

93 {
94 }
void G4FTFBinaryNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 97 of file G4FTFBinaryNeutronBuilder.cc.

98 {
99  theModel->SetMinEnergy(theMin);
100  theModel->SetMaxEnergy(theMax);
101  aP->RegisterMe(theModel);
103 }
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 G4FTFBinaryNeutronBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 70 of file G4FTFBinaryNeutronBuilder.hh.

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

Definition at line 69 of file G4FTFBinaryNeutronBuilder.hh.

69 {theMin = aM;}

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