52 istatus = system(
"echo %G4NEUTRONHPDATA%");
54 istatus = system(
"echo $G4NEUTRONHPDATA");
58 G4cout <<
"Warning! system(\"echo $G4NEUTRONHPDATA\") returns error value at G4NeutronHPInelastic" <<
G4endl;
62 if(!getenv(
"G4NEUTRONHPDATA"))
63 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
64 dirName = getenv(
"G4NEUTRONHPDATA");
178 while( !(*
theInelastic[i]).HasDataInAnyFinalState() && itry < 6 );
184 G4bool exceptional =
false;
189 if ( !exceptional )
throw G4HadronicException(__FILE__, __LINE__,
"Channel: Do not know what to do with this element");
198 for ( std::vector<G4NeutronHPChannelList*>::iterator
227 rWeight = NumAtomsPerVolume[i];
243 if( sum == 0 || random<=running/sum)
break;
256 for (
G4int j = 0 ; j != iele ; j++ ) {
257 target_isotope=target_element->
GetIsotope( j );
328 while( !(*
theInelastic[i]).HasDataInAnyFinalState() && itry < 6 );
334 G4bool exceptional =
false;
339 if ( !exceptional )
throw G4HadronicException(__FILE__, __LINE__,
"Channel: Do not know what to do with this element");
G4NeutronHPNDInelasticFS theNDFS
G4NeutronHPN2PInelasticFS theN2PFS
size_t GetNumberOfIsotopes() const
G4NeutronHP2PInelasticFS the2PFS
void OpenReactionWhiteBoard()
void SetIsotope(const G4Isotope *iso)
G4NeutronHPHe3InelasticFS theHe3FS
G4NeutronHPPTInelasticFS thePTFS
G4NeutronHPT2AInelasticFS theT2AFS
static G4NeutronHPManager * GetInstance()
G4NeutronHPReactionWhiteBoard * GetReactionWhiteBoard()
G4NeutronHP2N2AInelasticFS the2N2AFS
G4NeutronHPDAInelasticFS theDAFS
G4NeutronHPNPAInelasticFS theNPAFS
G4NeutronHPNInelasticFS theNFS
G4NeutronHPTInelasticFS theTFS
G4NeutronHPPDInelasticFS thePDFS
virtual const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
void SetVerboseLevel(G4int)
G4NeutronHP2NAInelasticFS the2NAFS
G4NeutronHPNXInelasticFS theNXFS
G4NeutronHP2NPInelasticFS the2NPFS
G4NeutronHPD2AInelasticFS theD2AFS
const G4Element * GetElement(G4int iel) const
std::vector< G4NeutronHPChannelList * > theInelastic
G4NeutronHP3NInelasticFS the3NFS
void SetMinEnergy(G4double anEnergy)
const G4double * GetVecNbOfAtomsPerVolume() const
G4NeutronHP4NInelasticFS the4NFS
G4NeutronHP2NDInelasticFS the2NDFS
G4NeutronHP3NAInelasticFS the3NAFS
G4GLOB_DLL std::ostream G4cout
static size_t GetNumberOfElements()
G4NeutronHPNT2AInelasticFS theNT2AFS
G4NeutronHPPInelasticFS thePFS
G4NeutronHPND2AInelasticFS theND2AFS
G4NeutronHP2AInelasticFS the2AFS
G4NeutronHPNAInelasticFS theNAFS
static const double perCent
G4NeutronHPDInelasticFS theDFS
void SetVerboseLevel(G4int i)
G4NeutronHPNHe3InelasticFS theNHe3FS
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)
G4NeutronHPPAInelasticFS thePAFS
void CloseReactionWhiteBoard()
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
G4int GetVerboseLevel() const
void SetMaxEnergy(const G4double anEnergy)
const G4Isotope * GetIsotope(G4int iso) const
G4NeutronHP3AInelasticFS the3AFS
G4double GetTemperature() const
G4NeutronHPN2AInelasticFS theN2AFS
const G4Material * GetMaterial() const
size_t GetNumberOfElements() const
G4NeutronHPNPInelasticFS theNPFS
G4NeutronHP3NPInelasticFS the3NPFS
static G4ElementTable * GetElementTable()
G4NeutronHPN3AInelasticFS theN3AFS
G4NeutronHPNTInelasticFS theNTFS
void SetParameters(const G4double A, const G4double Z)
void addChannelForNewElement()
G4NeutronHP2NInelasticFS the2NFS
G4NeutronHPAInelasticFS theAFS