#include <G4QGSC_CHIPSPiKBuilder.hh>
Inheritance diagram for G4QGSC_CHIPSPiKBuilder:
Public Member Functions | |
G4QGSC_CHIPSPiKBuilder (G4bool quasiElastic=false) | |
virtual | ~G4QGSC_CHIPSPiKBuilder () |
virtual void | Build (G4HadronElasticProcess *aP) |
virtual void | Build (G4PionPlusInelasticProcess *aP) |
virtual void | Build (G4PionMinusInelasticProcess *aP) |
virtual void | Build (G4KaonPlusInelasticProcess *aP) |
virtual void | Build (G4KaonMinusInelasticProcess *aP) |
virtual void | Build (G4KaonZeroLInelasticProcess *aP) |
virtual void | Build (G4KaonZeroSInelasticProcess *aP) |
void | SetMinEnergy (G4double aM) |
Definition at line 47 of file G4QGSC_CHIPSPiKBuilder.hh.
G4QGSC_CHIPSPiKBuilder::G4QGSC_CHIPSPiKBuilder | ( | G4bool | quasiElastic = false |
) |
Definition at line 33 of file G4QGSC_CHIPSPiKBuilder.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_CHIPSPiKBuilder::~G4QGSC_CHIPSPiKBuilder | ( | ) | [virtual] |
Definition at line 55 of file G4QGSC_CHIPSPiKBuilder.cc.
00056 { 00057 delete theCascade; 00058 delete theStringDecay; 00059 delete theStringModel; 00060 if ( theQuasiElastic ) delete theQuasiElastic; 00061 delete theModel; 00062 }
void G4QGSC_CHIPSPiKBuilder::Build | ( | G4KaonZeroSInelasticProcess * | aP | ) | [virtual] |
Implements G4VPiKBuilder.
Definition at line 110 of file G4QGSC_CHIPSPiKBuilder.cc.
References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00111 { 00112 theModel->SetMinEnergy(theMin); 00113 theModel->SetMaxEnergy(100*TeV); 00114 aP->RegisterMe(theModel); 00115 }
void G4QGSC_CHIPSPiKBuilder::Build | ( | G4KaonZeroLInelasticProcess * | aP | ) | [virtual] |
Implements G4VPiKBuilder.
Definition at line 102 of file G4QGSC_CHIPSPiKBuilder.cc.
References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00103 { 00104 theModel->SetMinEnergy(theMin); 00105 theModel->SetMaxEnergy(100*TeV); 00106 aP->RegisterMe(theModel); 00107 }
void G4QGSC_CHIPSPiKBuilder::Build | ( | G4KaonMinusInelasticProcess * | aP | ) | [virtual] |
Implements G4VPiKBuilder.
Definition at line 94 of file G4QGSC_CHIPSPiKBuilder.cc.
References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00095 { 00096 theModel->SetMinEnergy(theMin); 00097 theModel->SetMaxEnergy(100*TeV); 00098 aP->RegisterMe(theModel); 00099 }
void G4QGSC_CHIPSPiKBuilder::Build | ( | G4KaonPlusInelasticProcess * | aP | ) | [virtual] |
Implements G4VPiKBuilder.
Definition at line 86 of file G4QGSC_CHIPSPiKBuilder.cc.
References G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00087 { 00088 theModel->SetMinEnergy(theMin); 00089 theModel->SetMaxEnergy(100*TeV); 00090 aP->RegisterMe(theModel); 00091 }
void G4QGSC_CHIPSPiKBuilder::Build | ( | G4PionMinusInelasticProcess * | aP | ) | [virtual] |
Implements G4VPiKBuilder.
Definition at line 77 of file G4QGSC_CHIPSPiKBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00078 { 00079 theModel->SetMinEnergy(theMin); 00080 theModel->SetMaxEnergy(100*TeV); 00081 aP->AddDataSet(&thePiCross); 00082 aP->RegisterMe(theModel); 00083 }
void G4QGSC_CHIPSPiKBuilder::Build | ( | G4PionPlusInelasticProcess * | aP | ) | [virtual] |
Implements G4VPiKBuilder.
Definition at line 68 of file G4QGSC_CHIPSPiKBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00069 { 00070 theModel->SetMinEnergy(theMin); 00071 theModel->SetMaxEnergy(100*TeV); 00072 aP->AddDataSet(&thePiCross); 00073 aP->RegisterMe(theModel); 00074 }
void G4QGSC_CHIPSPiKBuilder::Build | ( | G4HadronElasticProcess * | aP | ) | [virtual] |
void G4QGSC_CHIPSPiKBuilder::SetMinEnergy | ( | G4double | aM | ) | [inline] |