Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
@@ -145,7 +145,7 @@ G4bool G4Scene::AddWorldIfEmpty (G4bool warn) {
if (successful) {
if (warn) {
G4cout <<
"G4Scene::AddWorldIfEmpty: The scene was empty of run-duration models."
"G4Scene::AddWorldIfEmpty: The scene had no extent."
"\n \"world\" has been added.";
G4cout << G4endl;
}
@@ -196,6 +196,7 @@ G4bool G4Scene::AddEndOfEventModel (G4VModel* pModel, G4bool warn) {
return false;
}
fEndOfEventModelList.push_back (Model(pModel));
CalculateExtent ();
return true;
}
@@ -216,6 +217,7 @@ G4bool G4Scene::AddEndOfRunModel (G4VModel* pModel, G4bool warn) {
return false;
}
fEndOfRunModelList.push_back (pModel);
CalculateExtent ();
return true;
}