91 default_evaluation =
"ENDF/BVII.1";
106 for ( std::map< G4int , G4LENDUsedTarget* >::iterator
107 it = usedTarget_map.begin() ; it != usedTarget_map.end() ; it ++ )
123 throw G4HadronicException(__FILE__, __LINE__,
"Attempt to use LEND data for particles other than neutrons!!!");
127 G4cout <<
"(Pointwise cross-section at 300 Kelvin.)" <<
G4endl;
132 for ( std::map< G4int , G4LENDUsedTarget* >::iterator
133 it = usedTarget_map.begin() ; it != usedTarget_map.end() ; it ++ )
136 <<
"Wanted " << it->second->GetWantedEvaluation()
137 <<
", Z= " << it->second->GetWantedZ()
138 <<
", A= " << it->second->GetWantedA()
139 <<
"; Actual " << it->second->GetActualEvaluation()
140 <<
", Z= " << it->second->GetActualZ()
141 <<
", A= " << it->second->GetActualA()
142 <<
", " << it->second->GetTarget()
149 for ( ie = 0 ; ie < 130 ; ie++ )
262 void G4LENDCrossSection::recreate_used_target_map()
264 for ( std::map< G4int , G4LENDUsedTarget* >::iterator
265 it = usedTarget_map.begin() ; it != usedTarget_map.end() ; it ++ )
269 usedTarget_map.clear();
284 for (
size_t i = 0 ; i < numberOfElements ; ++i )
287 const G4Element* anElement = (*theElementTable)[i];
290 if ( numberOfIsotope > 0 )
293 for (
G4int i_iso = 0 ; i_iso < numberOfIsotope ; i_iso++ )
301 if ( allow_nat ==
true ) aTarget->
AllowNat();
302 if ( allow_any ==
true ) aTarget->
AllowAny();
303 usedTarget_map.insert( std::pair< G4int , G4LENDUsedTarget* > ( lend_manager->
GetNucleusEncoding( iZ , iA , iIsomer ) , aTarget ) );
314 for (
G4int ii = 0 ; ii < numberOfNistIso ; ii++ )
324 if ( allow_nat ==
true ) aTarget->
AllowNat();
325 if ( allow_any ==
true ) aTarget->
AllowAny();
326 usedTarget_map.insert( std::pair< G4int , G4LENDUsedTarget* > ( lend_manager->
GetNucleusEncoding( iZ , iMass , iIsomer ) , aTarget ) );
336 G4cout <<
"Requested Evaluation, Z , A -> Actual Evaluation, Z , A(0=Nat) " <<
G4endl;
337 for ( std::map< G4int , G4LENDUsedTarget* >::iterator
338 it = usedTarget_map.begin() ; it != usedTarget_map.end() ; it ++ )
341 <<
" " << it->second->GetWantedEvaluation()
342 <<
", " << it->second->GetWantedZ()
343 <<
", " << it->second->GetWantedA()
344 <<
" -> " << it->second->GetActualEvaluation()
345 <<
", " << it->second->GetActualZ()
346 <<
", " << it->second->GetActualA()
358 G4double a = ( y2 - y1 ) / ( 1/std::sqrt(x2) - 1/std::sqrt(x1) );
359 G4double b = y1 - a * 1/std::sqrt(x1);
G4double G4ParticleHPJENDLHEData::G4double result
size_t GetNumberOfIsotopes() const
static G4Pow * GetInstance()
virtual G4double getLENDCrossSection(G4GIDI_target *, G4double, G4double)
G4double powA(G4double A, G4double y) const
void DumpPhysicsTable(const G4ParticleDefinition &)
G4double GetUltraLowEnergyExtrapolatedXS(G4double, G4double, G4double, G4double, G4double)
G4double GetKineticEnergy() const
G4NistElementBuilder * GetNistElementBuilder()
G4double GetIsotopeAbundance(G4int Z, G4int N) const
G4int GetNumberOfNistIsotopes(G4int Z) const
G4ParticleDefinition * GetDefinition() const
G4ParticleDefinition * proj
static constexpr double second
const G4String & GetName() const
G4LENDCrossSection(const G4String name="")
G4bool IsIsoApplicable(const G4DynamicParticle *, G4int, G4int, const G4Element *, const G4Material *)
void create_used_target_map()
G4int GetNucleusEncoding(G4int iZ, G4int iA, G4int iM)
G4GLOB_DLL std::ostream G4cout
static size_t GetNumberOfElements()
void SetMinKinEnergy(G4double value)
G4int GetNistFirstIsotopeN(G4int Z) const
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
static constexpr double eV
static G4LENDManager * GetInstance()
void SetMaxKinEnergy(G4double value)
const G4Isotope * GetIsotope(G4int iso) const
G4double GetTemperature() const
static constexpr double MeV
std::vector< G4Element * > G4ElementTable
G4bool RequestChangeOfVerboseLevel(G4int)
static constexpr double barn
static G4ElementTable * GetElementTable()
G4double GetMinKinEnergy() const
G4double GetMaxKinEnergy() const
G4double GetIsoCrossSection(const G4DynamicParticle *, G4int, G4int, const G4Isotope *, const G4Element *, const G4Material *)
void BuildPhysicsTable(const G4ParticleDefinition &)