Gaudi::Property< std::vector< int > > m_useParticles
virtual StatusCode initialize() override
AlgTool initailize method.
G4ParticleDefinition * getParticleDefinition(int pdgCode) const
Returns the G4ParticleDefinition of particle with PDG ID pdgCode, 0 otherwise.
std::map< int, G4ParticleDefinition * > predefinedParticles()
fills default particles in map
std::map< int, G4ParticleDefinition * > PDGG4ParticleMap
std::vector< std::pair< int, std::string > > listOfParticles() const
returns a vector of pdgid / particlename pairs containing all particles
void printListOfParticles(bool withDecayTableOnly=false) const
prints list of particles to stdout
Gaudi::Property< bool > m_printList
PDGG4ParticleMap m_pdgG4ParticleMap
map from pdg codes to defined Geant4 particles