Geant4-11
|
#include <G4INCLParticleSpecies.hh>
Public Member Functions | |
G4int | getPDGCode () const |
Set a PDG Code (MONTE CARLO PARTICLE NUMBERING) More... | |
ParticleSpecies () | |
Convert a string to a particle species. More... | |
ParticleSpecies (const G4int A, const G4int Z) | |
ParticleSpecies (const G4int A, const G4int Z, const G4int S) | |
ParticleSpecies (ParticleType const t) | |
ParticleSpecies (std::string const &pS) | |
Data Fields | |
G4int | theA |
G4int | theS |
ParticleType | theType |
G4int | theZ |
Private Member Functions | |
G4bool | parseElement (std::string const &pS) |
Parse an element name. More... | |
G4bool | parseIUPACElement (std::string const &s) |
Parse a IUPAC element name. More... | |
void | parseNuclide (std::string const &pS) |
Parse a nuclide name. More... | |
Definition at line 53 of file G4INCLParticleSpecies.hh.
|
inline |
Convert a string to a particle species.
Definition at line 56 of file G4INCLParticleSpecies.hh.
Referenced by parseNuclide().
G4INCL::ParticleSpecies::ParticleSpecies | ( | std::string const & | pS | ) |
Definition at line 54 of file G4INCLParticleSpecies.cc.
References G4INCL::Composite, G4INCL::DeltaMinus, G4INCL::DeltaPlus, G4INCL::DeltaPlusPlus, G4INCL::DeltaZero, G4INCL::Eta, G4INCL::EtaPrime, G4INCL::KLong, G4INCL::KMinus, G4INCL::KPlus, G4INCL::KShort, G4INCL::KZero, G4INCL::KZeroBar, G4INCL::Lambda, G4INCL::Neutron, G4INCL::Omega, parseNuclide(), G4INCL::Photon, G4INCL::PiMinus, G4INCL::PiPlus, G4INCL::PiZero, G4INCL::Proton, G4INCL::SigmaMinus, G4INCL::SigmaPlus, G4INCL::SigmaZero, theA, theS, theType, and theZ.
G4INCL::ParticleSpecies::ParticleSpecies | ( | ParticleType const | t | ) |
Definition at line 190 of file G4INCLParticleSpecies.cc.
Definition at line 197 of file G4INCLParticleSpecies.cc.
G4int G4INCL::ParticleSpecies::getPDGCode | ( | ) | const |
Set a PDG Code (MONTE CARLO PARTICLE NUMBERING)
return integer (identifying number for each particle)
Definition at line 365 of file G4INCLParticleSpecies.cc.
References G4INCL::Composite, G4INCL::DeltaMinus, G4INCL::DeltaPlus, G4INCL::DeltaPlusPlus, G4INCL::DeltaZero, e6, G4INCL::Eta, G4INCL::EtaPrime, INCL_ERROR, G4INCL::KLong, G4INCL::KMinus, G4INCL::KPlus, G4INCL::KShort, G4INCL::KZero, G4INCL::KZeroBar, G4INCL::Lambda, G4INCL::Neutron, G4INCL::Omega, G4INCL::Photon, G4INCL::PiMinus, G4INCL::PiPlus, G4INCL::PiZero, G4INCL::Proton, G4INCL::SigmaMinus, G4INCL::SigmaPlus, G4INCL::SigmaZero, theA, theS, theType, and theZ.
Referenced by G4INCL::Nucleus::fillEventInfo(), and G4INCL::EventInfo::remnantToParticle().
|
private |
Parse an element name.
Note: this function is UGLY. Look at it at your own peril.
pS | a normalised string (lowercase) |
Definition at line 345 of file G4INCLParticleSpecies.cc.
References G4INCL::ParticleTable::parseElement(), G4INCL::ParticleTable::parseIUPACElement(), s, and theZ.
Referenced by parseNuclide().
|
private |
Parse a IUPAC element name.
Note: this function is UGLY. Look at it at your own peril.
s | a normalised string (lowercase) |
Definition at line 357 of file G4INCLParticleSpecies.cc.
References G4INCL::ParticleTable::parseIUPACElement(), s, and theZ.
|
private |
Parse a nuclide name.
Note: this function is UGLY. Look at it at your own peril.
pS | a normalised string (lowercase) |
Definition at line 211 of file G4INCLParticleSpecies.cc.
References allowed, G4INCL::Composite, parseElement(), ParticleSpecies(), G4INCL::Proton, theA, theS, theType, theZ, and G4INCL::UnknownParticle.
Referenced by ParticleSpecies().
G4int G4INCL::ParticleSpecies::theA |
Definition at line 68 of file G4INCLParticleSpecies.hh.
Referenced by G4INCL::KinematicsUtils::gammaFromKineticEnergy(), G4INCL::CoulombNonRelativistic::getCoulombRadius(), getPDGCode(), G4INCL::ParticleTable::getTableSpeciesMass(), G4INCL::Config::getTargetA(), G4INCL::INCL::INCL(), G4INCL::CrossSections::interactionDistanceNN(), G4INCL::CoulombNonRelativistic::maxImpactParameter(), G4INCL::CoulombNone::maxImpactParameter(), parseNuclide(), ParticleSpecies(), G4INCL::INCL::preCascade(), G4INCL::INCL::prepareReaction(), G4INCL::Config::setTargetA(), G4INCL::Config::summary(), and G4INCLXXInterface::toINCLParticleSpecies().
G4int G4INCL::ParticleSpecies::theS |
Definition at line 68 of file G4INCLParticleSpecies.hh.
Referenced by G4INCL::KinematicsUtils::gammaFromKineticEnergy(), getPDGCode(), G4INCL::ParticleTable::getTableSpeciesMass(), G4INCL::Config::getTargetS(), G4INCL::INCL::INCL(), parseNuclide(), ParticleSpecies(), G4INCL::INCL::preCascade(), G4INCL::INCL::prepareReaction(), G4INCL::Config::setTargetS(), and G4INCL::Config::summary().
ParticleType G4INCL::ParticleSpecies::theType |
Definition at line 67 of file G4INCLParticleSpecies.hh.
Referenced by G4INCL::KinematicsUtils::gammaFromKineticEnergy(), G4INCL::CoulombNonRelativistic::getCoulombRadius(), getPDGCode(), G4INCL::Config::getProjectileType(), G4INCL::ParticleTable::getTableSpeciesMass(), G4INCL::INCL::initMaxInteractionDistance(), G4INCL::INCL::initUniverseRadius(), G4INCL::CoulombNonRelativistic::maxImpactParameter(), G4INCL::CoulombNone::maxImpactParameter(), parseNuclide(), ParticleSpecies(), G4INCL::INCL::preCascade(), G4INCL::INCL::prepareReaction(), G4INCL::StandardPropagationModel::shoot(), G4INCL::Config::summary(), and G4INCLXXInterface::toINCLParticleSpecies().
G4int G4INCL::ParticleSpecies::theZ |
Definition at line 68 of file G4INCLParticleSpecies.hh.
Referenced by G4INCL::KinematicsUtils::gammaFromKineticEnergy(), G4INCL::CoulombNonRelativistic::getCoulombRadius(), getPDGCode(), G4INCL::ParticleTable::getTableSpeciesMass(), G4INCL::Config::getTargetZ(), G4INCL::INCL::INCL(), G4INCL::CoulombNonRelativistic::maxImpactParameter(), G4INCL::CoulombNone::maxImpactParameter(), G4INCL::CoulombNonRelativistic::minimumDistance(), parseElement(), parseIUPACElement(), parseNuclide(), ParticleSpecies(), G4INCL::INCL::preCascade(), G4INCL::INCL::prepareReaction(), G4INCL::Config::setTargetZ(), G4INCL::Config::summary(), and G4INCLXXInterface::toINCLParticleSpecies().