Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
G4FTFBinaryNeutronBuilder Class Reference

#include <G4FTFBinaryNeutronBuilder.hh>

Inheritance diagram for G4FTFBinaryNeutronBuilder:
G4VNeutronBuilder

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 59 of file G4FTFBinaryNeutronBuilder.hh.

Constructor & Destructor Documentation

G4FTFBinaryNeutronBuilder::G4FTFBinaryNeutronBuilder ( G4bool  quasiElastic = false)

Definition at line 50 of file G4FTFBinaryNeutronBuilder.cc.

References python.hepunit::GeV, G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), G4TheoFSGenerator::SetQuasiElasticChannel(), G4TheoFSGenerator::SetTransport(), and python.hepunit::TeV.

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

Definition at line 75 of file G4FTFBinaryNeutronBuilder.cc.

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

Member Function Documentation

void G4FTFBinaryNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 84 of file G4FTFBinaryNeutronBuilder.cc.

85 {
86 }
void G4FTFBinaryNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 89 of file G4FTFBinaryNeutronBuilder.cc.

90 {
91 }
void G4FTFBinaryNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 94 of file G4FTFBinaryNeutronBuilder.cc.

95 {
96 }
void G4FTFBinaryNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 99 of file G4FTFBinaryNeutronBuilder.cc.

References G4HadronicProcess::AddDataSet(), G4Neutron::Neutron(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().

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

Definition at line 72 of file G4FTFBinaryNeutronBuilder.hh.

72 {theMax = aM;}
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: