Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -80,7 +80,7 @@ namespace G4INCL {
cleanTable();
#ifdef INCLXX_IN_GEANT4_MODE
if(!getenv("G4INCLDATA")) {
if(!std::getenv("G4INCLDATA")) {
G4ExceptionDescription ed;
ed << " Data missing: set environment variable G4INCLDATA\n"
<< " to point to the directory containing data files needed\n"
@@ -88,7 +88,7 @@ namespace G4INCL {
G4Exception("G4INCLDataFile::readData()","table_radius_hfb.dat",
FatalException, ed);
}
G4String dataPath0(getenv("G4INCLDATA"));
G4String dataPath0(std::getenv("G4INCLDATA"));
G4String dataPath(dataPath0 + "/table_radius_hfb.dat");
#else
// File name
@@ -146,7 +146,7 @@ namespace G4INCL {
}
void initVerbosityLevelFromEnvvar() {
const char * const envVar = getenv("G4INCL_DEBUG_VERBOSITY");
const char * const envVar = std::getenv("G4INCL_DEBUG_VERBOSITY");
if(envVar) {
std::stringstream verbss(envVar);
verbss >> verbosityLevel;