47 if(!getenv(
"G4NEUTRONHPDATA"))
48 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
49 dirName = getenv(
"G4NEUTRONHPDATA");
51 dirName = dirName + tString;
55 unavailable_elements.clear();
56 for (
G4int i=0; i<numEle; i++)
61 try {
while(!theCapture[i].Register(theFS)) ; }
70 if ( unavailable_elements.size() > 0 )
72 std::set< G4String>::iterator it;
73 G4cout <<
"HP Capture data are not available for thess elements "<<
G4endl;
74 for ( it = unavailable_elements.begin() ; it != unavailable_elements.end() ; it++ )
76 G4cout <<
"Low Energy Parameterization Models will be used."<<
G4endl;
79 createXSectionDataSet();
106 rWeight = NumAtomsPerVolume[i];
123 if(random<=running/sum)
break;
135 if ( unavailable_elements.find( name ) == unavailable_elements.end() )
143 void G4NeutronHPorLCapture::createXSectionDataSet()