70 G4HadronPhysicsQGSP_BIC_HP::tpdata = 0;
116 void G4HadronPhysicsQGSP_BIC_HP::CreateModels()
118 G4bool quasiElasticFTF=
false;
119 G4bool quasiElasticQGS=
true;
128 tpdata->theNeutrons->RegisterMe(tpdata->theQGSPNeutron=
new G4QGSPNeutronBuilder(quasiElasticQGS));
129 tpdata->theNeutrons->RegisterMe(tpdata->theFTFPNeutron=
new G4FTFPNeutronBuilder(quasiElasticFTF));
130 tpdata->theFTFPNeutron->SetMinEnergy(minFTFP);
131 tpdata->theFTFPNeutron->SetMaxEnergy(maxFTFP);
134 tpdata->theBinaryNeutron->SetMinEnergy(maxHP);
135 tpdata->theBinaryNeutron->SetMaxEnergy(maxBIC);
142 tpdata->theFTFPPro->SetMinEnergy(minFTFP);
143 tpdata->theFTFPPro->SetMaxEnergy(maxFTFP);
145 tpdata->theBinaryPro->SetMaxEnergy(maxBIC);
148 tpdata->thePiK->RegisterMe(tpdata->theQGSPPiK=
new G4QGSPPiKBuilder(quasiElasticQGS));
149 tpdata->thePiK->RegisterMe(tpdata->theFTFPPiK=
new G4FTFPPiKBuilder(quasiElasticFTF));
150 tpdata->theFTFPPiK->SetMaxEnergy(maxFTFP);
152 tpdata->theBertiniPiK->SetMaxEnergy(maxBERT);
162 delete tpdata->theHPNeutron;
163 delete tpdata->theBinaryNeutron;
164 delete tpdata->theQGSPNeutron;
165 delete tpdata->theFTFPNeutron;
166 delete tpdata->theBertiniPiK;
167 delete tpdata->theQGSPPiK;
168 delete tpdata->theFTFPPiK;
169 delete tpdata->thePiK;
170 delete tpdata->theBinaryPro;
171 delete tpdata->theQGSPPro;
172 delete tpdata->theFTFPPro;
173 delete tpdata->thePro;
174 delete tpdata->theFTFPAntiBaryon;
175 delete tpdata->theAntiBaryon;
176 delete tpdata->theHyperon;
177 delete tpdata->xsNeutronCaptureXS;
179 delete tpdata; tpdata = 0;
200 if ( tpdata == 0 ) tpdata =
new ThreadPrivate;
202 tpdata->theNeutrons->Build();
203 tpdata->thePro->Build();
204 tpdata->thePiK->Build();
205 tpdata->theHyperon->Build();
206 tpdata->theAntiBaryon->Build();
213 for (
size_t i=0; i < static_cast<size_t>(pv->
size()); ++i ) {
214 if (
fCapture == ((*pv)[i])->GetProcessSubType() ) {
216 }
else if (
fFission == ((*pv)[i])->GetProcessSubType() ) {
225 capture->
AddDataSet(tpdata->xsNeutronCaptureXS);
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4HadronPhysicsQGSP_BIC_HP(G4int verbose=1)
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()
G4ProcessManager * GetProcessManager() const
virtual void ConstructProcess()
static void ConstructParticle()
G4_DECLARE_PHYSCONSTR_FACTORY(G4HadronPhysicsQGSP_BIC_HP)
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
virtual void ConstructParticle()
static G4Neutron * Neutron()
virtual ~G4HadronPhysicsQGSP_BIC_HP()
G4ProcessVector * GetProcessList() const