#include <CustomParticleFactory.h>
Static Public Member Functions | |
static bool | isCustomParticle (G4ParticleDefinition *particle) |
static void | loadCustomParticles (const std::string &filePath) |
Static Private Member Functions | |
static void | addCustomParticle (int pdgCode, double mass, const std::string &name) |
static G4DecayTable * | getAntiDecayTable (int pdgId, G4DecayTable *theDecayTable) |
static G4DecayTable * | getDecayTable (std::ifstream *configFile, int pdgId) |
static void | getMassTable (std::ifstream *configFile) |
Static Private Attributes | |
static bool | loaded = false |
static std::set < G4ParticleDefinition * > | m_particles |
Definition at line 15 of file CustomParticleFactory.h.
|
staticprivate |
Definition at line 65 of file CustomParticleFactory.cc.
References abs, DeDxDiscriminatorTools::charge(), CustomParticle::GetCloud(), CustomParticle::GetSpectator(), m_particles, NULL, CustomPDGParser::s_charge(), CustomPDGParser::s_isMesonino(), CustomPDGParser::s_isRHadron(), CustomPDGParser::s_isSbaryon(), CustomPDGParser::s_isSLepton(), CustomPDGParser::s_spin(), CustomParticle::SetCloud(), CustomParticle::SetSpectator(), spin(), TopDecayID::stable, and tablePrinter::width.
Referenced by getMassTable().
|
staticprivate |
Definition at line 262 of file CustomParticleFactory.cc.
References i, j, and mergeVDriftHistosByStation::name.
|
staticprivate |
Definition at line 217 of file CustomParticleFactory.cc.
References beamvalidation::br, i, mergeVDriftHistosByStation::name, runonSM::text, and tmp.
Referenced by loadCustomParticles().
|
staticprivate |
Definition at line 165 of file CustomParticleFactory.cc.
References abs, addCustomParticle(), gather_cfg::cout, geometryCSVtoXML::line, mergeVDriftHistosByStation::name, benchmark_cfg::pdgId, CustomPDGParser::s_isRHadron(), CustomPDGParser::s_isstopHadron(), and tmp.
Referenced by loadCustomParticles().
|
static |
Definition at line 26 of file CustomParticleFactory.cc.
References m_particles.
Referenced by CustomPhysicsList::addCustomPhysics().
|
static |
Definition at line 31 of file CustomParticleFactory.cc.
References HDQMDatabaseProducer::configFile, getDecayTable(), getMassTable(), geometryCSVtoXML::line, loaded, benchmark_cfg::pdgId, asciidump::s, and tablePrinter::width.
Referenced by CustomPhysicsList::ConstructParticle().
|
staticprivate |
Definition at line 28 of file CustomParticleFactory.h.
Referenced by loadCustomParticles().
|
staticprivate |
Definition at line 29 of file CustomParticleFactory.h.
Referenced by addCustomParticle(), and isCustomParticle().