41 overrideSuspension =
false;
43 if(!getenv(
"G4NEUTRONHPDATA"))
44 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
45 dirName = getenv(
"G4NEUTRONHPDATA");
47 dirName = dirName + tString;
56 for (
G4int i = 0 ; i < numEle ; i++ )
60 while(!(*theElastic[i]).Register(theFS)) ;
70 for ( std::vector<G4NeutronHPChannel*>::iterator
71 it = theElastic.begin() ; it != theElastic.end() ; it++ )
100 rWeight = NumAtomsPerVolume[i];
115 if( sum == 0 || random <= running/sum )
break;
134 void G4NeutronHPElastic::addChannelForNewElement()
142 while(!(*theElastic[i]).Register(theFS)) ;