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;
61 for (
G4int i = 0 ; i < numEle ; i++ )
67 (*theFission[i]).Register(&theFS);
75 for ( std::vector<G4NeutronHPChannel*>::iterator
76 it = theFission.begin() ; it != theFission.end() ; it++ )
104 rWeight = NumAtomsPerVolume[i];
118 if( sum == 0 || random <= running/sum )
break;
138 void G4NeutronHPFission::addChannelForNewElement()
147 (*theFission[i]).Register(&theFS);