Import Geant4 11.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2023-12-08 10:43:34 +01:00
parent dd1f179cda
commit 860a2b92bf
3962 changed files with 139318 additions and 164259 deletions
@@ -29,14 +29,13 @@
//
//
// -------------------------------------------------------------
// GEANT4 Hadr00
// genericPL
//
// Application demonstrating Geant4 hadronic cross sections
//
// Author: V.Ivanchenko 20 June 2008
//
// Modified:
// Application demonstrating the usage of G4GenericPhysicsList
// to build the concrete physics list at the run time
//
// Modified from hadronic/Hadr00/Hadr00.cc
// Author: V.Ivanchenko 20 June 2008
// -------------------------------------------------------------
//
//
@@ -101,7 +100,7 @@ int main(int argc,char** argv)
// Detect interactive mode (if no arguments) and define UI session
//
G4UIExecutive* ui = 0;
G4UIExecutive* ui = nullptr;
if ( ! macro.size() ) {
ui = new G4UIExecutive(argc, argv, session);
}
@@ -129,7 +128,7 @@ int main(int argc,char** argv)
}
else {
// from vector of physics cobstructor names
std::vector<G4String>* myConstructors = new std::vector<G4String>;
auto myConstructors = new std::vector<G4String>;
myConstructors->push_back("G4EmStandardPhysics");
myConstructors->push_back("G4EmExtraPhysics");