#include <G4QGSC_CHIPSNeutronBuilder.hh>
Inheritance diagram for G4QGSC_CHIPSNeutronBuilder:
Public Member Functions | |
G4QGSC_CHIPSNeutronBuilder (G4bool quasiElastic=false) | |
virtual | ~G4QGSC_CHIPSNeutronBuilder () |
virtual void | Build (G4HadronElasticProcess *) |
virtual void | Build (G4HadronFissionProcess *) |
virtual void | Build (G4HadronCaptureProcess *) |
virtual void | Build (G4NeutronInelasticProcess *aP) |
void | SetMinEnergy (G4double aM) |
Definition at line 48 of file G4QGSC_CHIPSNeutronBuilder.hh.
G4QGSC_CHIPSNeutronBuilder::G4QGSC_CHIPSNeutronBuilder | ( | G4bool | quasiElastic = false |
) |
Definition at line 33 of file G4QGSC_CHIPSNeutronBuilder.cc.
References G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4TheoFSGenerator::SetQuasiElasticChannel(), and G4TheoFSGenerator::SetTransport().
00034 { 00035 theMin = 0*GeV; 00036 theModel = new G4TheoFSGenerator("QGSC_CHIPS"); 00037 00038 theStringModel= new G4QGSModel< G4QGSParticipants >; 00039 theStringDecay = new G4ExcitedStringDecay(new G4QGSMFragmentation); 00040 theStringModel->SetFragmentationModel(theStringDecay); 00041 00042 theCascade = new G4StringChipsParticleLevelInterface; 00043 00044 theModel->SetTransport(theCascade); 00045 theModel->SetHighEnergyGenerator(theStringModel); 00046 if (quasiElastic) 00047 { 00048 theQuasiElastic=new G4QuasiElasticChannel; 00049 theModel->SetQuasiElasticChannel(theQuasiElastic); 00050 } else 00051 { theQuasiElastic=0;} 00052 }
G4QGSC_CHIPSNeutronBuilder::~G4QGSC_CHIPSNeutronBuilder | ( | ) | [virtual] |
Definition at line 55 of file G4QGSC_CHIPSNeutronBuilder.cc.
00056 { 00057 delete theStringDecay; 00058 delete theStringModel; 00059 delete theCascade; 00060 if ( theQuasiElastic ) delete theQuasiElastic; 00061 delete theModel; 00062 }
void G4QGSC_CHIPSNeutronBuilder::Build | ( | G4NeutronInelasticProcess * | aP | ) | [virtual] |
Implements G4VNeutronBuilder.
Definition at line 65 of file G4QGSC_CHIPSNeutronBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00066 { 00067 theModel->SetMinEnergy(theMin); 00068 theModel->SetMaxEnergy(100*TeV); 00069 aP->RegisterMe(theModel); 00070 aP->AddDataSet(&theXSec); 00071 }
virtual void G4QGSC_CHIPSNeutronBuilder::Build | ( | G4HadronCaptureProcess * | ) | [inline, virtual] |
virtual void G4QGSC_CHIPSNeutronBuilder::Build | ( | G4HadronFissionProcess * | ) | [inline, virtual] |
virtual void G4QGSC_CHIPSNeutronBuilder::Build | ( | G4HadronElasticProcess * | ) | [inline, virtual] |
void G4QGSC_CHIPSNeutronBuilder::SetMinEnergy | ( | G4double | aM | ) | [inline] |