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

#include <G4FTFPNeutronBuilder.hh>

Inheritance diagram for G4FTFPNeutronBuilder:
G4VNeutronBuilder

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

Constructor & Destructor Documentation

G4FTFPNeutronBuilder::G4FTFPNeutronBuilder ( G4bool  quasiElastic = false)

Definition at line 49 of file G4FTFPNeutronBuilder.cc.

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

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  thePreEquilib = new G4PreCompoundModel(theHandler = new G4ExcitationHandler);
60  theCascade = new G4GeneratorPrecompoundInterface(thePreEquilib);
61 
62  theModel->SetTransport(theCascade);
63 
64  theModel->SetHighEnergyGenerator(theStringModel);
65  if (quasiElastic)
66  {
67  theQuasiElastic=new G4QuasiElasticChannel;
68  theModel->SetQuasiElasticChannel(theQuasiElastic);
69  } else
70  { theQuasiElastic=0;}
71 
72  theModel->SetMinEnergy(theMin);
73  theModel->SetMaxEnergy(100*TeV);
74 }
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)
G4FTFPNeutronBuilder::~G4FTFPNeutronBuilder ( )
virtual

Definition at line 77 of file G4FTFPNeutronBuilder.cc.

78 {
79  delete theStringDecay;
80  delete theStringModel;
81  delete thePreEquilib;
82  delete theCascade;
83  if ( theQuasiElastic ) delete theQuasiElastic;
84  //delete theHandler;
85  delete theLund;
86 }

Member Function Documentation

void G4FTFPNeutronBuilder::Build ( G4HadronElasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 89 of file G4FTFPNeutronBuilder.cc.

90 {
91 }
void G4FTFPNeutronBuilder::Build ( G4HadronFissionProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 94 of file G4FTFPNeutronBuilder.cc.

95 {
96 }
void G4FTFPNeutronBuilder::Build ( G4HadronCaptureProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 99 of file G4FTFPNeutronBuilder.cc.

100 {
101 }
void G4FTFPNeutronBuilder::Build ( G4NeutronInelasticProcess aP)
virtual

Implements G4VNeutronBuilder.

Definition at line 104 of file G4FTFPNeutronBuilder.cc.

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

105 {
106  theModel->SetMinEnergy(theMin);
107  theModel->SetMaxEnergy(theMax);
108  aP->RegisterMe(theModel);
110 
111 }
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 G4FTFPNeutronBuilder::SetMaxEnergy ( G4double  aM)
inline

Definition at line 72 of file G4FTFPNeutronBuilder.hh.

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

Definition at line 71 of file G4FTFPNeutronBuilder.hh.

71 {theMin = aM;}

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