Import Geant4 11.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2022-12-09 14:43:28 +01:00
parent c07cea1fe0
commit 9f34590941
3810 changed files with 200490 additions and 182326 deletions
@@ -482,7 +482,7 @@ void G4HadronicProcessStore::RegisterExtraProcess(G4VProcess* proc)
for(G4int i=0; i<n_extra; ++i) {
if(extraProcess[i] == proc) { return; }
}
G4HadronicProcess* hproc = reinterpret_cast<G4HadronicProcess*>(proc);
G4HadronicProcess* hproc = static_cast<G4HadronicProcess*>(proc);
if(hproc) {
for(G4int i=0; i<n_proc; ++i) {
if(process[i] == hproc) { return; }
@@ -781,12 +781,14 @@ void G4HadronicProcessStore::Dump(G4int verb)
pname == "D-" ||
pname == "B-" ||
pname == "GenericIon" ||
pname == "hypertriton" ||
pname == "anti_neutron" ||
pname == "anti_proton" ||
pname == "anti_deuteron" ||
pname == "anti_triton" ||
pname == "anti_He3" ||
pname == "anti_alpha")) yes = true;
pname == "anti_alpha" ||
pname == "anti_hypertriton")) yes = true;
if (level > 1) yes = true;
if (yes) {
// main processes