46 if(!getenv(
"G4NEUTRONHPDATA"))
47 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
48 dirName = getenv(
"G4NEUTRONHPDATA");
78 for ( std::vector<G4NeutronHPChannel*>::iterator
93 if(getenv(
"NeutronHPCapture"))
G4cout <<
" ####### G4NeutronHPCapture called"<<
G4endl;
108 rWeight = NumAtomsPerVolume[i];
123 if( sum == 0 || random <= running/sum )
break;
void OpenReactionWhiteBoard()
std::vector< G4NeutronHPChannel * > theCapture
static G4NeutronHPManager * GetInstance()
virtual const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
const G4Element * GetElement(G4int iel) const
G4int GetVerboseLevel() const
void addChannelForNewElement()
void SetMinEnergy(G4double anEnergy)
const G4double * GetVecNbOfAtomsPerVolume() const
G4GLOB_DLL std::ostream G4cout
static size_t GetNumberOfElements()
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
static const double perCent
void SetVerboseLevel(G4int)
void SetVerboseLevel(G4int i)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)
void CloseReactionWhiteBoard()
void SetMaxEnergy(const G4double anEnergy)
G4double GetTemperature() const
const G4Material * GetMaterial() const
size_t GetNumberOfElements() const
static G4ElementTable * GetElementTable()
void SetParameters(const G4double A, const G4double Z)