#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) |
Definition at line 59 of file G4FTFBinaryNeutronBuilder.hh.
G4FTFBinaryNeutronBuilder::G4FTFBinaryNeutronBuilder | ( | G4bool | quasiElastic = false |
) |
Definition at line 50 of file G4FTFBinaryNeutronBuilder.cc.
References G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), G4TheoFSGenerator::SetQuasiElasticChannel(), and G4TheoFSGenerator::SetTransport().
00051 { 00052 theMin = 4*GeV; 00053 theModel = new G4TheoFSGenerator("FTFB"); 00054 00055 theStringModel = new G4FTFModel; 00056 theStringDecay = new G4ExcitedStringDecay(new G4LundStringFragmentation); 00057 theStringModel->SetFragmentationModel(theStringDecay); 00058 00059 theCascade = new G4BinaryCascade; 00060 theModel->SetTransport(theCascade); 00061 theModel->SetMinEnergy(theMin); 00062 theModel->SetMaxEnergy(100*TeV); 00063 00064 theModel->SetHighEnergyGenerator(theStringModel); 00065 if (quasiElastic) 00066 { 00067 theQuasiElastic=new G4QuasiElasticChannel; 00068 theModel->SetQuasiElasticChannel(theQuasiElastic); 00069 } else 00070 { theQuasiElastic=0;} 00071 }
G4FTFBinaryNeutronBuilder::~G4FTFBinaryNeutronBuilder | ( | ) | [virtual] |
Definition at line 74 of file G4FTFBinaryNeutronBuilder.cc.
00075 { 00076 delete theStringDecay; 00077 delete theStringModel; 00078 delete theCascade; 00079 if ( theQuasiElastic ) delete theQuasiElastic; 00080 }
void G4FTFBinaryNeutronBuilder::Build | ( | G4NeutronInelasticProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 98 of file G4FTFBinaryNeutronBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4Neutron::Neutron(), G4HadronicProcess::RegisterMe(), and G4HadronicInteraction::SetMinEnergy().
00099 { 00100 theModel->SetMinEnergy(theMin); 00101 aP->RegisterMe(theModel); 00102 aP->AddDataSet(new G4BGGNucleonInelasticXS(G4Neutron::Neutron())); 00103 }
void G4FTFBinaryNeutronBuilder::Build | ( | G4HadronCaptureProcess * | aP | ) | [virtual] |
void G4FTFBinaryNeutronBuilder::Build | ( | G4HadronFissionProcess * | aP | ) | [virtual] |
void G4FTFBinaryNeutronBuilder::Build | ( | G4HadronElasticProcess * | aP | ) | [virtual] |
void G4FTFBinaryNeutronBuilder::SetMinEnergy | ( | G4double | aM | ) | [inline] |