#include <G4FTFCPiKBuilder.hh>
Inheritance diagram for G4FTFCPiKBuilder:
Public Member Functions | |
G4FTFCPiKBuilder (G4bool quasiElastic=false) | |
virtual | ~G4FTFCPiKBuilder () |
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 59 of file G4FTFCPiKBuilder.hh.
G4FTFCPiKBuilder::G4FTFCPiKBuilder | ( | G4bool | quasiElastic = false |
) |
Definition at line 46 of file G4FTFCPiKBuilder.cc.
References G4VPartonStringModel::SetFragmentationModel(), G4TheoFSGenerator::SetHighEnergyGenerator(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), G4TheoFSGenerator::SetQuasiElasticChannel(), and G4TheoFSGenerator::SetTransport().
00047 { 00048 thePiData = new G4PiNuclearCrossSection; 00049 theMin = 4*GeV; 00050 theModel = new G4TheoFSGenerator; 00051 00052 theStringModel = new G4FTFModel; 00053 theStringDecay = new G4ExcitedStringDecay(new G4LundStringFragmentation); 00054 theStringModel->SetFragmentationModel(theStringDecay); 00055 00056 theCascade = new G4StringChipsParticleLevelInterface; 00057 00058 theModel->SetTransport(theCascade); 00059 theModel->SetHighEnergyGenerator(theStringModel); 00060 if (quasiElastic) 00061 { 00062 theQuasiElastic=new G4QuasiElasticChannel; 00063 theModel->SetQuasiElasticChannel(theQuasiElastic); 00064 } else 00065 { theQuasiElastic=0;} 00066 00067 theModel->SetMinEnergy(theMin); 00068 theModel->SetMaxEnergy(100*TeV); 00069 }
G4FTFCPiKBuilder::~G4FTFCPiKBuilder | ( | ) | [virtual] |
Definition at line 72 of file G4FTFCPiKBuilder.cc.
00073 { 00074 delete theCascade; 00075 delete theStringDecay; 00076 delete theStringModel; 00077 delete theModel; 00078 }
void G4FTFCPiKBuilder::Build | ( | G4KaonZeroSInelasticProcess * | aP | ) | [virtual] |
Implements G4VPiKBuilder.
Definition at line 121 of file G4FTFCPiKBuilder.cc.
References G4HadronicProcess::RegisterMe(), and G4HadronicInteraction::SetMinEnergy().
00122 { 00123 theModel->SetMinEnergy(theMin); 00124 aP->RegisterMe(theModel); 00125 }
void G4FTFCPiKBuilder::Build | ( | G4KaonZeroLInelasticProcess * | aP | ) | [virtual] |
Implements G4VPiKBuilder.
Definition at line 114 of file G4FTFCPiKBuilder.cc.
References G4HadronicProcess::RegisterMe(), and G4HadronicInteraction::SetMinEnergy().
00115 { 00116 theModel->SetMinEnergy(theMin); 00117 aP->RegisterMe(theModel); 00118 }
void G4FTFCPiKBuilder::Build | ( | G4KaonMinusInelasticProcess * | aP | ) | [virtual] |
Implements G4VPiKBuilder.
Definition at line 107 of file G4FTFCPiKBuilder.cc.
References G4HadronicProcess::RegisterMe(), and G4HadronicInteraction::SetMinEnergy().
00108 { 00109 theModel->SetMinEnergy(theMin); 00110 aP->RegisterMe(theModel); 00111 }
void G4FTFCPiKBuilder::Build | ( | G4KaonPlusInelasticProcess * | aP | ) | [virtual] |
Implements G4VPiKBuilder.
Definition at line 100 of file G4FTFCPiKBuilder.cc.
References G4HadronicProcess::RegisterMe(), and G4HadronicInteraction::SetMinEnergy().
00101 { 00102 theModel->SetMinEnergy(theMin); 00103 aP->RegisterMe(theModel); 00104 }
void G4FTFCPiKBuilder::Build | ( | G4PionMinusInelasticProcess * | aP | ) | [virtual] |
Implements G4VPiKBuilder.
Definition at line 92 of file G4FTFCPiKBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), and G4HadronicInteraction::SetMinEnergy().
00093 { 00094 aP->AddDataSet(thePiData); 00095 theModel->SetMinEnergy(theMin); 00096 aP->RegisterMe(theModel); 00097 }
void G4FTFCPiKBuilder::Build | ( | G4PionPlusInelasticProcess * | aP | ) | [virtual] |
Implements G4VPiKBuilder.
Definition at line 84 of file G4FTFCPiKBuilder.cc.
References G4HadronicProcess::AddDataSet(), G4HadronicProcess::RegisterMe(), and G4HadronicInteraction::SetMinEnergy().
00085 { 00086 aP->AddDataSet(thePiData); 00087 theModel->SetMinEnergy(theMin); 00088 aP->RegisterMe(theModel); 00089 }
void G4FTFCPiKBuilder::Build | ( | G4HadronElasticProcess * | aP | ) | [virtual] |
void G4FTFCPiKBuilder::SetMinEnergy | ( | G4double | aM | ) | [inline] |