File indexing completed on 2025-01-18 09:58:54
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 inline void G4ParticleTable::SetVerboseLevel(G4int value)
0032 {
0033 verboseLevel = value;
0034 }
0035
0036 inline G4int G4ParticleTable::GetVerboseLevel() const
0037 {
0038 return verboseLevel;
0039 }
0040
0041 inline const G4String& G4ParticleTable::GetKey(const G4ParticleDefinition* particle) const
0042 {
0043 return particle->GetParticleName();
0044 }
0045
0046 inline G4ParticleDefinition* G4ParticleTable::FindAntiParticle(G4int aPDGEncoding)
0047 {
0048 return FindParticle(FindParticle(aPDGEncoding)->GetAntiPDGEncoding());
0049 }
0050
0051 inline G4ParticleDefinition* G4ParticleTable::FindAntiParticle(const G4String& particle_name)
0052 {
0053 G4int pcode = FindParticle(particle_name)->GetAntiPDGEncoding();
0054 return FindParticle(pcode);
0055 }
0056
0057 inline G4ParticleDefinition* G4ParticleTable::FindAntiParticle(const G4ParticleDefinition* particle)
0058 {
0059 G4int pcode = particle->GetAntiPDGEncoding();
0060 return FindParticle(pcode);
0061 }
0062
0063 inline G4bool G4ParticleTable::contains(const G4ParticleDefinition* particle) const
0064 {
0065 return contains(GetKey(particle));
0066 }
0067
0068 inline void G4ParticleTable::SetReadiness(G4bool val)
0069 {
0070 readyToUse = val;
0071 }
0072
0073 inline G4bool G4ParticleTable::GetReadiness() const
0074 {
0075 return readyToUse;
0076 }
0077
0078 inline G4ParticleDefinition* G4ParticleTable::GetGenericIon() const
0079 {
0080 return genericIon;
0081 }
0082
0083 inline void G4ParticleTable::SetGenericIon(G4ParticleDefinition* gi)
0084 {
0085 genericIon = gi;
0086 }
0087
0088 inline G4ParticleDefinition* G4ParticleTable::GetGenericMuonicAtom() const
0089 {
0090 return genericMuonicAtom;
0091 }
0092
0093 inline void G4ParticleTable::SetGenericMuonicAtom(G4ParticleDefinition* gma)
0094 {
0095 genericMuonicAtom = gma;
0096 }
0097
0098 inline const G4ParticleDefinition* G4ParticleTable::GetSelectedParticle() const
0099 {
0100 return selectedParticle;
0101 }