78 G4ThreadLocal std::vector<G4HadronInelasticProcess*>* G4IonQMDPhysics::p_list = 0;
79 G4ThreadLocal std::vector<G4HadronicInteraction*>* G4IonQMDPhysics::model_list = 0;
99 if(verbose > 1)
G4cout <<
"### G4IonQMDPhysics" <<
G4endl;
112 if(verbose > 1)
G4cout <<
"### G4IonQMDPhysics" <<
G4endl;
118 delete theBuilder; theBuilder = 0;
119 delete theGGNuclNuclXS; theGGNuclNuclXS = 0;
120 delete theNuclNuclData; theNuclNuclData = 0;
124 for(i=0; i<
n; i++) {
delete (*p_list)[i];}
125 delete p_list; p_list = 0;
128 G4int n = model_list->size();
129 for(i=0; i<
n; i++) {
delete (*model_list)[i];}
130 delete model_list; model_list = 0;
137 if(wasActivated)
return;
146 if ( model_list == 0 ) model_list =
new std::vector<G4HadronicInteraction*>;
147 model_list->push_back(theIonBC);
151 model_list->push_back(theFTFP);
154 model_list->push_back(theQMD);
160 AddProcess(
"He3Inelastic",
G4He3::He3(), theIonBC, theQMD, theFTFP);
161 AddProcess(
"alphaInelastic",
G4Alpha::Alpha(), theIonBC, theQMD, theFTFP);
173 if ( p_list == 0 ) p_list =
new std::vector<G4HadronInelasticProcess*>;
174 p_list->push_back(hadi);
200 <<
" Binary Cascade for E(MeV)= " << eminBIC <<
" - "
201 << (QMD==0 ? emaxQMD : (eminQMD-overlap)) ;
203 G4cout <<
G4endl <<
" QMD for E(MeV)= " << eminQMD <<
" - " << emaxQMD;
206 G4cout <<
G4endl<<
" FTFP for E(MeV)= " << emaxQMD-overlap <<
" - " << emaxFTFP;
G4IonQMDPhysics(G4int verb=0)
virtual void ConstructParticle()
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
const G4String & GetParticleName() const
G4HadronicInteraction * GetModel()
static void ConstructParticle()
void RegisterMe(G4HadronicInteraction *a)
static constexpr double TeV
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4GLOB_DLL std::ostream G4cout
static G4Triton * Triton()
const G4String & GetProcessName() const
static G4Deuteron * Deuteron()
G4HadronicInteraction * FindModel(const G4String &name)
static G4GenericIon * GenericIon()
G4ProcessManager * GetProcessManager() const
static G4HadronicInteractionRegistry * Instance()
static constexpr double GeV
void SetMaxEnergy(const G4double anEnergy)
virtual void ConstructProcess()
static constexpr double MeV
void SetPhysicsType(G4int)
virtual ~G4IonQMDPhysics()
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)