12.07.2015 Views

Geant4 User's Guide for Application Developers - Geant4 - CERN

Geant4 User's Guide for Application Developers - Geant4 - CERN

Geant4 User's Guide for Application Developers - Geant4 - CERN

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tracking and PhysicsParticle types in this category are are not created by default, but will only be created by request from processes ordirectly by users. Each shortlived particle corresponds to one object of a class derived from G4VshortLivedParticle,and it will be created dynamically during the ``initialization phase''.5.3.2.4. G4ParticleDefinitionThe G4ParticleDefinition class has ``read-only'' properties to characterize individual particles, such as name, mass,charge, spin, and so on. These properties are set during initialization of each particle. Methods to get these propertiesare listed in Table 5.2.G4String GetParticleName()G4double GetPDGMass()G4double GetPDGWidth()G4double GetPDGCharge()G4double GetPDGSpin()G4double GetPDGMagneticMoment()G4int GetPDGiParity()G4int GetPDGiConjugation()G4double GetPDGIsospin()G4double GetPDGIsospin3()G4int GetPDGiGParity()G4String GetParticleType()G4String GetParticleSubType()G4int GetLeptonNumber()G4int GetBaryonNumber()G4int GetPDGEncoding()G4int GetAntiPDGEncoding()Table 5.2. Methods to get particle properties.particle namemassdecay widthelectric chargespinmagnetic moment (0: not defined or no magnetic moment)parity (0:not defined)charge conjugation (0:not defined)iso-spin3 rd -component of iso-spinG-parity (0:not defined)particle typeparticle sub-typelepton numberbaryon numberparticle encoding number by PDGencoding <strong>for</strong> anti-particle of this particleTable 5.3 shows the methods of G4ParticleDefinition <strong>for</strong> getting in<strong>for</strong>mation about decay modes and the life timeof the particle.G4bool GetPDGStable()G4double GetPDGLifeTime()G4DecayTable* GetDecayTable()stable flaglife timedecay tableTable 5.3. Methods to get particle decay modes and life time.Users can modify these properties, though the other properties listed above can not be change without rebuildingthe libraries.Each particle has its own G4ProcessManger object that manages a list of processes applicable to the particle.(seeSection 2.5.2 )5.3.3. Dynamic particleThe G4DynamicParticle class has kinematics in<strong>for</strong>mation <strong>for</strong> the particle and is used <strong>for</strong> describing the dynamicsof physics processes. The properties in G4DynamicParticle are listed in Table 5.4.182

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!