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
@@ -66,11 +66,11 @@ G4FissLib::G4FissLib()
{
SetMinEnergy(0.0);
SetMaxEnergy(20.*MeV);
if(!std::getenv("G4NEUTRONHPDATA")) {
if(!G4FindDataDir("G4NEUTRONHPDATA")) {
G4cout << "Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files." << G4endl;
throw G4HadronicException(__FILE__, __LINE__, "Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
}
dirName = std::getenv("G4NEUTRONHPDATA");
dirName = G4FindDataDir("G4NEUTRONHPDATA");
G4String tString = "/Fission/";
dirName = dirName + tString;
numEle = G4Element::GetNumberOfElements();