76 G4HadronPhysicsQGSP_BIC_HP::tpdata = 0;
124 void G4HadronPhysicsQGSP_BIC_HP::CreateModels()
126 G4bool quasiElasticFTF=
false;
127 G4bool quasiElasticQGS=
true;
136 tpdata->theNeutrons->RegisterMe(tpdata->theQGSPNeutron=
new G4QGSPNeutronBuilder(quasiElasticQGS));
137 tpdata->theNeutrons->RegisterMe(tpdata->theFTFPNeutron=
new G4FTFPNeutronBuilder(quasiElasticFTF));
138 tpdata->theFTFPNeutron->SetMinEnergy(minFTFP);
139 tpdata->theFTFPNeutron->SetMaxEnergy(maxFTFP);
142 tpdata->theBinaryNeutron->SetMinEnergy(maxHP);
143 tpdata->theBinaryNeutron->SetMaxEnergy(maxBIC);
150 tpdata->theFTFPPro->SetMinEnergy(minFTFP);
151 tpdata->theFTFPPro->SetMaxEnergy(maxFTFP);
153 tpdata->theBinaryPro->SetMaxEnergy(maxBIC);
156 tpdata->thePiK->RegisterMe(tpdata->theQGSPPiK=
new G4QGSPPiKBuilder(quasiElasticQGS));
157 tpdata->thePiK->RegisterMe(tpdata->theFTFPPiK=
new G4FTFPPiKBuilder(quasiElasticFTF));
158 tpdata->theFTFPPiK->SetMaxEnergy(maxFTFP);
160 tpdata->theBertiniPiK->SetMaxEnergy(maxBERT);
172 delete tpdata->theHPNeutron;
173 delete tpdata->theBinaryNeutron;
174 delete tpdata->theQGSPNeutron;
175 delete tpdata->theFTFPNeutron;
176 delete tpdata->theBertiniPiK;
177 delete tpdata->theQGSPPiK;
178 delete tpdata->theFTFPPiK;
179 delete tpdata->thePiK;
180 delete tpdata->theBinaryPro;
181 delete tpdata->theQGSPPro;
182 delete tpdata->theFTFPPro;
183 delete tpdata->thePro;
184 delete tpdata->theFTFPAntiBaryon;
185 delete tpdata->theAntiBaryon;
186 delete tpdata->theHyperon;
188 delete tpdata; tpdata = 0;
209 if ( tpdata == 0 ) tpdata =
new ThreadPrivate;
211 tpdata->theNeutrons->Build();
212 tpdata->thePro->Build();
213 tpdata->thePiK->Build();
223 tpdata->theHyperon->Build();
224 tpdata->theAntiBaryon->Build();
231 for (
size_t i=0; i < static_cast<size_t>(pv->
size()); ++i ) {
232 if (
fCapture == ((*pv)[i])->GetProcessSubType() ) {
234 }
else if (
fFission == ((*pv)[i])->GetProcessSubType() ) {
243 capture->
AddDataSet(tpdata->xsNeutronCaptureXS);
G4VCrossSectionDataSet * GetCrossSectionDataSet(const G4String &name, G4bool warning=true)
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4KaonZeroLong * KaonZeroLong()
G4HadronPhysicsQGSP_BIC_HP(G4int verbose=1)
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()
virtual void ConstructProcess()
static G4KaonMinus * KaonMinus()
static void ConstructParticle()
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
static G4HadronicProcess * FindInelasticProcess(const G4ParticleDefinition *)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4KaonZeroShort * KaonZeroShort()
static G4CrossSectionDataSetRegistry * Instance()
virtual void ConstructParticle()
static G4Neutron * Neutron()
static const char * Default_Name()
G4ProcessManager * GetProcessManager() const
static constexpr double GeV
static constexpr double MeV
static G4KaonPlus * KaonPlus()
virtual ~G4HadronPhysicsQGSP_BIC_HP()
G4ProcessVector * GetProcessList() const
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)