65 G4HadronPhysicsQGSP_FTFP_BERT::tpdata = 0;
110 , QuasiElastic(quasiElastic)
114 void G4HadronPhysicsQGSP_FTFP_BERT::CreateModels()
123 G4bool quasiElasFTF=
false;
124 G4bool quasiElasQGS=
true;
126 G4cout <<
" New QGSP_FTFP_BERT physics list, replaces LEP with FTF/P for p/n/pi (/K?)";
128 G4cout <<
" 1) between BERT and FTF/P over the interval "
129 << minFTFP/
GeV <<
" to " << maxBERT/
GeV <<
" GeV. " <<
G4endl;
130 G4cout <<
" 2) between FTF/P and QGS/P over the interval "
131 << minQGSP/
GeV <<
" to " << maxFTFP/
GeV <<
" GeV. " <<
G4endl;
132 G4cout <<
" -- quasiElastic was asked to be " << QuasiElastic << G4endl
133 <<
" Changed to " << quasiElasQGS <<
" for QGS "
134 <<
" and to " << quasiElasFTF <<
" (must be false) for FTF" <<
G4endl;
138 tpdata->theQGSPNeutron->SetMinEnergy(minQGSP);
140 tpdata->theFTFPNeutron->SetMinEnergy(minFTFP);
141 tpdata->theFTFPNeutron->SetMaxEnergy(maxFTFP);
144 tpdata->theBertiniNeutron->SetMinEnergy(0.0*
GeV);
145 tpdata->theBertiniNeutron->SetMaxEnergy(maxBERT);
149 tpdata->theQGSPPro->SetMinEnergy(minQGSP);
151 tpdata->theFTFPPro->SetMinEnergy(minFTFP);
152 tpdata->theFTFPPro->SetMaxEnergy(maxFTFP);
154 tpdata->theBertiniPro->SetMaxEnergy(maxBERT);
157 tpdata->thePiK->RegisterMe(tpdata->theQGSPPiK=
new G4QGSPPiKBuilder(quasiElasQGS));
158 tpdata->theQGSPPiK->SetMinEnergy(minQGSP);
159 tpdata->thePiK->RegisterMe(tpdata->theFTFPPiK=
new G4FTFPPiKBuilder(quasiElasFTF));
160 tpdata->theFTFPPiK->SetMaxEnergy(maxFTFP);
161 tpdata->theFTFPPiK->SetMinEnergy(minFTFP);
163 tpdata->theBertiniPiK->SetMaxEnergy(maxBERT);
174 delete tpdata->theQGSPNeutron;
175 delete tpdata->theFTFPNeutron;
176 delete tpdata->theBertiniNeutron;
177 delete tpdata->theNeutrons;
179 delete tpdata->theQGSPPro;
180 delete tpdata->theFTFPPro;
181 delete tpdata->thePro;
182 delete tpdata->theBertiniPro;
184 delete tpdata->theQGSPPiK;
185 delete tpdata->theFTFPPiK;
186 delete tpdata->theBertiniPiK;
187 delete tpdata->thePiK;
189 delete tpdata->theHyperon;
190 delete tpdata->theAntiBaryon;
191 delete tpdata->theFTFPAntiBaryon;
193 delete tpdata->xsNeutronInelasticXS;
194 delete tpdata->xsNeutronCaptureXS;
196 delete tpdata; tpdata = 0;
217 if ( tpdata == 0 ) tpdata =
new ThreadPrivate;
219 tpdata->theNeutrons->Build();
220 tpdata->thePro->Build();
221 tpdata->thePiK->Build();
222 tpdata->theHyperon->Build();
223 tpdata->theAntiBaryon->Build();
232 for (
size_t i=0; i < static_cast<size_t>(pv->
size()); ++i ) {
233 if (
fCapture == ((*pv)[i])->GetProcessSubType() ) {
242 capture->
AddDataSet(tpdata->xsNeutronCaptureXS);
virtual void ConstructProcess()
G4_DECLARE_PHYSCONSTR_FACTORY(G4HadronPhysicsQGSP_FTFP_BERT)
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()
G4ProcessManager * GetProcessManager() const
static void ConstructParticle()
void RegisterMe(G4HadronicInteraction *a)
static G4HadronicProcess * FindInelasticProcess(const G4ParticleDefinition *)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4GLOB_DLL std::ostream G4cout
virtual void ConstructParticle()
static G4Neutron * Neutron()
virtual ~G4HadronPhysicsQGSP_FTFP_BERT()
G4ProcessVector * GetProcessList() const
G4HadronPhysicsQGSP_FTFP_BERT(G4int verbose=1)