77 G4ThreadLocal std::vector<G4HadronInelasticProcess*>* G4IonQMDPhysics::p_list = 0;
78 G4ThreadLocal std::vector<G4HadronicInteraction*>* G4IonQMDPhysics::model_list = 0;
98 if(verbose > 1)
G4cout <<
"### G4IonQMDPhysics" <<
G4endl;
111 if(verbose > 1)
G4cout <<
"### G4IonQMDPhysics" <<
G4endl;
117 delete theBuilder; theBuilder = 0;
118 delete theGGNuclNuclXS; theGGNuclNuclXS = 0;
119 delete theNuclNuclData; theNuclNuclData = 0;
123 for(i=0; i<
n; i++) {
delete (*p_list)[i];}
124 delete p_list; p_list = 0;
127 G4int n = model_list->size();
128 for(i=0; i<
n; i++) {
delete (*model_list)[i];}
129 delete model_list; model_list = 0;
136 if(wasActivated)
return;
143 if ( model_list == 0 ) model_list =
new std::vector<G4HadronicInteraction*>;
144 model_list->push_back(theIonBC);
148 model_list->push_back(theFTFP);
151 model_list->push_back(theQMD);
157 AddProcess(
"He3Inelastic",
G4He3::He3(), theIonBC, theQMD, theFTFP);
158 AddProcess(
"alphaInelastic",
G4Alpha::Alpha(), theIonBC, theQMD, theFTFP);
170 if ( p_list == 0 ) p_list =
new std::vector<G4HadronInelasticProcess*>;
171 p_list->push_back(hadi);
197 <<
" Binary Cascade for E(MeV)= " << eminBIC <<
" - "
198 << (QMD==0 ? emaxQMD : (eminQMD-overlap)) ;
200 G4cout <<
G4endl <<
" QMD for E(MeV)= " << eminQMD <<
" - " << emaxQMD;
203 G4cout <<
G4endl<<
" FTFP for E(MeV)= " << emaxQMD-overlap <<
" - " << emaxFTFP;
G4IonQMDPhysics(G4int verb=0)
virtual void ConstructParticle()
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
G4HadronicInteraction * GetModel()
static void ConstructParticle()
void RegisterMe(G4HadronicInteraction *a)
void SetMinEnergy(G4double anEnergy)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4GLOB_DLL std::ostream G4cout
static G4Triton * Triton()
const G4String & GetProcessName() const
static G4Deuteron * Deuteron()
static G4GenericIon * GenericIon()
void SetMaxEnergy(const G4double anEnergy)
virtual void ConstructProcess()
void SetPhysicsType(G4int)
virtual ~G4IonQMDPhysics()
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)