Geant4.10
|
#include <G4IonTable.hh>
Public Types | |
enum | { numberOfElements = 118 } |
typedef std::multimap< G4int, const G4ParticleDefinition * > | G4IonList |
typedef std::multimap< G4int, const G4ParticleDefinition * > ::iterator | G4IonListIterator |
Static Public Member Functions | |
static G4IonTable * | GetIonTable () |
static G4bool | IsIon (const G4ParticleDefinition *) |
static G4bool | IsAntiIon (const G4ParticleDefinition *) |
static G4int | GetNucleusEncoding (G4int Z, G4int A, G4double E=0.0, G4int lvl=0) |
static G4int | GetNucleusEncoding (G4int Z, G4int A, G4int L, G4double E=0.0, G4int lvl=0) |
static G4bool | GetNucleusByEncoding (G4int encoding, G4int &Z, G4int &A, G4double &E, G4int &lvl) |
static G4bool | GetNucleusByEncoding (G4int encoding, G4int &Z, G4int &A, G4int &L, G4double &E, G4int &lvl) |
Static Public Attributes | |
static G4ThreadLocal G4IonList * | fIonList = 0 |
static G4ThreadLocal std::vector< G4VIsotopeTable * > * | fIsotopeTableList = 0 |
static G4IonList * | fIonListShadow = 0 |
static std::vector < G4VIsotopeTable * > * | fIsotopeTableListShadow = 0 |
static const G4double | tolerance = 2.0*keV |
static const G4String | elementName [numberOfElements] |
Definition at line 67 of file G4IonTable.hh.
typedef std::multimap<G4int, const G4ParticleDefinition*> G4IonTable::G4IonList |
Definition at line 76 of file G4IonTable.hh.
typedef std::multimap<G4int, const G4ParticleDefinition*>::iterator G4IonTable::G4IonListIterator |
Definition at line 77 of file G4IonTable.hh.
anonymous enum |
Enumerator | |
---|---|
numberOfElements |
Definition at line 301 of file G4IonTable.hh.
G4IonTable::G4IonTable | ( | ) |
Definition at line 120 of file G4IonTable.cc.
References fIonList, fIonListShadow, fIsotopeTableList, and fIsotopeTableListShadow.
|
protected |
|
virtual |
Definition at line 185 of file G4IonTable.cc.
References fIonList, fIsotopeTableList, and G4NuclideTable::GetNuclideTable().
|
protected |
Definition at line 1401 of file G4IonTable.cc.
References FatalException, G4cout, G4endl, G4Exception(), G4ParticleTable::GetGenericIon(), G4ParticleDefinition::GetParticleDefinitionID(), G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetProcessManager(), and G4ParticleDefinition::SetParticleDefinitionID().
Referenced by CreateIon().
Definition at line 1242 of file G4IonTable.cc.
References fIonList, G4cout, G4endl, G4Exception(), G4ParticleTable::GetParticleTable(), GetVerboseLevel(), and JustWarning.
Referenced by G4ParticleTable::RemoveAllParticles().
G4bool G4IonTable::Contains | ( | const G4ParticleDefinition * | particle | ) | const |
Definition at line 1562 of file G4IonTable.cc.
References fIonListShadow, G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), GetNucleusEncoding(), G4ParticleDefinition::GetQuarkContent(), and IsIon().
Referenced by Insert().
void G4IonTable::CreateAllIon | ( | ) |
Definition at line 1502 of file G4IonTable.cc.
References PreloadNuclide().
Referenced by G4ParticleMessenger::SetNewValue().
void G4IonTable::CreateAllIsomer | ( | ) |
Definition at line 1508 of file G4IonTable.cc.
References PreloadNuclide().
Referenced by G4RunManagerKernel::InitializePhysics(), and G4ParticleMessenger::SetNewValue().
|
protected |
Definition at line 215 of file G4IonTable.cc.
References AddProcessManager(), encoding, python.hepunit::eplus, FindIsotope(), G4cout, G4endl, G4Exception(), G4IsotopeProperty::GetDecayTable(), G4IsotopeProperty::GetEnergy(), G4ParticleTable::GetGenericIon(), GetIonName(), G4IsotopeProperty::GetIsomerLevel(), G4IsotopeProperty::GetiSpin(), G4IsotopeProperty::GetLifeTime(), G4IsotopeProperty::GetMagneticMoment(), GetNucleusEncoding(), GetNucleusMass(), G4ParticleDefinition::GetParticleDefinitionID(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetProcessManager(), GetVerboseLevel(), JustWarning, python.hepunit::keV, python.hepunit::MeV, G4NuclideTable::Round(), G4ParticleDefinition::SetAntiPDGEncoding(), and G4ParticleDefinition::SetPDGMagneticMoment().
Referenced by CreateIon(), and GetIon().
|
protected |
Definition at line 335 of file G4IonTable.cc.
References AddProcessManager(), CreateIon(), encoding, python.hepunit::eplus, G4cout, G4endl, G4Exception(), G4ParticleTable::GetGenericIon(), GetIonName(), GetNucleusEncoding(), GetNucleusMass(), G4ParticleDefinition::GetParticleDefinitionID(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetProcessManager(), GetVerboseLevel(), JustWarning, python.hepunit::keV, python.hepunit::MeV, G4NuclideTable::Round(), G4ParticleDefinition::SetAntiPDGEncoding(), and G4ParticleDefinition::SetPDGMagneticMoment().
|
protected |
Definition at line 421 of file G4IonTable.cc.
References CreateIon(), G4Exception(), and JustWarning.
|
protected |
Definition at line 431 of file G4IonTable.cc.
References CreateIon(), G4Exception(), and JustWarning.
Definition at line 1363 of file G4IonTable.cc.
References G4ParticleDefinition::DumpTable(), fIonList, and G4ParticleDefinition::GetParticleName().
G4int G4IonTable::Entries | ( | ) | const |
Definition at line 1584 of file G4IonTable.cc.
References fIonList.
Referenced by DMXPhysicsList::ConstructGeneral(), and GetParticle().
G4ParticleDefinition * G4IonTable::FindIon | ( | G4int | Z, |
G4int | A, | ||
G4int | lvl = 0 |
||
) |
Definition at line 754 of file G4IonTable.cc.
References fIonList, G4cout, G4endl, G4Exception(), G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), GetLightIon(), GetNucleusEncoding(), GetVerboseLevel(), and JustWarning.
Referenced by G4ParticleTable::FindIon(), FindIon(), FindIonInMaster(), and GetIon().
G4ParticleDefinition * G4IonTable::FindIon | ( | G4int | Z, |
G4int | A, | ||
G4int | L, | ||
G4int | lvl | ||
) |
Definition at line 806 of file G4IonTable.cc.
References FindIon(), fIonList, G4cout, G4endl, G4Exception(), G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), GetNucleusEncoding(), G4ParticleDefinition::GetQuarkContent(), GetVerboseLevel(), and JustWarning.
G4ParticleDefinition * G4IonTable::FindIon | ( | G4int | Z, |
G4int | A, | ||
G4double | E, | ||
G4int | J = 0 |
||
) |
Definition at line 661 of file G4IonTable.cc.
References fIonList, G4cout, G4endl, G4Exception(), G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), GetLightIon(), GetNucleusEncoding(), GetVerboseLevel(), JustWarning, python.hepunit::keV, and tolerance.
Definition at line 709 of file G4IonTable.cc.
References FindIon(), fIonList, G4cout, G4endl, G4Exception(), G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), GetNucleusEncoding(), G4ParticleDefinition::GetQuarkContent(), GetVerboseLevel(), JustWarning, python.hepunit::keV, and tolerance.
|
protected |
Definition at line 1660 of file G4IonTable.cc.
References fIonListShadow, G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), and GetNucleusEncoding().
Referenced by GetIon().
|
protected |
Definition at line 1689 of file G4IonTable.cc.
References FindIon(), fIonListShadow, G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), GetNucleusEncoding(), and G4ParticleDefinition::GetQuarkContent().
|
protected |
Definition at line 1597 of file G4IonTable.cc.
References fIonListShadow, G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), GetNucleusEncoding(), and tolerance.
|
protected |
Definition at line 1627 of file G4IonTable.cc.
References FindIon(), fIonListShadow, G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), GetNucleusEncoding(), G4ParticleDefinition::GetQuarkContent(), and tolerance.
|
protected |
Definition at line 1465 of file G4IonTable.cc.
References fIsotopeTableList, and G4VIsotopeTable::GetIsotope().
Referenced by CreateIon(), and GetNucleusMass().
|
protected |
Definition at line 1483 of file G4IonTable.cc.
References fIsotopeTableList, and G4VIsotopeTable::GetIsotope().
G4ParticleDefinition * G4IonTable::GetIon | ( | G4int | Z, |
G4int | A, | ||
G4int | lvl = 0 |
||
) |
Definition at line 449 of file G4IonTable.cc.
References CreateIon(), FindIon(), FindIonInMaster(), G4cout, G4endl, G4MUTEXLOCK, G4MUTEXUNLOCK, GetVerboseLevel(), InsertWorker(), and G4Threading::IsWorkerThread().
Referenced by G4RadioactiveDecay::AddDecayRateTable(), G4NeutronHPFinalState::adjust_final_state(), G4NeutronHPFissionFS::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4NeutronHPChannelList::ApplyYourself(), G4HadronElastic::ApplyYourself(), G4NeutronRadCapture::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4NeutronHPInelasticBaseFS::BaseApply(), G4ExcitationHandler::BreakItUp(), G4NeutronHPInelasticCompFS::CompositeApply(), G4NuclearDecayChannel::DecayIt(), G4RadioactiveDecay::DecayIt(), G4ParticleTable::FindIon(), G4EmCalculator::FindIon(), B3PrimaryGeneratorAction::GeneratePrimaries(), G4NuclNuclDiffuseElastic::GetInvCoulombElasticXsc(), G4DiffuseElastic::GetInvCoulombElasticXsc(), G4NuclNuclDiffuseElastic::GetInvElasticSumXsc(), G4DiffuseElastic::GetInvElasticSumXsc(), G4NuclNuclDiffuseElastic::GetInvElasticXsc(), G4DiffuseElastic::GetInvElasticXsc(), GetIon(), G4ParticleTable::GetIon(), G4FissionProductYieldDist::GetParticleDefinition(), G4InuclNuclei::makeDefinition(), PreloadNuclide(), G4hCoulombScatteringModel::SampleSecondaries(), G4eSingleCoulombScatteringModel::SampleSecondaries(), G4eCoulombScatteringModel::SampleSecondaries(), and G4QuasiElasticChannel::Scatter().
G4ParticleDefinition * G4IonTable::GetIon | ( | G4int | Z, |
G4int | A, | ||
G4int | L, | ||
G4int | lvl | ||
) |
Definition at line 495 of file G4IonTable.cc.
References CreateIon(), FindIon(), FindIonInMaster(), G4cout, G4endl, G4MUTEXLOCK, G4MUTEXUNLOCK, GetIon(), GetVerboseLevel(), InsertWorker(), and G4Threading::IsWorkerThread().
G4ParticleDefinition * G4IonTable::GetIon | ( | G4int | Z, |
G4int | A, | ||
G4double | E, | ||
G4int | J = 0 |
||
) |
Definition at line 553 of file G4IonTable.cc.
References CreateIon(), FindIon(), FindIonInMaster(), G4cout, G4endl, G4MUTEXLOCK, G4MUTEXUNLOCK, GetVerboseLevel(), InsertWorker(), G4Threading::IsWorkerThread(), and python.hepunit::keV.
Definition at line 591 of file G4IonTable.cc.
References CreateIon(), FindIon(), FindIonInMaster(), G4cout, G4endl, G4MUTEXLOCK, G4MUTEXUNLOCK, GetIon(), GetVerboseLevel(), InsertWorker(), G4Threading::IsWorkerThread(), and python.hepunit::keV.
G4ParticleDefinition * G4IonTable::GetIon | ( | G4int | encoding | ) |
Definition at line 641 of file G4IonTable.cc.
References G4cout, G4endl, G4Exception(), GetIon(), GetNucleusByEncoding(), GetVerboseLevel(), and JustWarning.
Definition at line 1232 of file G4IonTable.cc.
References GetNucleusMass().
Referenced by G4BinaryLightIonReaction::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4TheoFSGenerator::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4CompetitiveFission::BreakUp(), G4GGNuclNuclCrossSection::GetCoulombBarier(), G4ComponentGGNuclNuclXsc::GetCoulombBarier(), G4TripathiCrossSection::GetElementCrossSection(), G4StatMFFragment::GetNuclearMass(), G4FTFModel::Init(), and G4VPartonStringModel::Scatter().
Definition at line 992 of file G4IonTable.cc.
References elementName, G4ThreadLocal, numberOfElements, and eplot::pname.
Referenced by G4INCLXXInterface::ApplyYourself(), CreateIon(), GetIonName(), and G4LENDManager::GetLENDTarget().
Definition at line 949 of file G4IonTable.cc.
References G4ThreadLocal, GetIonName(), python.hepunit::keV, and eplot::pname.
Definition at line 977 of file G4IonTable.cc.
References G4ThreadLocal, GetIonName(), and eplot::pname.
Definition at line 1029 of file G4IonTable.cc.
References G4ThreadLocal, GetIonName(), and eplot::pname.
|
inlinestatic |
Definition at line 80 of file G4IonTable.hh.
References G4ParticleTable::GetIonTable(), and G4ParticleTable::GetParticleTable().
Referenced by G4NeutronHPFinalState::adjust_final_state(), G4NeutronHPFissionFS::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4NeutronHPChannelList::ApplyYourself(), G4NeutronHPElasticFS::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4NeutronHPInelasticBaseFS::BaseApply(), G4NeutronHPInelasticCompFS::CompositeApply(), B3PrimaryGeneratorAction::GeneratePrimaries(), G4ParticleDefinition::GetIonLifeTime(), G4NeutronHPIsotropic::Sample(), and G4NeutronHPContAngularPar::Sample().
Definition at line 1226 of file G4IonTable.cc.
References GetNucleusMass().
G4VIsotopeTable * G4IonTable::GetIsotopeTable | ( | size_t | idx = 0 | ) | const |
G4double G4IonTable::GetLifeTime | ( | const G4ParticleDefinition * | particle | ) | const |
Definition at line 1720 of file G4IonTable.cc.
References FatalException, G4Exception(), G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), G4Ions::GetExcitationEnergy(), G4NuclideTable::GetIsotope(), G4IsotopeProperty::GetLifeTime(), G4ParticleDefinition::GetPDGLifeTime(), and G4ParticleDefinition::IsGeneralIon().
Referenced by G4ParticleDefinition::GetIonLifeTime().
|
protected |
Definition at line 1139 of file G4IonTable.cc.
References antilightions::Init().
|
protected |
Definition at line 1114 of file G4IonTable.cc.
References lightions::Init().
Referenced by FindIon(), and GetNucleusMass().
|
static |
|
static |
!!not supported for excitation states !!!
Definition at line 916 of file G4IonTable.cc.
Definition at line 854 of file G4IonTable.cc.
References encoding.
Referenced by Contains(), CreateIon(), FindIon(), FindIonInMaster(), G4LENDManager::GetNucleusEncoding(), GetNucleusEncoding(), GetNucleusMass(), Insert(), InsertWorker(), G4InuclNuclei::makeNuclearFragment(), and Remove().
|
static |
Definition at line 875 of file G4IonTable.cc.
References encoding, and GetNucleusEncoding().
Definition at line 1167 of file G4IonTable.cc.
References EventMustBeAborted, FindIsotope(), fIonList, G4cout, G4endl, G4Exception(), G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), G4IsotopeProperty::GetEnergy(), GetLightIon(), G4HyperNucleiProperties::GetNuclearMass(), G4NucleiProperties::GetNuclearMass(), GetNucleusEncoding(), G4ParticleDefinition::GetPDGMass(), and GetVerboseLevel().
Referenced by CreateIon(), GetIonMass(), and GetIsomerMass().
|
inline |
Definition at line 316 of file G4IonTable.hh.
References numberOfElements.
G4ParticleDefinition * G4IonTable::GetParticle | ( | G4int | index | ) | const |
Definition at line 1538 of file G4IonTable.cc.
References Entries(), fIonList, G4cout, G4endl, and GetVerboseLevel().
Referenced by DMXPhysicsList::ConstructGeneral().
|
protected |
Definition at line 1395 of file G4IonTable.cc.
References G4ParticleTable::GetParticleTable(), and G4ParticleTable::GetVerboseLevel().
Referenced by clear(), CreateIon(), FindIon(), GetIon(), GetNucleusMass(), GetParticle(), and Remove().
void G4IonTable::InitializeLightIons | ( | ) |
Definition at line 177 of file G4IonTable.cc.
References lightions::Init(), and antilightions::Init().
Referenced by G4RunManagerKernel::SetupPhysics().
void G4IonTable::Insert | ( | const G4ParticleDefinition * | particle | ) |
Definition at line 1260 of file G4IonTable.cc.
References Contains(), fIonListShadow, G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), GetNucleusEncoding(), G4ParticleDefinition::GetQuarkContent(), and IsIon().
Referenced by G4ParticleTable::Insert().
|
protected |
Definition at line 1275 of file G4IonTable.cc.
References fIonList, G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), GetNucleusEncoding(), and G4ParticleDefinition::GetQuarkContent().
Referenced by GetIon().
|
static |
Definition at line 1069 of file G4IonTable.cc.
References G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), G4ParticleDefinition::GetBaryonNumber(), G4ParticleDefinition::GetParticleName(), and G4ParticleDefinition::GetParticleType().
Referenced by G4ParticleDefinition::DumpTable(), and G4ParticleDefinition::G4ParticleDefinition().
|
static |
Definition at line 1044 of file G4IonTable.cc.
References G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), G4ParticleDefinition::GetBaryonNumber(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetParticleType(), and G4InuclParticleNames::proton.
Referenced by G4DynamicParticle::AllocateElectronOccupancy(), Contains(), G4ParticleDefinition::DumpTable(), G4ParticleDefinition::G4ParticleDefinition(), G4ParticleTable::Insert(), Insert(), G4ParticleTable::Remove(), and Remove().
|
protected |
Definition at line 1104 of file G4IonTable.cc.
References G4ParticleDefinition::GetParticleName().
|
protected |
Definition at line 1095 of file G4IonTable.cc.
References G4ParticleDefinition::GetParticleName().
|
inlineprotected |
Definition at line 95 of file G4IonTable.hh.
void G4IonTable::PreloadNuclide | ( | ) |
Definition at line 1515 of file G4IonTable.cc.
References G4NuclideTable::entries(), G4NuclideTable::GenerateNuclide(), G4IsotopeProperty::GetAtomicMass(), G4IsotopeProperty::GetAtomicNumber(), G4IsotopeProperty::GetEnergy(), GetIon(), G4NuclideTable::GetIsotopeByIndex(), G4NuclideTable::GetNuclideTable(), and RegisterIsotopeTable().
Referenced by CreateAllIon(), and CreateAllIsomer().
void G4IonTable::RegisterIsotopeTable | ( | G4VIsotopeTable * | table | ) |
Definition at line 1440 of file G4IonTable.cc.
References fIsotopeTableList, and G4VIsotopeTable::GetName().
Referenced by G4RadioactiveDecay::G4RadioactiveDecay(), and PreloadNuclide().
void G4IonTable::Remove | ( | const G4ParticleDefinition * | particle | ) |
Definition at line 1301 of file G4IonTable.cc.
References fIonListShadow, G4cout, G4endl, G4Exception(), G4State_PreInit, G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), G4StateManager::GetCurrentState(), GetNucleusEncoding(), G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetQuarkContent(), G4StateManager::GetStateManager(), GetVerboseLevel(), IsIon(), G4Threading::IsWorkerThread(), and JustWarning.
Referenced by G4ParticleTable::Remove().
G4int G4IonTable::size | ( | ) | const |
Definition at line 1590 of file G4IonTable.cc.
References fIonList.
Referenced by GetIsotopeTable().
void G4IonTable::SlaveG4IonTable | ( | ) |
Definition at line 147 of file G4IonTable.cc.
References FatalException, and G4Exception().
void G4IonTable::WorkerG4IonTable | ( | ) |
Definition at line 152 of file G4IonTable.cc.
References fIonList, fIonListShadow, and fIsotopeTableList.
Referenced by G4ParticleTable::WorkerG4ParticleTable().
|
static |
Definition at line 302 of file G4IonTable.hh.
Referenced by GetIonName().
|
static |
Definition at line 289 of file G4IonTable.hh.
Referenced by clear(), DumpTable(), Entries(), FindIon(), G4IonTable(), GetNucleusMass(), GetParticle(), InsertWorker(), size(), WorkerG4IonTable(), and ~G4IonTable().
|
static |
Definition at line 291 of file G4IonTable.hh.
Referenced by Contains(), FindIonInMaster(), G4IonTable(), Insert(), Remove(), and WorkerG4IonTable().
|
static |
Definition at line 290 of file G4IonTable.hh.
Referenced by FindIsotope(), G4IonTable(), RegisterIsotopeTable(), WorkerG4IonTable(), and ~G4IonTable().
|
static |
Definition at line 292 of file G4IonTable.hh.
Referenced by G4IonTable().
|
static |
Definition at line 299 of file G4IonTable.hh.
Referenced by FindIon(), and FindIonInMaster().