69 G4ThreadLocal G4HadronPhysicsFTFP_BERT_ATL::ThreadPrivate* G4HadronPhysicsFTFP_BERT_ATL::tpdata=0;
105 , QuasiElastic(quasiElastic)
111 void G4HadronPhysicsFTFP_BERT_ATL::CreateModels()
115 G4cout <<
" FTFP_BERT_ATL : new threshold between BERT and FTFP"
116 <<
" is over the interval " << minFTFP/
GeV <<
" to " << maxBERT/
GeV
122 tpdata->theFTFPNeutron->SetMinEnergy(minFTFP);
124 tpdata->theBertiniNeutron->SetMinEnergy(0.0*
GeV);
125 tpdata->theBertiniNeutron->SetMaxEnergy(maxBERT);
129 tpdata->theFTFPPro->SetMinEnergy(minFTFP);
131 tpdata->theBertiniPro->SetMaxEnergy(maxBERT);
134 tpdata->thePiK->RegisterMe(tpdata->theFTFPPiK=
new G4FTFPPiKBuilder(QuasiElastic));
135 tpdata->theFTFPPiK->SetMinEnergy(minFTFP);
137 tpdata->theBertiniPiK->SetMaxEnergy(maxBERT);
149 delete tpdata->theNeutrons;
150 delete tpdata->theBertiniNeutron;
151 delete tpdata->theFTFPNeutron;
153 delete tpdata->thePiK;
154 delete tpdata->theBertiniPiK;
155 delete tpdata->theFTFPPiK;
157 delete tpdata->thePro;
158 delete tpdata->theBertiniPro;
159 delete tpdata->theFTFPPro;
161 delete tpdata->theHyperon;
162 delete tpdata->theAntiBaryon;
163 delete tpdata->theFTFPAntiBaryon;
168 delete tpdata; tpdata = 0;
186 if ( tpdata == 0 ) tpdata =
new ThreadPrivate;
188 tpdata->theNeutrons->Build();
189 tpdata->thePro->Build();
190 tpdata->thePiK->Build();
200 tpdata->theHyperon->Build();
201 tpdata->theAntiBaryon->Build();
210 for (
size_t i=0; i < static_cast<size_t>(pv->
size()); ++i ) {
211 if (
fCapture == ((*pv)[i])->GetProcessSubType() ) {
220 capture->
AddDataSet(tpdata->xsNeutronCaptureXS);
G4VCrossSectionDataSet * GetCrossSectionDataSet(const G4String &name, G4bool warning=true)
virtual ~G4HadronPhysicsFTFP_BERT_ATL()
virtual void ConstructParticle()
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
static G4KaonZeroLong * KaonZeroLong()
static const char * Default_Name()
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()
static G4KaonMinus * KaonMinus()
void RegisterMe(G4HadronicInteraction *a)
static G4HadronicProcess * FindInelasticProcess(const G4ParticleDefinition *)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4GLOB_DLL std::ostream G4cout
static G4KaonZeroShort * KaonZeroShort()
static G4CrossSectionDataSetRegistry * Instance()
static G4Neutron * Neutron()
G4HadronPhysicsFTFP_BERT_ATL(G4int verbose=1)
static const char * Default_Name()
G4ProcessManager * GetProcessManager() const
virtual void ConstructProcess()
static constexpr double GeV
static G4KaonPlus * KaonPlus()
G4ProcessVector * GetProcessList() const
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)