48 if( !getenv(
"G4NEUTRONHPDATA") )
49 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
51 dirName = getenv(
"G4NEUTRONHPDATA");
53 dirName = dirName + tString;
55 unavailable_elements.clear();
60 for (
G4int i = 0; i < numEle ; i++)
65 try {
while(!theFission[i].Register(&theFS)) ; }
73 if ( unavailable_elements.size() > 0 )
75 std::set< G4String>::iterator it;
76 G4cout <<
"HP Fission data are not available for thess elements "<<
G4endl;
77 for ( it = unavailable_elements.begin() ; it != unavailable_elements.end() ; it++ )
81 G4cout <<
"Low Energy Parameterization Models will be used."<<
G4endl;
84 createXSectionDataSet();
111 rWeight = NumAtomsPerVolume[i];
128 if(random<=running/sum)
break;
140 if ( unavailable_elements.find( name ) == unavailable_elements.end() )
148 void G4NeutronHPorLFission::createXSectionDataSet()