55 if ( element != NULL ) {
57 std::vector< const G4Isotope*> vIsotope;
61 for (
size_t i = 0 ; i != vIsotope.size() ; i++ ) {
62 G4int iM = vIsotope[i]->Getm();
91 if ( isotope != NULL ) iM = isotope->
Getm();
94 if ( aTarget == NULL ) {
97 message +=
" is unexpectedly called.";
140 for ( std::map< G4int , G4LENDUsedTarget* >::iterator
157 throw G4HadronicException(__FILE__, __LINE__,
"Attempt to use LEND data for particles other than neutrons!!!");
161 G4cout <<
"(Pointwise cross-section at 300 Kelvin.)" <<
G4endl;
166 for ( std::map< G4int , G4LENDUsedTarget* >::iterator
170 <<
"Wanted " << it->second->GetWantedEvaluation()
171 <<
", Z= " << it->second->GetWantedZ()
172 <<
", A= " << it->second->GetWantedA()
173 <<
"; Actual " << it->second->GetActualEvaluation()
174 <<
", Z= " << it->second->GetActualZ()
175 <<
", A= " << it->second->GetActualA()
176 <<
", " << it->second->GetTarget()
183 for ( ie = 0 ; ie < 130 ; ie++ )
298 for ( std::map< G4int , G4LENDUsedTarget* >::iterator
318 for (
size_t i = 0 ; i < numberOfElements ; ++i )
321 const G4Element* anElement = (*theElementTable)[i];
324 if ( numberOfIsotope > 0 )
327 for (
G4int i_iso = 0 ; i_iso < numberOfIsotope ; i_iso++ )
348 for (
G4int ii = 0 ; ii < numberOfNistIso ; ii++ )
375 G4double a = ( y2 -
y1 ) / ( 1/std::sqrt(x2) - 1/std::sqrt(x1) );
376 G4double b = y1 - a * 1/std::sqrt(x1);
384 target =
usedTarget_map.find( nuclear_code )->second->GetTarget();
394 G4cout <<
"Requested Evaluation, Z , A -> Actual Evaluation, Z , A(0=Nat) " <<
G4endl;
395 for ( std::map< G4int , G4LENDUsedTarget* >::iterator
398 <<
" " << it->second->GetWantedEvaluation()
399 <<
", " << it->second->GetWantedZ()
400 <<
", " << it->second->GetWantedA()
401 <<
" -> " << it->second->GetActualEvaluation()
402 <<
", " << it->second->GetActualZ()
403 <<
", " << it->second->GetActualA()
G4double GetMaxKinEnergy() const
void SetMinKinEnergy(G4double value)
G4int GetNistFirstIsotopeN(G4int Z) const
std::vector< ExP01TrackerHit * > a
static constexpr double MeV
void SetMaxKinEnergy(G4double value)
G4double GetIsoCrossSection(const G4DynamicParticle *, G4int, G4int, const G4Isotope *, const G4Element *, const G4Material *)
Float_t y1[n_points_granero]
Float_t x1[n_points_granero]
void message(RunManager *runmanager)
const G4String & GetParticleName() const
const G4String & GetName() const
G4bool RequestChangeOfVerboseLevel(G4int)
Float_t y2[n_points_geant4]
G4double GetUltraLowEnergyExtrapolatedXS(G4double, G4double, G4double, G4double, G4double)
G4NistElementBuilder * GetNistElementBuilder()
G4int GetNucleusEncoding(G4int iZ, G4int iA, G4int iM)
void create_used_target_map()
G4LENDManager * lend_manager
static G4Pow * GetInstance()
void DumpLENDTargetInfo(G4bool force=false)
G4ParticleDefinition * GetDefinition() const
G4ParticleDefinition * proj
G4double powA(G4double A, G4double y) const
G4double GetIsotopeAbundance(G4int Z, G4int N) const
G4int GetNumberOfNistIsotopes(G4int Z) const
std::vector< G4Element * > G4ElementTable
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
static constexpr double eV
void DumpPhysicsTable(const G4ParticleDefinition &)
G4GIDI_target * get_target_from_map(G4int nuclear_code)
G4double GetMinKinEnergy() const
G4double G4ParticleHPJENDLHEData::G4double result
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::map< G4int, G4LENDUsedTarget * > usedTarget_map
void recreate_used_target_map()
G4bool IsIsoApplicable(const G4DynamicParticle *, G4int, G4int, const G4Element *, const G4Material *)
static constexpr double barn
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
const G4Isotope * GetIsotope(G4int iso) const
static size_t GetNumberOfElements()
void BuildPhysicsTable(const G4ParticleDefinition &)
static G4LENDManager * GetInstance()
Float_t x2[n_points_geant4]
G4String default_evaluation
virtual G4double getLENDCrossSection(G4GIDI_target *, G4double, G4double)
G4LENDCrossSection(const G4String name="")
G4double GetTemperature() const
static G4ElementTable * GetElementTable()
size_t GetNumberOfIsotopes() const