75 G4HadronPhysicsQGSP_BIC::tpdata = 0;
123 void G4HadronPhysicsQGSP_BIC::CreateModels()
125 G4bool quasiElasticFTF=
false;
126 G4bool quasiElasticQGS=
true;
134 tpdata->theNeutrons->RegisterMe(tpdata->theQGSPNeutron=
new G4QGSPNeutronBuilder(quasiElasticQGS));
135 tpdata->theNeutrons->RegisterMe(tpdata->theFTFPNeutron=
new G4FTFPNeutronBuilder(quasiElasticFTF));
136 tpdata->theFTFPNeutron->SetMinEnergy(minFTFP);
137 tpdata->theFTFPNeutron->SetMaxEnergy(maxFTFP);
140 tpdata->theBinaryNeutron->SetMaxEnergy(maxBIC);
145 tpdata->theFTFPPro->SetMinEnergy(minFTFP);
146 tpdata->theFTFPPro->SetMaxEnergy(maxFTFP);
149 tpdata->theBinaryPro->SetMaxEnergy(maxBIC);
152 tpdata->thePiK->RegisterMe(tpdata->theQGSPPiK=
new G4QGSPPiKBuilder(quasiElasticQGS));
153 tpdata->thePiK->RegisterMe(tpdata->theFTFPPiK=
new G4FTFPPiKBuilder(quasiElasticFTF));
154 tpdata->theFTFPPiK->SetMaxEnergy(maxFTFP);
156 tpdata->theBertiniPiK->SetMaxEnergy(maxBERT);
168 delete tpdata->theBinaryNeutron;
169 delete tpdata->theQGSPNeutron;
170 delete tpdata->theFTFPNeutron;
171 delete tpdata->theBertiniPiK;
172 delete tpdata->theQGSPPiK;
173 delete tpdata->theFTFPPiK;
174 delete tpdata->thePiK;
175 delete tpdata->theBinaryPro;
176 delete tpdata->theQGSPPro;
177 delete tpdata->theFTFPPro;
178 delete tpdata->thePro;
179 delete tpdata->theFTFPAntiBaryon;
180 delete tpdata->theAntiBaryon;
181 delete tpdata->theHyperon;
182 delete tpdata->xsNeutronCaptureXS;
184 delete tpdata; tpdata =0 ;
205 if ( tpdata == 0 ) tpdata =
new ThreadPrivate;
207 tpdata->theNeutrons->Build();
208 tpdata->thePro->Build();
209 tpdata->thePiK->Build();
219 tpdata->theHyperon->Build();
220 tpdata->theAntiBaryon->Build();
229 for (
size_t i=0; i < static_cast<size_t>(pv->
size()); ++i ) {
230 if (
fCapture == ((*pv)[i])->GetProcessSubType() ) {
239 capture->
AddDataSet(tpdata->xsNeutronCaptureXS);
G4VCrossSectionDataSet * GetCrossSectionDataSet(const G4String &name, G4bool warning=true)
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4KaonZeroLong * KaonZeroLong()
G4HadronPhysicsQGSP_BIC(G4int verbose=1)
static const char * Default_Name()
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()
static G4KaonMinus * KaonMinus()
static void ConstructParticle()
void RegisterMe(G4HadronicInteraction *a)
static G4HadronicProcess * FindInelasticProcess(const G4ParticleDefinition *)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4KaonZeroShort * KaonZeroShort()
static G4CrossSectionDataSetRegistry * Instance()
static G4Neutron * Neutron()
virtual ~G4HadronPhysicsQGSP_BIC()
virtual void ConstructProcess()
static const char * Default_Name()
G4ProcessManager * GetProcessManager() const
static constexpr double GeV
static G4KaonPlus * KaonPlus()
virtual void ConstructParticle()
G4ProcessVector * GetProcessList() const
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)