Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ParticleDefinition Class Reference

#include <G4ParticleDefinition.hh>

+ Inheritance diagram for G4ParticleDefinition:

Public Member Functions

 G4ParticleDefinition (const G4String &aName, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospinZ, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable, G4bool shortlived=false, const G4String &subType="", G4int anti_encoding=0, G4double magneticMoment=0.0)
 
virtual ~G4ParticleDefinition ()
 
 G4ParticleDefinition (const G4ParticleDefinition &)=delete
 
G4ParticleDefinitionoperator= (const G4ParticleDefinition &)=delete
 
G4bool operator== (const G4ParticleDefinition &right) const
 
G4bool operator!= (const G4ParticleDefinition &right) const
 
const G4StringGetParticleName () const
 
G4double GetPDGMass () const
 
G4double GetPDGWidth () const
 
G4double GetPDGCharge () const
 
G4double GetPDGSpin () const
 
G4int GetPDGiSpin () const
 
G4int GetPDGiParity () const
 
G4int GetPDGiConjugation () const
 
G4double GetPDGIsospin () const
 
G4double GetPDGIsospin3 () const
 
G4int GetPDGiIsospin () const
 
G4int GetPDGiIsospin3 () const
 
G4int GetPDGiGParity () const
 
G4double GetPDGMagneticMoment () const
 
void SetPDGMagneticMoment (G4double mageticMoment)
 
G4double CalculateAnomaly () const
 
const G4StringGetParticleType () const
 
const G4StringGetParticleSubType () const
 
G4int GetLeptonNumber () const
 
G4int GetBaryonNumber () const
 
G4int GetPDGEncoding () const
 
G4int GetAntiPDGEncoding () const
 
void SetAntiPDGEncoding (G4int aEncoding)
 
G4int GetQuarkContent (G4int flavor) const
 
G4int GetAntiQuarkContent (G4int flavor) const
 
G4bool IsShortLived () const
 
G4bool GetPDGStable () const
 
void SetPDGStable (const G4bool aFlag)
 
G4double GetPDGLifeTime () const
 
void SetPDGLifeTime (G4double aLifeTime)
 
G4double GetIonLifeTime () const
 
G4DecayTableGetDecayTable () const
 
void SetDecayTable (G4DecayTable *aDecayTable)
 
G4ProcessManagerGetProcessManager () const
 
void SetProcessManager (G4ProcessManager *aProcessManager)
 
G4VTrackingManagerGetTrackingManager () const
 
void SetTrackingManager (G4VTrackingManager *aTrackingManager)
 
G4ParticleTableGetParticleTable () const
 
G4int GetAtomicNumber () const
 
G4int GetAtomicMass () const
 
void DumpTable () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
void SetApplyCutsFlag (G4bool)
 
G4bool GetApplyCutsFlag () const
 
G4bool IsGeneralIon () const
 
G4bool IsMuonicAtom () const
 
G4ProcessManagerGetMasterProcessManager () const
 
void SetMasterProcessManager (G4ProcessManager *aNewPM)
 
G4int GetInstanceID () const
 
void SetParticleDefinitionID (G4int id=-1)
 
G4int GetParticleDefinitionID () const
 
G4bool IsHypernucleus () const
 
G4int GetNumberOfLambdasInHypernucleus () const
 
G4bool IsAntiHypernucleus () const
 
G4int GetNumberOfAntiLambdasInAntiHypernucleus () const
 

Static Public Member Functions

static const G4PDefManagerGetSubInstanceManager ()
 
static void Clean ()
 

Protected Types

enum  { NumberOfQuarkFlavor = 6 }
 

Protected Member Functions

 G4ParticleDefinition ()
 
G4int FillQuarkContents ()
 
void SetParticleSubType (const G4String &subtype)
 
void SetAtomicNumber (G4int)
 
void SetAtomicMass (G4int)
 

Protected Attributes

G4int theQuarkContent [NumberOfQuarkFlavor]
 
G4int theAntiQuarkContent [NumberOfQuarkFlavor]
 
G4bool isGeneralIon = false
 
G4bool isMuonicAtom = false
 

Friends

class G4ParticlePropertyTable
 

Detailed Description

Definition at line 61 of file G4ParticleDefinition.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
NumberOfQuarkFlavor 

Definition at line 236 of file G4ParticleDefinition.hh.

Constructor & Destructor Documentation

◆ G4ParticleDefinition() [1/3]

G4ParticleDefinition::G4ParticleDefinition ( const G4String & aName,
G4double mass,
G4double width,
G4double charge,
G4int iSpin,
G4int iParity,
G4int iConjugation,
G4int iIsospin,
G4int iIsospinZ,
G4int gParity,
const G4String & pType,
G4int lepton,
G4int baryon,
G4int encoding,
G4bool stable,
G4double lifetime,
G4DecayTable * decaytable,
G4bool shortlived = false,
const G4String & subType = "",
G4int anti_encoding = 0,
G4double magneticMoment = 0.0 )

Definition at line 63 of file G4ParticleDefinition.cc.

86 : theParticleName(aName),
87 thePDGMass(mass),
88 thePDGWidth(width),
89 thePDGCharge(charge),
90 thePDGiSpin(iSpin),
91 thePDGSpin(iSpin*0.5),
92 thePDGiParity(iParity),
93 thePDGiConjugation(iConjugation),
94 thePDGiGParity(gParity),
95 thePDGiIsospin(iIsospin),
96 thePDGiIsospin3(iIsospin3),
97 thePDGIsospin(iIsospin*0.5),
98 thePDGIsospin3(iIsospin3*0.5),
99 thePDGMagneticMoment(magneticMoment),
100 theLeptonNumber(lepton),
101 theBaryonNumber(baryon),
102 theParticleType(pType),
103 theParticleSubType(subType),
104 thePDGEncoding(encoding),
105 theAntiPDGEncoding(-1*encoding),
106 fShortLivedFlag(shortlived),
107 thePDGStable(stable),
108 thePDGLifeTime(lifetime),
109 theDecayTable(decaytable)
110// clang-format on
111{
112 static const G4String nucleus("nucleus");
113 static const G4String muAtom("MuonicAtom");
114
115 g4particleDefinitionInstanceID = -1;
116 theProcessManagerShadow = nullptr;
117
118 theParticleTable = G4ParticleTable::GetParticleTable();
119
120 // set verboseLevel equal to ParticleTable
121 verboseLevel = theParticleTable->GetVerboseLevel();
122
123 if (anti_encoding != 0) theAntiPDGEncoding = anti_encoding;
124
125 // check quark contents
126 if (this->FillQuarkContents() != thePDGEncoding) {
127#ifdef G4VERBOSE
128 if (verboseLevel > 0) {
129 // Using G4cout expecting that it is available
130 // in construction of static objects
131 G4cout << "Particle " << aName << " has a strange PDGEncoding " << G4endl;
132 }
133#endif
134 G4Exception("G4ParticleDefintion::G4ParticleDefintion", "PART102", JustWarning,
135 "Strange PDGEncoding ");
136 }
137
138 // check initialization is in Pre_Init state except for ions
140
141 if (!fShortLivedFlag && (theParticleType != nucleus) && (theParticleType != muAtom)
142 && (currentState != G4State_PreInit))
143 {
144#ifdef G4VERBOSE
145 if (GetVerboseLevel() > 0) {
146 G4cout << "G4ParticleDefinition (other than ions and shortlived)"
147 << " should be created in Pre_Init state - " << aName << G4endl;
148 }
149#endif
150 G4Exception("G4ParticleDefintion::G4ParticleDefinition()", "PART101", JustWarning,
151 "G4ParticleDefinition should be created in PreInit state");
152 }
153
154 if (theParticleTable->GetIonTable()->IsIon(this)) {
157 }
158
159 if (theParticleTable->GetIonTable()->IsAntiIon(this)) {
160 SetAtomicNumber(std::abs(G4int(GetPDGCharge() / eplus)));
161 SetAtomicMass(std::abs(GetBaryonNumber()));
162 }
163
164 // check name and register this particle into ParticleTable
165 theParticleTable->Insert(this);
166}
G4ApplicationState
@ G4State_PreInit
@ JustWarning
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
int G4int
Definition G4Types.hh:85
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout
static G4bool IsIon(const G4ParticleDefinition *)
static G4bool IsAntiIon(const G4ParticleDefinition *)
G4int GetVerboseLevel() const
void SetAtomicMass(G4int)
void SetAtomicNumber(G4int)
G4IonTable * GetIonTable() const
G4int GetVerboseLevel() const
static G4ParticleTable * GetParticleTable()
G4ParticleDefinition * Insert(G4ParticleDefinition *particle)
const G4ApplicationState & GetCurrentState() const
static G4StateManager * GetStateManager()

◆ ~G4ParticleDefinition()

G4ParticleDefinition::~G4ParticleDefinition ( )
virtual

Definition at line 174 of file G4ParticleDefinition.cc.

175{
176 if (G4ParticleTable::GetParticleTable()->GetReadiness()) {
178 G4ApplicationState currentState = pStateManager->GetCurrentState();
179 if (currentState != G4State_PreInit) {
180 G4String msg = "Request of deletion for ";
181 msg += GetParticleName();
182 msg += " has No effects because readyToUse is true.";
183 G4Exception("G4ParticleDefinition::~G4ParticleDefinition()", "PART117", JustWarning, msg);
184 return;
185 }
186
187#ifdef G4VERBOSE
188 if (verboseLevel > 0) {
189 G4cout << GetParticleName() << " will be deleted..." << G4endl;
190 }
191#endif
192 }
193 delete theDecayTable;
194}
const G4String & GetParticleName() const

◆ G4ParticleDefinition() [2/3]

G4ParticleDefinition::G4ParticleDefinition ( const G4ParticleDefinition & )
delete

◆ G4ParticleDefinition() [3/3]

G4ParticleDefinition::G4ParticleDefinition ( )
protected

Definition at line 168 of file G4ParticleDefinition.cc.

169{
170 G4Exception("G4ParticleDefinition::G4ParticleDefinition()", "PART001", FatalException,
171 "Illegal call of default constructor for G4ParticleDefinition!");
172}
@ FatalException

Referenced by G4AdjointElectron::Definition(), G4AdjointElectronFI::Definition(), G4AdjointGamma::Definition(), G4AdjointPositron::Definition(), G4AdjointProton::Definition(), G4AntiBMesonZero::Definition(), G4AntiBsMesonZero::Definition(), G4AntiDMesonZero::Definition(), G4AntiKaonZero::Definition(), G4AntiLambda::Definition(), G4AntiLambdab::Definition(), G4AntiLambdacPlus::Definition(), G4AntiNeutrinoE::Definition(), G4AntiNeutrinoMu::Definition(), G4AntiNeutrinoTau::Definition(), G4AntiNeutron::Definition(), G4AntiOmegabMinus::Definition(), G4AntiOmegacZero::Definition(), G4AntiOmegaMinus::Definition(), G4AntiProton::Definition(), G4AntiSigmabMinus::Definition(), G4AntiSigmabPlus::Definition(), G4AntiSigmabZero::Definition(), G4AntiSigmacPlus::Definition(), G4AntiSigmacPlusPlus::Definition(), G4AntiSigmacZero::Definition(), G4AntiSigmaMinus::Definition(), G4AntiSigmaPlus::Definition(), G4AntiSigmaZero::Definition(), G4AntiXibMinus::Definition(), G4AntiXibZero::Definition(), G4AntiXicPlus::Definition(), G4AntiXicZero::Definition(), G4AntiXiMinus::Definition(), G4AntiXiZero::Definition(), G4BcMesonMinus::Definition(), G4BcMesonPlus::Definition(), G4BMesonMinus::Definition(), G4BMesonPlus::Definition(), G4BMesonZero::Definition(), G4BsMesonZero::Definition(), G4ChargedGeantino::Definition(), G4DMesonMinus::Definition(), G4DMesonPlus::Definition(), G4DMesonZero::Definition(), G4DsMesonMinus::Definition(), G4DsMesonPlus::Definition(), G4Electron::Definition(), G4Eta::Definition(), G4Etac::Definition(), G4EtaPrime::Definition(), G4Gamma::Definition(), G4Geantino::Definition(), G4JPsi::Definition(), G4KaonMinus::Definition(), G4KaonPlus::Definition(), G4KaonZero::Definition(), G4KaonZeroLong::Definition(), G4KaonZeroShort::Definition(), G4Lambda::Definition(), G4Lambdab::Definition(), G4LambdacPlus::Definition(), G4MuonMinus::Definition(), G4MuonPlus::Definition(), G4NeutrinoE::Definition(), G4NeutrinoMu::Definition(), G4NeutrinoTau::Definition(), G4OmegabMinus::Definition(), G4OmegacZero::Definition(), G4OmegaMinus::Definition(), G4OpticalPhoton::Definition(), G4PhononLong::Definition(), G4PhononTransFast::Definition(), G4PhononTransSlow::Definition(), G4PionMinus::Definition(), G4PionPlus::Definition(), G4PionZero::Definition(), G4Positron::Definition(), G4SigmabMinus::Definition(), G4SigmabPlus::Definition(), G4SigmabZero::Definition(), G4SigmacPlus::Definition(), G4SigmacPlusPlus::Definition(), G4SigmacZero::Definition(), G4SigmaMinus::Definition(), G4SigmaPlus::Definition(), G4SigmaZero::Definition(), G4TauMinus::Definition(), G4TauPlus::Definition(), G4UnknownParticle::Definition(), G4Upsilon::Definition(), G4XibMinus::Definition(), G4XibZero::Definition(), G4XicPlus::Definition(), G4XicZero::Definition(), G4XiMinus::Definition(), and G4XiZero::Definition().

Member Function Documentation

◆ CalculateAnomaly()

G4double G4ParticleDefinition::CalculateAnomaly ( ) const

Definition at line 374 of file G4ParticleDefinition.cc.

375{
376 G4Exception("G4ParticleDefinition::G4ParticleDefinition", "PART114", JustWarning,
377 "CalculateAnomaly() method will be removed in future releases");
378
379 // gives the anomaly of magnetic moment for spin 1/2 particles
380 if (thePDGiSpin == 1) {
381 G4double muB = 0.5 * CLHEP::eplus * CLHEP::hbar_Planck / (thePDGMass / CLHEP::c_squared);
382 return 0.5 * std::fabs(thePDGMagneticMoment / muB - 2. * thePDGCharge / CLHEP::eplus);
383 }
384
385 return 0.0;
386}
double G4double
Definition G4Types.hh:83

◆ Clean()

void G4ParticleDefinition::Clean ( )
static

Definition at line 212 of file G4ParticleDefinition.cc.

213{
214 // Clears memory allocated by sub-instance manager
215 subInstanceManager.FreeSlave();
216}

Referenced by G4ParticleTable::~G4ParticleTable().

◆ DumpTable()

void G4ParticleDefinition::DumpTable ( ) const

Definition at line 285 of file G4ParticleDefinition.cc.

286{
287 G4cout << G4endl;
288 G4cout << "--- G4ParticleDefinition ---" << G4endl;
289 G4cout << " Particle Name : " << theParticleName << G4endl;
290 G4cout << " PDG particle code : " << thePDGEncoding;
291 G4cout << " [PDG anti-particle code: " << this->GetAntiPDGEncoding() << "]" << G4endl;
292 G4cout << " Mass [GeV/c2] : " << thePDGMass / GeV;
293 G4cout << " Width : " << thePDGWidth / GeV << G4endl;
294 G4cout << " Lifetime [nsec] : " << thePDGLifeTime / ns << G4endl;
295 G4cout << " Charge [e]: " << thePDGCharge / eplus << G4endl;
296 G4cout << " Spin : " << thePDGiSpin << "/2" << G4endl;
297 G4cout << " Parity : " << thePDGiParity << G4endl;
298 G4cout << " Charge conjugation : " << thePDGiConjugation << G4endl;
299 G4cout << " Isospin : (I,Iz): (" << thePDGiIsospin << "/2";
300 G4cout << " , " << thePDGiIsospin3 << "/2 ) " << G4endl;
301 G4cout << " GParity : " << thePDGiGParity << G4endl;
302 if (thePDGMagneticMoment != 0.0) {
303 G4cout << " MagneticMoment [MeV/T] : " << thePDGMagneticMoment / MeV * tesla << G4endl;
304 }
305 G4cout << " Quark contents (d,u,s,c,b,t) : " << theQuarkContent[0];
306 G4cout << ", " << theQuarkContent[1];
307 G4cout << ", " << theQuarkContent[2];
308 G4cout << ", " << theQuarkContent[3];
309 G4cout << ", " << theQuarkContent[4];
310 G4cout << ", " << theQuarkContent[5] << G4endl;
311 G4cout << " AntiQuark contents : " << theAntiQuarkContent[0];
312 G4cout << ", " << theAntiQuarkContent[1];
313 G4cout << ", " << theAntiQuarkContent[2];
314 G4cout << ", " << theAntiQuarkContent[3];
315 G4cout << ", " << theAntiQuarkContent[4];
316 G4cout << ", " << theAntiQuarkContent[5] << G4endl;
317 G4cout << " Lepton number : " << theLeptonNumber;
318 G4cout << " Baryon number : " << theBaryonNumber << G4endl;
319 G4cout << " Particle type : " << theParticleType;
320 G4cout << " [" << theParticleSubType << "]" << G4endl;
321
322 if ((theParticleTable->GetIonTable()->IsIon(this))
323 || (theParticleTable->GetIonTable()->IsAntiIon(this)))
324 {
325 G4cout << " Atomic Number : " << GetAtomicNumber();
326 G4cout << " Atomic Mass : " << GetAtomicMass() << G4endl;
327 }
328 if (fShortLivedFlag) {
329 G4cout << " ShortLived : ON" << G4endl;
330 }
331
332 if (IsGeneralIon()) {
333 G4double lftm = GetIonLifeTime();
334 if (lftm < -1000.) {
335 G4cout << " Stable : No data found -- unknown" << G4endl;
336 }
337 else if (lftm < 0.) {
338 G4cout << " Stable : stable" << G4endl;
339 }
340 else {
341 G4cout << " Stable : unstable -- lifetime = " << G4BestUnit(lftm, "Time")
342 << "\n Decay table should be consulted to G4RadioactiveDecayProcess." << G4endl;
343 }
344 }
345 else {
346 if (thePDGStable) {
347 G4cout << " Stable : stable" << G4endl;
348 }
349 else {
350 if (theDecayTable != nullptr) {
351 theDecayTable->DumpInfo();
352 }
353 else {
354 G4cout << "Decay Table is not defined !!" << G4endl;
355 }
356 }
357 }
358}
#define G4BestUnit(a, b)
void DumpInfo() const
G4int GetAtomicNumber() const
G4bool IsGeneralIon() const
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4int GetAtomicMass() const
G4int theQuarkContent[NumberOfQuarkFlavor]
G4double GetIonLifeTime() const

Referenced by G4IonTable::DumpTable(), G4ParticleTable::DumpTable(), G4ParticleTable::Insert(), and G4ParticleMessenger::SetNewValue().

◆ FillQuarkContents()

G4int G4ParticleDefinition::FillQuarkContents ( )
protected

Definition at line 230 of file G4ParticleDefinition.cc.

231{
232 // Calculate quark and anti-quark contents
233 // Returned value is the PDG encoding for this particle.
234 // It means error if the return value is different from
235 // this->thePDGEncoding
236
237 G4int flavor;
238 for (flavor = 0; flavor < NumberOfQuarkFlavor; ++flavor) {
239 theQuarkContent[flavor] = 0;
240 theAntiQuarkContent[flavor] = 0;
241 }
242
243 G4PDGCodeChecker checker;
244 checker.SetVerboseLevel(verboseLevel);
245
246 G4int temp = checker.CheckPDGCode(thePDGEncoding, theParticleType);
247
248 if (temp != 0) {
249 for (flavor = 0; flavor < NumberOfQuarkFlavor; ++flavor) {
250 theQuarkContent[flavor] = checker.GetQuarkContent(flavor);
251 theAntiQuarkContent[flavor] = checker.GetAntiQuarkContent(flavor);
252 }
253 if ((theParticleType == "meson") || (theParticleType == "baryon")) {
254 // check charge
255 if (!checker.CheckCharge(thePDGCharge)) {
256 temp = 0;
257 G4Exception("G4ParticleDefintion::G4ParticleDefintion", "PART103", JustWarning,
258 "Inconsistent charge against PDG code ");
259#ifdef G4VERBOSE
260 if (verboseLevel > 0) {
261 G4cout << "G4ParticleDefinition::FillQuarkContents : "
262 << " illegal charge (" << thePDGCharge / eplus << " PDG code=" << thePDGEncoding
263 << G4endl;
264 }
265#endif
266 }
267 // check spin
268 if (checker.GetSpin() != thePDGiSpin) {
269 temp = 0;
270 G4Exception("G4ParticleDefintion::G4ParticleDefintion", "PART104", JustWarning,
271 "Inconsistent spin against PDG code ");
272#ifdef G4VERBOSE
273 if (verboseLevel > 0) {
274 G4cout << "G4ParticleDefinition::FillQuarkContents : "
275 << " illegal SPIN (" << thePDGiSpin << "/2"
276 << " PDG code=" << thePDGEncoding << G4endl;
277 }
278#endif
279 }
280 }
281 }
282 return temp;
283}
G4int GetSpin() const
G4int CheckPDGCode(G4int code, const G4String &type)
G4int GetQuarkContent(G4int flavor) const
G4bool CheckCharge(G4double charge) const
G4int GetAntiQuarkContent(G4int flavor) const
void SetVerboseLevel(G4int verbose)

Referenced by G4ParticleDefinition().

◆ GetAntiPDGEncoding()

G4int G4ParticleDefinition::GetAntiPDGEncoding ( ) const
inline

Definition at line 124 of file G4ParticleDefinition.hh.

124{ return theAntiPDGEncoding; }

Referenced by DumpTable(), and G4ParticlePropertyTable::GetParticleProperty().

◆ GetAntiQuarkContent()

◆ GetApplyCutsFlag()

G4bool G4ParticleDefinition::GetApplyCutsFlag ( ) const
inline

◆ GetAtomicMass()

◆ GetAtomicNumber()

G4int G4ParticleDefinition::GetAtomicNumber ( ) const
inline

Referenced by G4SDParticleFilter::Accept(), G4CollisionOutput::addOutgoingParticles(), G4ParticleHPFinalState::adjust_final_state(), G4INCLXXInterface::ApplyYourself(), G4LENDCapture::ApplyYourself(), G4LENDInelastic::ApplyYourself(), G4LightIonQMDReaction::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4ParticleHPInelasticBaseFS::BaseApply(), G4Radioactivation::CalculateChainsFromParent(), G4MuonicAtomHelper::ConstructMuonicAtom(), G4IonTable::Contains(), G4LindhardSorensenIonModel::CorrectionsAlongStep(), G4CascadeInterface::createBullet(), G4MicroElecInelasticModel_new::CrossSectionPerVolume(), G4ECDecay::DecayIt(), G4SFDecay::DecayIt(), DumpTable(), G4EmCorrections::EffectiveChargeCorrection(), G4IonTable::FindIon(), G4IonTable::FindIon(), G4IonTable::FindIonInMaster(), G4IonTable::FindIonInMaster(), G4IonTable::FindIonInMaster(), G4IonTable::FindIonInMaster(), G4AlphaDecay::G4AlphaDecay(), G4BetaMinusDecay::G4BetaMinusDecay(), G4BetaPlusDecay::G4BetaPlusDecay(), G4DNAIons::G4DNAIons(), G4ECDecay::G4ECDecay(), G4FissionProductYieldDist::G4GetFission(), G4Ions::G4Ions(), G4NeutronDecay::G4NeutronDecay(), G4ProtonDecay::G4ProtonDecay(), G4SFDecay::G4SFDecay(), G4TritonDecay::G4TritonDecay(), G4PrimaryTransformer::GenerateSingleTrack(), G4IonTable::GetMuonicAtom(), G4IonTable::GetNucleusMass(), G4InuclNuclei::getZ(), G4IonTable::Insert(), G4IonTable::InsertWorker(), G4IonTable::IsAntiIon(), G4RadioactiveDecay::IsApplicable(), G4IonTable::IsIon(), G4RadioactiveDecay::LoadDecayTable(), G4MicroElecCapture::PostStepDoIt(), G4IntraNucleiCascader::releaseSecondary(), G4IonTable::Remove(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4ITDecay::SetupDecay(), and G4FissionProductYieldDist::SortProbability().

◆ GetBaryonNumber()

G4int G4ParticleDefinition::GetBaryonNumber ( ) const
inline

Definition at line 121 of file G4ParticleDefinition.hh.

121{ return theBaryonNumber; }

Referenced by G4Radioactivation::AddDeexcitationSpectrumForBiasMode(), G4BinaryLightIonReaction::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4LowEIonFragmentation::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4InuclElementaryParticle::baryon(), G4ParticleHPInelasticBaseFS::BaseApply(), G4HadLeadBias::Bias(), G4WilsonAblationModel::BreakItUp(), G4HyperonFTFPBuilder::Build(), G4QGSPAntiBarionBuilder::Build(), G4QGSParticipants::BuildInteractions(), G4CrossSectionElastic::BuildPhysicsTable(), G4CrossSectionInelastic::BuildPhysicsTable(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4ElementaryParticleCollider::collide(), G4ParticleHPInelasticCompFS::CompositeApply(), G4MuonicAtomHelper::ConstructMuonicAtom(), G4StoppingPhysics::ConstructProcess(), G4StoppingPhysicsFritiofWithBinaryCascade::ConstructProcess(), G4StoppingPhysicsWithINCLXX::ConstructProcess(), G4KineticTrack::Decay(), G4QGSParticipants::DeterminePartonMomenta(), G4QuarkExchange::ExciteParticipants(), G4HadronicProcessStore::FindProcess(), G4AdjointIons::G4AdjointIons(), G4DNAIons::G4DNAIons(), G4Ions::G4Ions(), G4ParticleDefinition(), G4ComponentAntiNuclNuclearXS::GetAntiHadronNucleonTotCrSc(), G4QMDParticipant::GetBaryonNumber(), G4EMDissociationCrossSection::GetElementCrossSection(), G4MesonAbsorption::GetFinalState(), G4EnergyRangeManager::GetHadronicInteraction(), G4ComponentAntiNuclNuclearXS::GetInelasticElementCrossSection(), G4IonsShenCrossSection::GetIsoCrossSection(), G4QMDParticipant::GetNuc(), G4ParticlePropertyTable::GetParticleProperty(), G4ComponentAntiNuclNuclearXS::GetTotalElementCrossSection(), G4FTFModel::Init(), G4FTFParameters::InitForInteraction(), G4NuclNuclDiffuseElastic::Initialise(), G4NuclNuclDiffuseElastic::InitialiseOnFly(), G4NuclNuclDiffuseElastic::InitParameters(), G4NuclNuclDiffuseElastic::InitParametersGla(), G4IonTable::IsAntiIon(), G4HadronicAbsorptionFritiof::IsApplicable(), G4IonsShenCrossSection::IsElementApplicable(), G4IonTable::IsIon(), G4AdjointTrackingAction::PostUserTrackingAction(), G4GeneratorPrecompoundInterface::PropagateNuclNucl(), G4AdjointSimManager::RegisterAtEndOfAdjointTrack(), G4NuclNuclDiffuseElastic::SampleCoulombMuCMS(), G4AntiNuclElastic::SampleInvariantT(), G4Scatterer::Scatter(), G4VPartonStringModel::Scatter(), and G4AdjointSteppingAction::UserSteppingAction().

◆ GetDecayTable()

◆ GetInstanceID()

G4int G4ParticleDefinition::GetInstanceID ( ) const
inline

◆ GetIonLifeTime()

G4double G4ParticleDefinition::GetIonLifeTime ( ) const
inline

Referenced by DumpTable().

◆ GetLeptonNumber()

G4int G4ParticleDefinition::GetLeptonNumber ( ) const
inline

◆ GetMasterProcessManager()

◆ GetNumberOfAntiLambdasInAntiHypernucleus()

G4int G4ParticleDefinition::GetNumberOfAntiLambdasInAntiHypernucleus ( ) const
inline

◆ GetNumberOfLambdasInHypernucleus()

G4int G4ParticleDefinition::GetNumberOfLambdasInHypernucleus ( ) const
inline

◆ GetParticleDefinitionID()

◆ GetParticleName()

const G4String & G4ParticleDefinition::GetParticleName ( ) const
inline

Definition at line 96 of file G4ParticleDefinition.hh.

96{ return theParticleName; }

Referenced by G4VEmProcess::ActivateForcedInteraction(), G4ITStepProcessor::ActiveOnlyITProcess(), G4ChannelingOptrMultiParticleChangeCrossSection::AddChargedParticles(), G4CollisionManager::AddCollision(), G4BiasingHelper::AddLimiterProcess(), G4CollisionOutput::addOutgoingParticles(), G4ProcessManager::AddProcess(), G4IonTable::AddProcessManager(), G4PhysicsListHelper::AddTransportation(), LBE::AddTransportation(), G4ParticleHPFinalState::adjust_final_state(), G4ErrorEnergyLoss::AlongStepDoIt(), G4AblaInterface::ApplyYourself(), G4ANuElNucleusCcModel::ApplyYourself(), G4ANuElNucleusNcModel::ApplyYourself(), G4ANuMuNucleusCcModel::ApplyYourself(), G4ANuMuNucleusNcModel::ApplyYourself(), G4ANuTauNucleusCcModel::ApplyYourself(), G4ANuTauNucleusNcModel::ApplyYourself(), G4BinaryCascade::ApplyYourself(), G4CascadeInterface::ApplyYourself(), G4HadronElastic::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LightIonQMDReaction::ApplyYourself(), G4NeutrinoElectronCcModel::ApplyYourself(), G4NeutronFissionVI::ApplyYourself(), G4NeutronRadCapture::ApplyYourself(), G4NeutronRadCaptureHP::ApplyYourself(), G4NuElNucleusCcModel::ApplyYourself(), G4NuElNucleusNcModel::ApplyYourself(), G4NuMuNucleusCcModel::ApplyYourself(), G4NuMuNucleusNcModel::ApplyYourself(), G4NuTauNucleusCcModel::ApplyYourself(), G4NuTauNucleusNcModel::ApplyYourself(), G4PreCompoundModel::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4MuonMinusAtomicCapture::AtRestDoIt(), G4ParticleHPInelasticBaseFS::BaseApply(), G4WilsonAblationModel::BreakItUp(), G4EmTableUtil::BuildDEDXTable(), G4VEnergyLossProcess::BuildDEDXTable(), G4EmTableUtil::BuildEmProcess(), G4VUserPhysicsList::BuildIntegralPhysicsTable(), G4QGSParticipants::BuildInteractions(), G4EmTableUtil::BuildLambdaTable(), G4EmTableUtil::BuildLambdaTable(), G4EmTableUtil::BuildMscProcess(), G4BGGNucleonElasticXS::BuildPhysicsTable(), G4BGGNucleonInelasticXS::BuildPhysicsTable(), G4BGGPionElasticXS::BuildPhysicsTable(), G4BGGPionInelasticXS::BuildPhysicsTable(), G4ChargeExchangeProcess::BuildPhysicsTable(), G4CrossSectionDataStore::BuildPhysicsTable(), G4CrossSectionElastic::BuildPhysicsTable(), G4CrossSectionHP::BuildPhysicsTable(), G4CrossSectionInelastic::BuildPhysicsTable(), G4DNABrownianTransportation::BuildPhysicsTable(), G4GammaGeneralProcess::BuildPhysicsTable(), G4GammaNuclearXS::BuildPhysicsTable(), G4HadronicProcess::BuildPhysicsTable(), G4hImpactIonisation::BuildPhysicsTable(), G4LossTableManager::BuildPhysicsTable(), G4LowECapture::BuildPhysicsTable(), G4NeutronCaptureXS::BuildPhysicsTable(), G4NeutronElasticXS::BuildPhysicsTable(), G4NeutronGeneralProcess::BuildPhysicsTable(), G4NeutronHPCaptureData::BuildPhysicsTable(), G4NeutronInelasticXS::BuildPhysicsTable(), G4ParticleHPInelastic::BuildPhysicsTable(), G4ParticleHPJENDLHEData::BuildPhysicsTable(), G4ParticleInelasticXS::BuildPhysicsTable(), G4RadioactiveDecay::BuildPhysicsTable(), G4TransportationWithMsc::BuildPhysicsTable(), G4UPiNuclearCrossSection::BuildPhysicsTable(), G4VEnergyLossProcess::BuildPhysicsTable(), G4VLEPTSModel::BuildPhysicsTable(), G4VUserChemistryList::BuildPhysicsTable(), G4VUserPhysicsList::BuildPhysicsTable(), G4PenelopeIonisationXSHandler::BuildXSTable(), G4Radioactivation::CalculateChainsFromParent(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4EmTableUtil::CheckIon(), G4PhysicsListHelper::CheckParticleList(), G4HadronicProcess::CheckResult(), G4VParticleChange::CheckSecondary(), G4StackChecker::ClassifyNewTrack(), G4ElementaryParticleCollider::collide(), G4InuclCollider::collide(), G4LightTargetCollider::collide(), G4RadioactiveDecay::CollimateDecayProduct(), G4ParticleHPInelasticCompFS::CompositeApply(), G4EmCalculator::ComputeCrossSectionPerAtom(), G4EmCalculator::ComputeCrossSectionPerShell(), G4EmCalculator::ComputeCrossSectionPerVolume(), G4EmCalculator::ComputeDEDX(), G4PenelopeIonisationModel::ComputeDEDXPerVolume(), G4VCrossSectionDataSet::ComputeIsoCrossSection(), G4EmCalculator::ComputeMeanFreePath(), G4EmCalculator::ComputeNuclearDEDX(), G4AdjointCSManager::ComputeTotalAdjointCS(), G4ITModelProcessor::ComputeTrackReaction(), G4WentzelOKandVIxSection::ComputeTransportCrossSectionPerAtom(), G4EmDNABuilder::ConstructDNALightIonPhysics(), G4ErrorPhysicsList::ConstructEM(), LBE::ConstructEM(), LBE::ConstructGeneral(), LBE::ConstructHad(), G4MuonicAtomHelper::ConstructMuonicAtom(), LBE::ConstructOp(), G4ChargeExchangePhysics::ConstructProcess(), G4DecayPhysics::ConstructProcess(), G4ErrorPhysicsList::ConstructProcess(), G4FastSimulationPhysics::ConstructProcess(), G4GenericBiasingPhysics::ConstructProcess(), G4HadronInelasticQBBC::ConstructProcess(), G4HadronInelasticQBBC_ABLA::ConstructProcess(), G4HadronPhysicsFTFQGSP_BERT::ConstructProcess(), G4IonElasticPhysics::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), G4StoppingPhysics::ConstructProcess(), G4StoppingPhysicsFritiofWithBinaryCascade::ConstructProcess(), G4StoppingPhysicsWithINCLXX::ConstructProcess(), G4UnknownDecayPhysics::ConstructProcess(), G4ProductionCutsTable::ConvertRangeToEnergy(), G4CascadeInterface::createBullet(), G4XPDGElastic::CrossSection(), G4XPDGTotal::CrossSection(), G4ParticleHPInelasticXS::CrossSectionDescription(), G4DNABornExcitationModel1::CrossSectionPerVolume(), G4DNABornExcitationModel2::CrossSectionPerVolume(), G4DNABornIonisationModel1::CrossSectionPerVolume(), G4DNABornIonisationModel2::CrossSectionPerVolume(), G4DNACPA100ElasticModel::CrossSectionPerVolume(), G4DNACPA100ExcitationModel::CrossSectionPerVolume(), G4DNACPA100IonisationModel::CrossSectionPerVolume(), G4DNADingfelderChargeDecreaseModel::CrossSectionPerVolume(), G4DNADingfelderChargeIncreaseModel::CrossSectionPerVolume(), G4DNADiracRMatrixExcitationModel::CrossSectionPerVolume(), G4DNAELSEPAElasticModel::CrossSectionPerVolume(), G4DNAEmfietzoglouExcitationModel::CrossSectionPerVolume(), G4DNAEmfietzoglouIonisationModel::CrossSectionPerVolume(), G4DNAIonElasticModel::CrossSectionPerVolume(), G4DNAMillerGreenExcitationModel::CrossSectionPerVolume(), G4DNAPTBElasticModel::CrossSectionPerVolume(), G4DNAPTBExcitationModel::CrossSectionPerVolume(), G4DNAPTBIonisationModel::CrossSectionPerVolume(), G4DNAQuinnPlasmonExcitationModel::CrossSectionPerVolume(), G4DNARelativisticIonisationModel::CrossSectionPerVolume(), G4DNARPWBAExcitationModel::CrossSectionPerVolume(), G4DNARPWBAIonisationModel::CrossSectionPerVolume(), G4DNARuddIonisationExtendedModel::CrossSectionPerVolume(), G4DNARuddIonisationModel::CrossSectionPerVolume(), G4MicroElecElasticModel::CrossSectionPerVolume(), G4MicroElecElasticModel_new::CrossSectionPerVolume(), G4MicroElecInelasticModel::CrossSectionPerVolume(), G4MicroElecInelasticModel_new::CrossSectionPerVolume(), G4PenelopeIonisationModel::CrossSectionPerVolume(), G4KineticTrack::Decay(), G4Decay::DecayIt(), G4Radioactivation::DecayIt(), G4RadioactiveDecay::DecayIt(), G4UnknownDecay::DecayIt(), G4QGSParticipants::DeterminePartonMomenta(), G4RadioactiveDecay::DoDecay(), G4ITStepProcessor::DoStepping(), G4EmElementSelector::Dump(), G4HadronicProcessStore::Dump(), G4DecayTable::DumpInfo(), G4ParticleHPChannelList::DumpInfo(), G4ProcessManager::DumpInfo(), G4ProcessTable::DumpInfo(), G4VParticleChange::DumpInfo(), G4LENDCrossSection::DumpLENDTargetInfo(), G4LENDModel::DumpLENDTargetInfo(), G4VUserPhysicsList::DumpList(), G4BetaMinusDecay::DumpNuclearInfo(), G4BetaPlusDecay::DumpNuclearInfo(), G4ITDecay::DumpNuclearInfo(), G4CrossSectionHP::DumpPhysicsTable(), G4HadronicProcess::DumpState(), G4IonTable::DumpTable(), G4EmCorrections::EffectiveChargeCorrection(), G4ParticleInelasticXS::ElementCrossSection(), G4ConcreteNNTwoBodyResonance::establish_G4MT_TLS_G4ConcreteNNTwoBodyResonance(), G4QGSDiffractiveExcitation::ExciteParticipants(), G4EmModelManager::FillDEDXVector(), G4EmModelManager::FillLambdaVector(), G4HadronicProcess::FillResult(), G4EmExtraParameters::FillStepFunction(), G4VScatteringCollision::FinalState(), G4ProcessTable::FindProcess(), G4ProcessTable::FindProcess(), G4ProcessTable::FindProcess(), G4QGSMFragmentation::FragmentString(), G4ExcitedStringDecay::FragmentStrings(), G4CascadParticle::G4CascadParticle(), G4ConcreteNNToDeltaDeltastar::G4ConcreteNNToDeltaDeltastar(), G4ConcreteNNToDeltaNstar::G4ConcreteNNToDeltaNstar(), G4ConcreteNNToNDeltaStar::G4ConcreteNNToNDeltaStar(), G4ConcreteNNToNNStar::G4ConcreteNNToNNStar(), G4ConcreteNNTwoBodyResonance::G4ConcreteNNTwoBodyResonance(), G4ConcreteNStarNToNN::G4ConcreteNStarNToNN(), G4ErrorTrackLengthTarget::G4ErrorTrackLengthTarget(), G4FissionProductYieldDist::G4GetFission(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4ParticleHPInelastic::G4ParticleHPInelastic(), G4ParticleHPInelasticData::G4ParticleHPInelasticData(), G4ParticleInelasticXS::G4ParticleInelasticXS(), G4PartonPair::G4PartonPair(), G4RunManagerKernel::G4RunManagerKernel(), G4SmoothTrajectory::G4SmoothTrajectory(), G4Trajectory::G4Trajectory(), G4XAnnihilationChannel::G4XAnnihilationChannel(), G4XResonance::G4XResonance(), G4SingleParticleSource::GeneratePrimaryVertex(), G4TextPPReporter::GeneratePropertyTable(), G4PrimaryTransformer::GenerateSingleTrack(), G4AdjointCSManager::GetAdjointParticleEquivalent(), G4Radioactivation::GetChainsFromParent(), G4ErrorEnergyLoss::GetContinuousStepLimit(), G4CrossSectionDataStore::GetCrossSection(), G4EmCalculator::GetCrossSectionPerVolume(), G4PenelopeIonisationXSHandler::GetCrossSectionTableForCouple(), G4EmCalculator::GetCSDARange(), G4ParticleGunMessenger::GetCurrentValue(), G4ParticleMessenger::GetCurrentValue(), G4UserPhysicsListMessenger::GetCurrentValue(), G4RadioactiveDecay::GetDecayTable(), G4EmCalculator::GetDEDX(), G4BGGNucleonElasticXS::GetElementCrossSection(), G4BGGNucleonInelasticXS::GetElementCrossSection(), G4BGGPionElasticXS::GetElementCrossSection(), G4BGGPionInelasticXS::GetElementCrossSection(), G4ChargeExchangeProcess::GetElementCrossSection(), G4NeutrinoElectronCcXsc::GetElementCrossSection(), G4NeutrinoElectronNcXsc::GetElementCrossSection(), G4VCrossSectionDataSet::GetElementCrossSection(), G4DNADiracRMatrixExcitationModel::GetExtendedPartialCrossSection(), G4AdjointCSManager::GetForwardParticleEquivalent(), G4ComponentAntiNuclNuclearXS::GetInelasticElementCrossSection(), G4BGGNucleonElasticXS::GetIsoCrossSection(), G4BGGNucleonInelasticXS::GetIsoCrossSection(), G4BGGPionElasticXS::GetIsoCrossSection(), G4BGGPionInelasticXS::GetIsoCrossSection(), G4ElNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4MuNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4TauNeutrinoNucleusTotXsc::GetIsoCrossSection(), G4VCrossSectionDataSet::GetIsoCrossSection(), G4EmCalculator::GetKinEnergy(), G4LENDManager::GetLENDTarget(), G4Decay::GetMeanFreePath(), G4EmCalculator::GetMeanFreePath(), G4MicroElecCapture::GetMeanFreePath(), G4MuonicAtomDecay::GetMeanFreePath(), G4RadioactiveDecay::GetMeanFreePath(), G4SynchrotronRadiation::GetMeanFreePath(), G4RadioactiveDecay::GetMeanLifeTime(), G4EmModelManager::GetModel(), G4MoleculeDefinition::GetName(), G4DNABornIonisationModel1::GetPartialCrossSection(), G4VMscModel::GetParticleChangeForMSC(), G4ParticleTable::GetParticleName(), G4ParticlePropertyTable::GetParticleProperty(), G4ParticleHPManager::GetPHPIndex(), G4VProcess::GetPhysicsTableFileName(), G4SteppingManager::GetProcessNumber(), G4ProcessManager::GetProcessVectorIndex(), G4EmCalculator::GetRangeFromRestricteDEDX(), G4Scintillation::GetScintillationYieldByParticleType(), G4ComponentAntiNuclNuclearXS::GetTotalElementCrossSection(), G4FTFModel::Init(), G4ParticleHPInelasticBaseFS::Init(), G4ParticleHPInelasticCompFS::Init(), G4BetheBlochModel::Initialise(), G4BraggIonModel::Initialise(), G4BraggModel::Initialise(), G4DNABornExcitationModel1::Initialise(), G4DNABornExcitationModel2::Initialise(), G4DNABornIonisationModel1::Initialise(), G4DNABornIonisationModel2::Initialise(), G4DNAChampionElasticModel::Initialise(), G4DNACPA100ElasticModel::Initialise(), G4DNACPA100ExcitationModel::Initialise(), G4DNACPA100IonisationModel::Initialise(), G4DNADingfelderChargeDecreaseModel::Initialise(), G4DNADingfelderChargeIncreaseModel::Initialise(), G4DNADiracRMatrixExcitationModel::Initialise(), G4DNAELSEPAElasticModel::Initialise(), G4DNAEmfietzoglouExcitationModel::Initialise(), G4DNAEmfietzoglouIonisationModel::Initialise(), G4DNAMeltonAttachmentModel::Initialise(), G4DNAMillerGreenExcitationModel::Initialise(), G4DNAPTBElasticModel::Initialise(), G4DNAPTBExcitationModel::Initialise(), G4DNAPTBIonisationModel::Initialise(), G4DNAQuinnPlasmonExcitationModel::Initialise(), G4DNARelativisticIonisationModel::Initialise(), G4DNARPWBAExcitationModel::Initialise(), G4DNARPWBAIonisationModel::Initialise(), G4DNARuddIonisationExtendedModel::Initialise(), G4DNARuddIonisationModel::Initialise(), G4DNAScreenedRutherfordElasticModel::Initialise(), G4DNATransformElectronModel::Initialise(), G4DNAUeharaScreenedRutherfordElasticModel::Initialise(), G4EmBiasingManager::Initialise(), G4EmModelManager::Initialise(), G4ICRU73QOModel::Initialise(), G4MicroElecElasticModel::Initialise(), G4MicroElecElasticModel_new::Initialise(), G4MicroElecInelasticModel::Initialise(), G4MicroElecInelasticModel_new::Initialise(), G4PAIModel::Initialise(), G4PAIPhotModel::Initialise(), G4TDNAOneStepThermalizationModel< MODEL >::Initialise(), G4UrbanAdjointMscModel::Initialise(), G4hIonisation::InitialiseEnergyLossProcess(), G4CoulombScattering::InitialiseProcess(), G4DNAAttachment::InitialiseProcess(), G4DNAChargeDecrease::InitialiseProcess(), G4DNAChargeIncrease::InitialiseProcess(), G4DNAElastic::InitialiseProcess(), G4DNAExcitation::InitialiseProcess(), G4DNAIonisation::InitialiseProcess(), G4DNAPlasmonExcitation::InitialiseProcess(), G4DNAVibExcitation::InitialiseProcess(), G4MicroElecInelastic::InitialiseProcess(), G4VUserPhysicsList::InitializeProcessManager(), G4DecayTable::Insert(), G4ParticleTable::Insert(), G4ProcessTable::Insert(), G4IonTable::IsAntiIon(), G4ANuElNucleusCcModel::IsApplicable(), G4ANuElNucleusNcModel::IsApplicable(), G4ANuMuNucleusCcModel::IsApplicable(), G4ANuMuNucleusNcModel::IsApplicable(), G4ANuTauNucleusCcModel::IsApplicable(), G4ANuTauNucleusNcModel::IsApplicable(), G4Cerenkov::IsApplicable(), G4DNAMolecularDissociation::IsApplicable(), G4NeutrinoElectronCcModel::IsApplicable(), G4NeutrinoElectronNcModel::IsApplicable(), G4NeutrinoNucleusModel::IsApplicable(), G4NeutronElectronElModel::IsApplicable(), G4NeutronKiller::IsApplicable(), G4NuElNucleusCcModel::IsApplicable(), G4NuElNucleusNcModel::IsApplicable(), G4NuMuNucleusCcModel::IsApplicable(), G4NuMuNucleusNcModel::IsApplicable(), G4NuTauNucleusCcModel::IsApplicable(), G4NuTauNucleusNcModel::IsApplicable(), G4RadioactiveDecay::IsApplicable(), G4Scintillation::IsApplicable(), G4UnknownDecay::IsApplicable(), G4ParallelWorldProcess::IsAtRestRequired(), G4ParallelWorldScoringProcess::IsAtRestRequired(), G4NeutrinoElectronCcXsc::IsElementApplicable(), G4NeutrinoElectronNcXsc::IsElementApplicable(), G4NeutronElectronElXsc::IsElementApplicable(), G4IonTable::IsIon(), G4ElNeutrinoNucleusTotXsc::IsIsoApplicable(), G4MuNeutrinoNucleusTotXsc::IsIsoApplicable(), G4TauNeutrinoNucleusTotXsc::IsIsoApplicable(), G4LENDManager::IsLENDTargetAvailable(), G4IonTable::IsLightAntiIon(), G4IonTable::IsLightIon(), G4ParticleInelasticXS::IsoCrossSection(), G4Radioactivation::IsRateTableReady(), G4FastSimulationManager::ListModels(), G4GeneralParticleSource::ListSource(), G4RadioactiveDecay::LoadDecayTable(), G4LossTableManager::LocalPhysicsTables(), G4ParticleHPInelastic::ModelDescription(), G4TextPPRetriever::ModifyPropertyTable(), G4VShortLivedParticle::operator!=(), G4VShortLivedParticle::operator==(), G4VLongitudinalStringDecay::PossibleHadronMass(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4HadronElasticProcess::PostStepDoIt(), G4HadronicProcess::PostStepDoIt(), G4MicroElecCapture::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4NeutrinoElectronProcess::PostStepDoIt(), G4TauNeutrinoNucleusProcess::PostStepDoIt(), G4VEmProcess::PostStepDoIt(), G4VEnergyLossProcess::PostStepGetPhysicalInteractionLength(), G4AdjointTrackingAction::PostUserTrackingAction(), G4EmTableUtil::PrepareEmProcess(), G4EmConfigurator::PrepareModels(), G4EmConfigurator::PrepareModels(), G4EmConfigurator::PrepareModels(), G4EmTableUtil::PrepareMscProcess(), G4GammaGeneralProcess::PreparePhysicsTable(), G4LossTableManager::PreparePhysicsTable(), G4LossTableManager::PreparePhysicsTable(), G4LossTableManager::PreparePhysicsTable(), G4NeutronGeneralProcess::PreparePhysicsTable(), G4VEmProcess::PreparePhysicsTable(), G4VEnergyLossProcess::PreparePhysicsTable(), G4VUserPhysicsList::PreparePhysicsTable(), G4PrimaryParticle::Print(), G4InuclElementaryParticle::print(), G4InuclNuclei::print(), G3PartTable::PrintAll(), G4EmCalculator::PrintDEDXTable(), G4CascadeHistory::PrintEntry(), G4HadronicProcessStore::PrintHtml(), G4EmCalculator::PrintInverseRangeTable(), G4EmCalculator::PrintRangeTable(), G4IntraNucleiCascader::processSecondary(), G4CascadeInterface::Propagate(), G4GeneratorPrecompoundInterface::Propagate(), G4GeneratorPrecompoundInterface::PropagateNuclNucl(), G4StackManager::PushOneTrack(), G4VDNAModel::RandomSelectShell(), G4AdjointCSManager::RegisterAdjointParticle(), G4AdjointSimManager::RegisterAtEndOfAdjointTrack(), G4AdjointCSManager::RegisterEmProcess(), G4AdjointCSManager::RegisterEnergyLossProcess(), G4LossTableManager::RegisterExtraParticle(), G4HadronicProcessStore::RegisterParticle(), G4PhysicsListHelper::RegisterProcess(), G4IntraNucleiCascader::releaseSecondary(), G4IonTable::Remove(), G4ParticleTable::Remove(), G4ProcessTable::Remove(), G4ProcessManager::RemoveProcess(), G4VUserPhysicsList::RemoveProcessManager(), G4VUserPhysicsList::RemoveTrackingManager(), G4TransportationLogger::ReportLoopingTrack(), G4EmDataHandler::RetrievePhysicsTable(), G4GammaGeneralProcess::RetrievePhysicsTable(), G4VUserPhysicsList::RetrievePhysicsTable(), G4EmTableUtil::RetrieveTable(), G4MuPairProductionModel::RetrieveTables(), G4ParticleHPProduct::Sample(), G4NeutrinoElectronCcModel::SampleCosCMS(), G4NeutrinoElectronNcModel::SampleElectronTkin(), G4ElasticHadrNucleusHE::SampleInvariantT(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4DNABornIonisationModel1::SampleSecondaries(), G4DNAEmfietzoglouExcitationModel::SampleSecondaries(), G4DNAEmfietzoglouIonisationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4QuasiElasticChannel::Scatter(), G4Scatterer::Scatter(), G4VPartonStringModel::Scatter(), G4DecayTable::SelectADecayChannel(), G4MoleculeDefinition::Serialize(), G4VEmAdjointModel::SetAdjointEquivalentOfDirectPrimaryParticleDefinition(), G4VEmProcess::SetCrossSectionBiasingFactor(), G4VDecayChannel::SetDaughter(), G4PrimaryTransformer::SetDecayProducts(), G4VEnergyLossProcess::SetDEDXTable(), G4StackManager::SetDefaultClassification(), G4DynamicParticle::SetDefinition(), G4VEnergyLossProcess::SetLambdaTable(), G4BetheHeitler5DModel::SetLeptonPair(), G4ParticleMessenger::SetNewValue(), G4VDecayChannel::SetParent(), G4VUserPhysicsList::SetParticleCuts(), G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentum(), G4ParticleGun::SetParticleMomentum(), G4RunManagerKernel::SetPhysics(), G4ProcessTable::SetProcessActivation(), G4ProcessTable::SetProcessActivation(), G4ProcessTable::SetProcessActivation(), G4ProcessTable::SetProcessActivation(), G4ParallelGeometriesLimiterProcess::SetProcessManager(), G4ProcessManager::SetProcessOrdering(), G4ProcessManager::SetProcessOrderingToFirst(), G4ProcessManager::SetProcessOrderingToLast(), G4ProcessManager::SetProcessOrderingToSecond(), G4ITStepProcessor::SetupGeneralProcessInfo(), G4WorkerRunManagerKernel::SetupShadowProcess(), G4WorkerTaskRunManagerKernel::SetupShadowProcess(), G4GlobalFastSimulationManager::ShowSetup(), G4EmTableUtil::StoreMscTable(), G4EmDataHandler::StorePhysicsTable(), G4VEnergyLossProcess::StorePhysicsTable(), G4VUserPhysicsList::StorePhysicsTable(), G4MuPairProductionModel::StoreTables(), G4VEmProcess::StreamInfo(), G4VMultipleScattering::StreamInfo(), G4ITTrackingInteractivity::TrackBanner(), G4VITSteppingVerbose::TrackBanner(), G4ITSteppingVerbose::TrackingEnded(), G4AdjointPrimaryGeneratorAction::UpdateListOfPrimaryParticles(), and ~G4ParticleDefinition().

◆ GetParticleSubType()

◆ GetParticleTable()

G4ParticleTable * G4ParticleDefinition::GetParticleTable ( ) const
inline

◆ GetParticleType()

◆ GetPDGCharge()

G4double G4ParticleDefinition::GetPDGCharge ( ) const
inline

Definition at line 100 of file G4ParticleDefinition.hh.

100{ return thePDGCharge; }

Referenced by G4ChannelingOptrMultiParticleChangeCrossSection::AddChargedParticles(), G4NuclearStopping::AlongStepDoIt(), G4BinaryLightIonReaction::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LFission::ApplyYourself(), G4LightIonQMDReaction::ApplyYourself(), G4LowEIonFragmentation::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4WilsonAblationModel::BreakItUp(), G4DiffuseElastic::BuildAngleTable(), G4DiffuseElasticV2::BuildAngleTable(), G4ErrorTrajState::BuildCharge(), G4hRDEnergyLoss::BuildDEDXTable(), G4QGSParticipants::BuildInteractions(), G4HadronicProcess::BuildPhysicsTable(), G4hImpactIonisation::BuildPhysicsTable(), G4VXTRenergyLoss::BuildPhysicsTable(), G4ecpssrBaseKxsModel::CalculateCrossSection(), G4ecpssrBaseLixsModel::CalculateL1CrossSection(), G4ecpssrBaseLixsModel::CalculateL2CrossSection(), G4ecpssrBaseLixsModel::CalculateL3CrossSection(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4PhysicsListHelper::CheckParticleList(), G4ParticleHPInelasticCompFS::CompositeApply(), G4ComponentGGNuclNuclXsc::ComputeCoulombBarier(), G4EnergyLossForExtrapolator::ComputeDEDX(), G4hImpactIonisation::ComputeDEDX(), G4AtimaEnergyLossModel::ComputeDEDXPerVolume(), G4ICRU49NuclearStoppingModel::ComputeDEDXPerVolume(), G4EnergyLossForExtrapolator::ComputeEnergy(), G4EnergyLossForExtrapolator::ComputeRange(), G4ErrorPhysicsList::ConstructEM(), LBE::ConstructEM(), G4MuonicAtomHelper::ConstructMuonicAtom(), G4GenericBiasingPhysics::ConstructProcess(), G4StepLimiterPhysics::ConstructProcess(), G4StoppingPhysics::ConstructProcess(), G4StoppingPhysicsFritiofWithBinaryCascade::ConstructProcess(), G4StoppingPhysicsWithINCLXX::ConstructProcess(), G4HadronNucleonXsc::CoulombBarrier(), G4NuclearRadii::CoulombFactor(), G4NuclearRadii::CoulombFactor(), G4KineticTrack::Decay(), G4AtimaFluctuations::Dispersion(), G4ChannelingFastSimModel::DoIt(), G4ionEffectiveCharge::EffectiveCharge(), G4EmCorrections::EffectiveChargeCorrection(), G4VScatteringCollision::FinalState(), G4Absorber::FindAbsorbers(), G4Absorber::FindProducts(), G4AdjointIons::G4AdjointIons(), G4ConcreteNNToDeltaDeltastar::G4ConcreteNNToDeltaDeltastar(), G4DNAIons::G4DNAIons(), G4Ions::G4Ions(), G4ParticleDefinition(), G4PrimaryParticle::G4PrimaryParticle(), G4PrimaryParticle::G4PrimaryParticle(), G4PrimaryParticle::G4PrimaryParticle(), G4PrimaryParticle::G4PrimaryParticle(), G4PrimaryParticle::G4PrimaryParticle(), G4PrimaryParticle::G4PrimaryParticle(), G4SmoothTrajectory::G4SmoothTrajectory(), G4Trajectory::G4Trajectory(), G4TextPPReporter::GeneratePropertyTable(), G4QMDParticipant::GetChargeInUnitOfEplus(), G4VEmModel::GetChargeSquareRatio(), G4DiffuseElastic::GetCoulombElasticXsc(), G4NuclNuclDiffuseElastic::GetCoulombElasticXsc(), G4DiffuseElastic::GetCoulombIntegralXsc(), G4NuclNuclDiffuseElastic::GetCoulombIntegralXsc(), G4DiffuseElastic::GetCoulombTotalXsc(), G4NuclNuclDiffuseElastic::GetCoulombTotalXsc(), G4EnergyLossTables::GetDEDX(), G4EnergyLossTables::GetDEDX(), G4VMscModel::GetDEDX(), G4VMscModel::GetDEDX(), G4DiffuseElastic::GetDiffuseElasticSumXsc(), G4NuclNuclDiffuseElastic::GetDiffuseElasticSumXsc(), G4EMDissociationCrossSection::GetElementCrossSection(), G4VMscModel::GetEnergy(), G4LossTableManager::GetEnergyLossProcess(), G4MesonAbsorption::GetFinalState(), G4IonsShenCrossSection::GetIsoCrossSection(), G4SynchrotronRadiation::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4VXTRenergyLoss::GetMeanFreePath(), G4VEmModel::GetParticleCharge(), G4ParticlePropertyTable::GetParticleProperty(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4EnergyLossTables::GetPreciseDEDX(), G4EnergyLossTables::GetPreciseDEDX(), G4EnergyLossTables::GetPreciseEnergyFromRange(), G4EnergyLossTables::GetPreciseEnergyFromRange(), G4EnergyLossTables::GetPreciseRangeFromEnergy(), G4EnergyLossTables::GetPreciseRangeFromEnergy(), G4EnergyLossTables::GetRange(), G4EnergyLossTables::GetRange(), G4VMscModel::GetRange(), G4VMscModel::GetRange(), G4UAtomicDeexcitation::GetShellIonisationCrossSectionPerAtom(), G4Scatterer::GetTimeToInteraction(), G4HadronNucleonXsc::HadronNucleonXscNS(), G4HadronNucleonXsc::HadronNucleonXscPDG(), G4FTFModel::Init(), G4NuclNuclDiffuseElastic::InitDynParameters(), G4FTFParameters::InitForInteraction(), G4ErrorPropagator::InitG4Track(), G4BetheBlochModel::Initialise(), G4GoudsmitSaundersonMscModel::Initialise(), G4MicroElecInelasticModel::Initialise(), G4MicroElecInelasticModel_new::Initialise(), G4hhIonisation::InitialiseEnergyLossProcess(), G4hIonisation::InitialiseEnergyLossProcess(), G4MuIonisation::InitialiseEnergyLossProcess(), G4AtimaFluctuations::InitialiseMe(), G4IonFluctuations::InitialiseMe(), G4UniversalFluctuation::InitialiseMe(), G4NuclNuclDiffuseElastic::InitParameters(), G4NuclNuclDiffuseElastic::InitParametersGla(), G4EmCorrections::IonHighOrderCorrections(), G4AdjointhMultipleScattering::IsApplicable(), G4Cerenkov::IsApplicable(), G4Channeling::IsApplicable(), G4ChannelingFastSimModel::IsApplicable(), G4CoulombScattering::IsApplicable(), G4eAdjointMultipleScattering::IsApplicable(), G4eMultipleScattering::IsApplicable(), G4ErrorEnergyLoss::IsApplicable(), G4HadronStoppingProcess::IsApplicable(), G4hBremsstrahlung::IsApplicable(), G4hhIonisation::IsApplicable(), G4hImpactIonisation::IsApplicable(), G4hMultipleScattering::IsApplicable(), G4MuBremsstrahlung::IsApplicable(), G4MuIonisation::IsApplicable(), G4MuMultipleScattering::IsApplicable(), G4MuPairProduction::IsApplicable(), G4NuclearStopping::IsApplicable(), G4SynchrotronRadiation::IsApplicable(), G4TransitionRadiation::IsApplicable(), G4VTransitionRadiation::IsApplicable(), G4VXTRenergyLoss::IsApplicable(), G4HadronNucleonXsc::KaonNucleonXscVG(), G4ElectronIonPair::MeanNumberOfIonsAlongStep(), G4CollisionComposite::Resolve::operator()(), G4Cerenkov::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4MinEkineCuts::PostStepGetPhysicalInteractionLength(), G4UserSpecialCuts::PostStepGetPhysicalInteractionLength(), G4EmConfigurator::PrepareModels(), G4EmConfigurator::PrepareModels(), G4EmConfigurator::PrepareModels(), G4VEnergyLossProcess::PreparePhysicsTable(), G4GeneratorPrecompoundInterface::Propagate(), G4GeneratorPrecompoundInterface::PropagateNuclNucl(), G4EnergyLossTables::Register(), G4ParticleHPContAngularPar::Sample(), G4AntiNuclElastic::SampleInvariantT(), G4QuasiElasticChannel::Scatter(), G4Scatterer::Scatter(), G4VPartonStringModel::Scatter(), G4DynamicParticle::SetDefinition(), G4hImpactIonisation::SetElectronicStoppingPowerModel(), G4BraggModel::SetParticle(), G4AtimaFluctuations::SetParticleAndCharge(), G4IonFluctuations::SetParticleAndCharge(), G4ParticleGun::SetParticleDefinition(), G4PrimaryParticle::SetParticleDefinition(), G4SingleParticleSource::SetParticleDefinition(), G4PrimaryParticle::SetPDGcode(), G4IonCoulombCrossSection::SetupParticle(), G4WentzelOKandVIxSection::SetupParticle(), G4EnergySplitter::SplitEnergyInVolumes(), G4DiffuseElastic::TestAngleTable(), G4NuclNuclDiffuseElastic::TestAngleTable(), G4hIonEffChargeSquare::TheValue(), G4hNuclearStoppingModel::TheValue(), G4IonYangFluctuationModel::TheValue(), G4QAOLowEnergyLoss::TheValue(), and G4EmSaturation::VisibleEnergyDeposition().

◆ GetPDGEncoding()

G4int G4ParticleDefinition::GetPDGEncoding ( ) const
inline

Definition at line 123 of file G4ParticleDefinition.hh.

123{ return thePDGEncoding; }

Referenced by G4ITStepProcessor::ActiveOnlyITProcess(), G4BiasingHelper::AddLimiterProcess(), G4FTFAnnihilation::Annihilate(), G4ANuElNucleusCcModel::ApplyYourself(), G4ANuElNucleusNcModel::ApplyYourself(), G4ANuMuNucleusCcModel::ApplyYourself(), G4ANuMuNucleusNcModel::ApplyYourself(), G4ANuTauNucleusCcModel::ApplyYourself(), G4ANuTauNucleusNcModel::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4NuElNucleusCcModel::ApplyYourself(), G4NuElNucleusNcModel::ApplyYourself(), G4NuMuNucleusCcModel::ApplyYourself(), G4NuMuNucleusNcModel::ApplyYourself(), G4NuTauNucleusCcModel::ApplyYourself(), G4NuTauNucleusNcModel::ApplyYourself(), G4HadronBuilder::Build(), G4QGSParticipants::BuildInteractions(), G4ChargeExchangeProcess::BuildPhysicsTable(), G4HadronicProcess::BuildPhysicsTable(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4HadronicProcess::CheckResult(), G4GenericBiasingPhysics::ConstructProcess(), G4DiffractiveExcitation::CreateStrings(), G4XPDGTotal::CrossSection(), G4MicroElecInelasticModel_new::CrossSectionPerVolume(), G4DiffractiveExcitation::ExciteParticipants(), G4QGSDiffractiveExcitation::ExciteParticipants(), G4QuarkExchange::ExciteParticipants(), G4SingleDiffractiveExcitation::ExciteParticipants(), G4HadronicProcess::FillResult(), G4EmExtraParameters::FillStepFunction(), G4ParticleTable::FindParticle(), G4DetailedBalancePhaseSpaceIntegral::G4DetailedBalancePhaseSpaceIntegral(), G4Fragment::G4Fragment(), G4PrimaryParticle::G4PrimaryParticle(), G4PrimaryParticle::G4PrimaryParticle(), G4PrimaryParticle::G4PrimaryParticle(), G4ReactionProduct::G4ReactionProduct(), G4Reggeons::G4Reggeons(), G4RToEConvForElectron::G4RToEConvForElectron(), G4RToEConvForGamma::G4RToEConvForGamma(), G4RToEConvForPositron::G4RToEConvForPositron(), G4RToEConvForProton::G4RToEConvForProton(), G4SmoothTrajectory::G4SmoothTrajectory(), G4Trajectory::G4Trajectory(), G4TextPPReporter::GeneratePropertyTable(), G4PrimaryTransformer::GenerateSingleTrack(), G4ChipsComponentXS::GetElasticElementCrossSection(), G4MolecularConfiguration::GetFakeParticleID(), G4QuasiElasticChannel::GetFraction(), G4ProductionCuts::GetIndex(), G4ChipsComponentXS::GetInelasticElementCrossSection(), G4ChargeExchangeXS::GetIsoCrossSection(), G4ChipsAntiBaryonElasticXS::GetIsoCrossSection(), G4ChipsAntiBaryonInelasticXS::GetIsoCrossSection(), G4ChipsHyperonElasticXS::GetIsoCrossSection(), G4ChipsHyperonInelasticXS::GetIsoCrossSection(), G4ParticlePropertyTable::GetParticleProperty(), G4ParticleHPManager::GetPHPIndex(), G4SteppingManager::GetProcessNumber(), G4UAtomicDeexcitation::GetShellIonisationCrossSectionPerAtom(), G4ChipsComponentXS::GetTotalElementCrossSection(), G4HadronNucleonXsc::HadronNucleonXsc(), G4HadronNucleonXsc::HadronNucleonXscEL(), G4HadronNucleonXsc::HadronNucleonXscNS(), G4HadronNucleonXsc::HadronNucleonXscPDG(), G4HadronNucleonXsc::HadronNucleonXscVU(), G4HadronNucleonXsc::HyperonNucleonXscNS(), G4RKPropagation::Init(), G4FTFParameters::InitForInteraction(), G4MuPairProductionModel::Initialise(), G4ionIonisation::InitialiseEnergyLossProcess(), G4VMscModel::InitialiseParameters(), G4ParticleTable::Insert(), G4EmCorrections::IonHighOrderCorrections(), G4MicroElecSurface::IsApplicable(), G4ParallelWorldProcess::IsAtRestRequired(), G4ParallelWorldScoringProcess::IsAtRestRequired(), G4NuclearRadii::ParticleRadius(), G4AdjointTrackingAction::PostUserTrackingAction(), G4CollisionInitialState::Print(), G4CollisionManager::Print(), G4VLongitudinalStringDecay::QuarkSplitup(), G4AdjointSimManager::RegisterAtEndOfAdjointTrack(), G4ParticleTable::Remove(), G4ChipsElasticModel::SampleInvariantT(), G4ElasticHadrNucleusHE::SampleInvariantT(), G4HadronElastic::SampleInvariantT(), G4SPBaryon::SampleQuarkAndDiquark(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4ChargeExchangeXS::SampleSecondaryType(), G4QuasiElasticChannel::Scatter(), G4HadronNucleonXsc::SCBMesonNucleonXscNS(), G4Parton::SetDefinition(), G4ReactionProduct::SetDefinition(), G4BetheHeitler5DModel::SetLeptonPair(), G4VLongitudinalStringDecay::SetMinimalStringMass(), G4CRCoalescence::SetP0Coalescence(), G4PrimaryParticle::SetParticleDefinition(), G4ITStepProcessor::SetupGeneralProcessInfo(), G4DiffractiveSplitableHadron::SplitUp(), G4RKPropagation::Transport(), G4ParticleChange::UpdateStepForAlongStep(), G4EmSaturation::VisibleEnergyDeposition(), and G4ParticleTable::WorkerG4ParticleTable().

◆ GetPDGiConjugation()

G4int G4ParticleDefinition::GetPDGiConjugation ( ) const
inline

◆ GetPDGiGParity()

G4int G4ParticleDefinition::GetPDGiGParity ( ) const
inline

Definition at line 110 of file G4ParticleDefinition.hh.

110{ return thePDGiGParity; }

Referenced by G4MuonicAtomHelper::ConstructMuonicAtom(), and G4ParticlePropertyTable::GetParticleProperty().

◆ GetPDGiIsospin()

◆ GetPDGiIsospin3()

◆ GetPDGiParity()

G4int G4ParticleDefinition::GetPDGiParity ( ) const
inline

◆ GetPDGIsospin()

G4double G4ParticleDefinition::GetPDGIsospin ( ) const
inline

Definition at line 106 of file G4ParticleDefinition.hh.

106{ return thePDGIsospin; }

◆ GetPDGIsospin3()

G4double G4ParticleDefinition::GetPDGIsospin3 ( ) const
inline

Definition at line 107 of file G4ParticleDefinition.hh.

107{ return thePDGIsospin3; }

Referenced by G4Parton::G4Parton().

◆ GetPDGiSpin()

◆ GetPDGLifeTime()

◆ GetPDGMagneticMoment()

G4double G4ParticleDefinition::GetPDGMagneticMoment ( ) const
inline

◆ GetPDGMass()

G4double G4ParticleDefinition::GetPDGMass ( ) const
inline

Definition at line 98 of file G4ParticleDefinition.hh.

98{ return thePDGMass; }

Referenced by G4ParticleHPFinalState::adjust_final_state(), G4NuclearStopping::AlongStepDoIt(), G4TransportationWithMsc::AlongStepGetPhysicalInteractionLength(), G4VMultipleScattering::AlongStepGetPhysicalInteractionLength(), G4FTFAnnihilation::Annihilate(), G4ANuElNucleusCcModel::ApplyYourself(), G4ANuElNucleusNcModel::ApplyYourself(), G4ANuMuNucleusCcModel::ApplyYourself(), G4ANuMuNucleusNcModel::ApplyYourself(), G4ANuTauNucleusCcModel::ApplyYourself(), G4ANuTauNucleusNcModel::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4HadronElastic::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4LEHadronProtonElastic::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LENDModel::ApplyYourself(), G4LEnp::ApplyYourself(), G4LEpp::ApplyYourself(), G4LFission::ApplyYourself(), G4LightIonQMDReaction::ApplyYourself(), G4LMsdGenerator::ApplyYourself(), G4MuMinusCapturePrecompound::ApplyYourself(), G4NeutrinoElectronCcModel::ApplyYourself(), G4NeutrinoElectronNcModel::ApplyYourself(), G4NeutronElectronElModel::ApplyYourself(), G4NeutronFissionVI::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4NeutronRadCapture::ApplyYourself(), G4NeutronRadCaptureHP::ApplyYourself(), G4NuElNucleusCcModel::ApplyYourself(), G4NuElNucleusNcModel::ApplyYourself(), G4NuMuNucleusCcModel::ApplyYourself(), G4NuMuNucleusNcModel::ApplyYourself(), G4NuTauNucleusCcModel::ApplyYourself(), G4NuTauNucleusNcModel::ApplyYourself(), G4ParticleHPFissionFS::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4LFission::Atomas(), G4EnergyLossForExtrapolator::AverageScatteringAngle(), G4ParticleHPInelasticBaseFS::BaseApply(), G4KineticTrackVector::BoostBeam(), G4ExcitationHandler::BreakItUp(), G4WilsonAblationModel::BreakItUp(), G4DiffuseElastic::BuildAngleTable(), G4DiffuseElasticV2::BuildAngleTable(), G4NuclNuclDiffuseElastic::BuildAngleTable(), G4hRDEnergyLoss::BuildDEDXTable(), G4hImpactIonisation::BuildPhysicsTable(), G4hhElastic::BuildTableT(), G4hhElastic::BuildTableTest(), G4ANSTOecpssrKxsModel::CalculateCrossSection(), G4ecpssrBaseKxsModel::CalculateCrossSection(), G4ecpssrFormFactorKxsModel::CalculateCrossSection(), G4PaulKxsModel::CalculateKCrossSection(), G4ANSTOecpssrLixsModel::CalculateL1CrossSection(), G4ecpssrBaseLixsModel::CalculateL1CrossSection(), G4ecpssrFormFactorLixsModel::CalculateL1CrossSection(), G4ANSTOecpssrLixsModel::CalculateL2CrossSection(), G4ecpssrBaseLixsModel::CalculateL2CrossSection(), G4ecpssrFormFactorLixsModel::CalculateL2CrossSection(), G4OrlicLiXsModel::CalculateL2CrossSection(), G4ANSTOecpssrLixsModel::CalculateL3CrossSection(), G4ecpssrBaseLixsModel::CalculateL3CrossSection(), G4ecpssrFormFactorLixsModel::CalculateL3CrossSection(), G4OrlicLiXsModel::CalculateL3CrossSection(), G4AntiNuclElastic::CalculateParticleBeta(), G4DiffuseElastic::CalculateParticleBeta(), G4NuclNuclDiffuseElastic::CalculateParticleBeta(), G4ecpssrBaseLixsModel::CalculateVelocity(), G4LightIonQMDCollision::CalKinematicsOfBinaryCollisions(), G4QMDCollision::CalKinematicsOfBinaryCollisions(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4HadronicProcess::CheckResult(), G4QuasiElRatios::ChExer(), G4NeutrinoNucleusModel::ClusterDecay(), G4NeutrinoNucleusModel::CoherentPion(), G4ParticleHPInelasticCompFS::CompositeApply(), G4ComponentGGNuclNuclXsc::ComputeCoulombBarier(), G4ComponentGGHadronNucleusXsc::ComputeCrossSections(), G4KokoulinMuonNuclearXS::ComputeDDMicroscopicCrossSection(), G4EnergyLossForExtrapolator::ComputeDEDX(), G4hImpactIonisation::ComputeDEDX(), G4AtimaEnergyLossModel::ComputeDEDXPerVolume(), G4ICRU49NuclearStoppingModel::ComputeDEDXPerVolume(), G4EnergyLossForExtrapolator::ComputeEnergy(), G4HadronElastic::ComputeMomentumCMS(), G4NIELCalculator::ComputeNIEL(), G4EnergyLossForExtrapolator::ComputeRange(), G4MuonicAtomHelper::ConstructMuonicAtom(), G4StoppingPhysics::ConstructProcess(), G4StoppingPhysicsFritiofWithBinaryCascade::ConstructProcess(), G4StoppingPhysicsWithINCLXX::ConstructProcess(), G4HadronNucleonXsc::CoulombBarrier(), G4NuclearRadii::CoulombFactor(), G4NuclearRadii::CoulombFactor(), G4CollisionNN::CrossSection(), G4empCrossSection::CrossSection(), G4XAnnihilationChannel::CrossSection(), G4XPDGElastic::CrossSection(), G4XPDGTotal::CrossSection(), G4MicroElecInelasticModel::CrossSectionPerVolume(), G4MicroElecInelasticModel_new::CrossSectionPerVolume(), G4PionDecayMakeSpin::DaughterPolarization(), G4KineticTrack::Decay(), G4RadioactiveDecay::DecayAnalog(), G4AlphaDecay::DecayIt(), G4DalitzDecayChannel::DecayIt(), G4Decay::DecayIt(), G4ECDecay::DecayIt(), G4ITDecay::DecayIt(), G4KL3DecayChannel::DecayIt(), G4MuonDecayChannel::DecayIt(), G4MuonDecayChannelWithSpin::DecayIt(), G4MuonRadiativeDecayChannelWithSpin::DecayIt(), G4NeutronBetaDecayChannel::DecayIt(), G4NeutronDecay::DecayIt(), G4PionRadiativeDecayChannel::DecayIt(), G4ProtonDecay::DecayIt(), G4Radioactivation::DecayIt(), G4SFDecay::DecayIt(), G4TauLeptonicDecayChannel::DecayIt(), G4TritonDecay::DecayIt(), G4IntraNucleiCascader::decayTrappedParticle(), G4MuonMinus::Definition(), G4MuonPlus::Definition(), G4TauMinus::Definition(), G4TauPlus::Definition(), G4VXResonance::DetailedBalance(), G4AtimaFluctuations::Dispersion(), G4RadioactiveDecay::DoDecay(), G4ChannelingFastSimModel::DoIt(), G4ionEffectiveCharge::EffectiveCharge(), G4EmCorrections::EffectiveChargeCorrection(), G4ConcreteNNTwoBodyResonance::establish_G4MT_TLS_G4ConcreteNNTwoBodyResonance(), G4DiffractiveExcitation::ExciteParticipants(), G4QGSDiffractiveExcitation::ExciteParticipants(), G4QuarkExchange::ExciteParticipants(), G4SingleDiffractiveExcitation::ExciteParticipants(), G4HadronicProcess::FillResult(), G4NeutrinoNucleusModel::FinalBarion(), G4VElasticCollision::FinalState(), G4VCrossSectionSource::FindLightParticle(), G4Absorber::FindProducts(), G4ExcitedStringDecay::FragmentStrings(), G4AnnihiToMuPair::G4AnnihiToMuPair(), G4BetaMinusDecay::G4BetaMinusDecay(), G4BetaPlusDecay::G4BetaPlusDecay(), G4BetheHeitler5DModel::G4BetheHeitler5DModel(), G4ChipsKaonMinusElasticXS::G4ChipsKaonMinusElasticXS(), G4ChipsKaonPlusElasticXS::G4ChipsKaonPlusElasticXS(), G4ChipsKaonPlusInelasticXS::G4ChipsKaonPlusInelasticXS(), G4ChipsNeutronElasticXS::G4ChipsNeutronElasticXS(), G4ChipsProtonElasticXS::G4ChipsProtonElasticXS(), G4ConcreteNNTwoBodyResonance::G4ConcreteNNTwoBodyResonance(), G4DynamicParticle::G4DynamicParticle(), G4ee2KChargedModel::G4ee2KChargedModel(), G4ee2KNeutralModel::G4ee2KNeutralModel(), G4eeTo3PiModel::G4eeTo3PiModel(), G4eeToPGammaModel::G4eeToPGammaModel(), G4eeToTwoPiModel::G4eeToTwoPiModel(), G4ElasticData::G4ElasticData(), G4EmCaptureCascade::G4EmCaptureCascade(), G4ExcitationHandler::G4ExcitationHandler(), G4Fragment::G4Fragment(), G4GeneralPhaseSpaceDecay::G4GeneralPhaseSpaceDecay(), G4FissionProductYieldDist::G4GetFission(), G4hhElastic::G4hhElastic(), G4hhElastic::G4hhElastic(), G4IonParametrisedLossModel::G4IonParametrisedLossModel(), G4KineticTrack::G4KineticTrack(), G4LightTargetCollider::G4LightTargetCollider(), G4MuMinusCapturePrecompound::G4MuMinusCapturePrecompound(), G4MuonMinusBoundDecay::G4MuonMinusBoundDecay(), G4MuonToMuonPairProductionModel::G4MuonToMuonPairProductionModel(), G4MuPairProductionModel::G4MuPairProductionModel(), G4PrimaryParticle::G4PrimaryParticle(), G4PrimaryParticle::G4PrimaryParticle(), G4PrimaryParticle::G4PrimaryParticle(), G4PrimaryParticle::G4PrimaryParticle(), G4PrimaryParticle::G4PrimaryParticle(), G4PrimaryParticle::G4PrimaryParticle(), G4ReactionProduct::G4ReactionProduct(), G4VPreCompoundFragment::G4VPreCompoundFragment(), G4HadDecayGenerator::Generate(), G4CRCoalescence::GenerateDeuterons(), G4RTPrimaryGeneratorAction::GeneratePrimaries(), G4ParticleGun::GeneratePrimaryVertex(), G4SingleParticleSource::GeneratePrimaryVertex(), G4TextPPReporter::GeneratePropertyTable(), G4QMDParticipant::Get4Momentum(), G4ComponentAntiNuclNuclearXS::GetAntiHadronNucleonTotCrSc(), G4Nucleus::GetBiasedThermalNucleus(), G4empCrossSection::GetCrossSection(), G4NeutronHPCaptureData::GetCrossSection(), G4ParticleHPElasticData::GetCrossSection(), G4ParticleHPFissionData::GetCrossSection(), G4ParticleHPInelasticData::GetCrossSection(), G4ChipsComponentXS::GetElasticElementCrossSection(), G4ChargeExchangeProcess::GetElementCrossSection(), G4NeutrinoElectronCcXsc::GetElementCrossSection(), G4AntiProtonField::GetField(), G4KaonMinusField::GetField(), G4KaonPlusField::GetField(), G4KaonZeroField::GetField(), G4PionMinusField::GetField(), G4PionPlusField::GetField(), G4PionZeroField::GetField(), G4SigmaMinusField::GetField(), G4SigmaPlusField::GetField(), G4SigmaZeroField::GetField(), G4MesonAbsorption::GetFinalState(), G4NuclNuclDiffuseElastic::GetHadronNucleonXscNS(), G4ChipsComponentXS::GetInelasticElementCrossSection(), G4DiffuseElastic::GetInvCoulombElasticXsc(), G4NuclNuclDiffuseElastic::GetInvCoulombElasticXsc(), G4DiffuseElastic::GetInvElasticSumXsc(), G4NuclNuclDiffuseElastic::GetInvElasticSumXsc(), G4DiffuseElastic::GetInvElasticXsc(), G4NuclNuclDiffuseElastic::GetInvElasticXsc(), G4Fancy3DNucleus::GetMass(), G4MoleculeDefinition::GetMass(), G4QMDParticipant::GetMass(), G4SynchrotronRadiation::GetMeanFreePath(), G4VTransitionRadiation::GetMeanFreePath(), G4VXTRenergyLoss::GetMeanFreePath(), G4RadioactiveDecay::GetMeanLifeTime(), G4SampleResonance::GetMinimumMass(), G4LightIonQMDNucleus::GetNuclearMass(), G4NucleiProperties::GetNuclearMass(), G4QMDNucleus::GetNuclearMass(), G4InuclNuclei::getNucleiMass(), G4IonTable::GetNucleusMass(), G4VMscModel::GetParticleChangeForMSC(), G4InuclElementaryParticle::getParticleMass(), G4ParticlePropertyTable::GetParticleProperty(), G4ParticleHPPhotonDist::GetPhotons(), G4UAtomicDeexcitation::GetShellIonisationCrossSectionPerAtom(), G4ParticleHPThermalBoost::GetThermalEnergy(), G4ChipsComponentXS::GetTotalElementCrossSection(), G4HadronNucleonXsc::HadronNucleonXscEL(), G4HadronNucleonXsc::HadronNucleonXscNS(), G4HadronNucleonXsc::HadronNucleonXscPDG(), G4HadronNucleonXsc::HadronNucleonXscVU(), G4ParticleHPNBodyPhaseSpace::Init(), G4RKPropagation::Init(), G4NuclNuclDiffuseElastic::InitDynParameters(), G4FTFParameters::InitForInteraction(), G4MicroElecInelasticModel::Initialise(), G4MicroElecInelasticModel_new::Initialise(), G4ePairProduction::InitialiseEnergyLossProcess(), G4hhIonisation::InitialiseEnergyLossProcess(), G4hIonisation::InitialiseEnergyLossProcess(), G4ionIonisation::InitialiseEnergyLossProcess(), G4MuIonisation::InitialiseEnergyLossProcess(), G4MuonToMuonPairProduction::InitialiseEnergyLossProcess(), G4MuPairProduction::InitialiseEnergyLossProcess(), G4AtimaFluctuations::InitialiseMe(), G4IonFluctuations::InitialiseMe(), G4UniversalFluctuation::InitialiseMe(), G4ElasticHadrNucleusHE::InitialiseModel(), G4CoulombScattering::InitialiseProcess(), G4INCL::ParticleTable::initialize(), G4NuclNuclDiffuseElastic::InitParameters(), G4NuclNuclDiffuseElastic::InitParametersGla(), G4EmCorrections::IonHighOrderCorrections(), G4Cerenkov::IsApplicable(), G4Decay::IsApplicable(), G4hImpactIonisation::IsApplicable(), G4NeutrinoElectronCcModel::IsApplicable(), G4NeutrinoElectronCcXsc::IsElementApplicable(), G4HadronNucleonXsc::KaonNucleonXscVG(), G4hBetheBlochModel::LowEnergyLimit(), G4GeneratorPrecompoundInterface::MakeCoalescence(), G4GeneralPhaseSpaceDecay::ManyBodyDecayIt(), G4NeutrinoNucleusModel::MesonDecay(), G4PixeCrossSectionHandler::MicroscopicCrossSection(), G4ResonanceNames::MinMass(), G4CoulombScattering::MinPrimaryEnergy(), G4ionIonisation::MinPrimaryEnergy(), G4mplIonisation::MinPrimaryEnergy(), G4ChannelingFastSimModel::ModelTrigger(), G4ReactionProduct::operator=(), G4ReactionProduct::operator=(), G4VLongitudinalStringDecay::PossibleHadronMass(), G4ForwardXrayTR::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4SynchrotronRadiation::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4LowECapture::PostStepGetPhysicalInteractionLength(), G4UserSpecialCuts::PostStepGetPhysicalInteractionLength(), G4EmTableUtil::PrepareMscProcess(), G4VEnergyLossProcess::PreparePhysicsTable(), G4DecayStrongResonances::Propagate(), G4GeneratorPrecompoundInterface::Propagate(), G4AdjointBremsstrahlungModel::RapidSampleSecondaries(), G4AdjointhIonisationModel::RapidSampleSecondaries(), G4ParticleHPContAngularPar::Sample(), G4hhElastic::SampleBisectionalT(), G4NeutrinoElectronCcModel::SampleCosCMS(), G4ModifiedMephi::SampleDirection(), G4DNABornAngle::SampleDirectionForShell(), G4DNARuddAngle::SampleDirectionForShell(), G4AntiNuclElastic::SampleInvariantT(), G4DiffuseElastic::SampleInvariantT(), G4DiffuseElasticV2::SampleInvariantT(), G4ElasticHadrNucleusHE::SampleInvariantT(), G4hhElastic::SampleInvariantT(), G4LEHadronProtonElastic::SampleInvariantT(), G4LEnp::SampleInvariantT(), G4LEpp::SampleInvariantT(), G4NuclNuclDiffuseElastic::SampleInvariantT(), G4SampleResonance::SampleMass(), G4LMsdGenerator::SampleMx(), G4ModifiedMephi::SamplePairDirections(), G4AdjointBremsstrahlungModel::SampleSecondaries(), G4AdjointeIonisationModel::SampleSecondaries(), G4AdjointhIonisationModel::SampleSecondaries(), G4AdjointIonIonisationModel::SampleSecondaries(), G4BetheHeitler5DModel::SampleSecondaries(), G4DNABornIonisationModel1::SampleSecondaries(), G4DNABornIonisationModel2::SampleSecondaries(), G4DNACPA100IonisationModel::SampleSecondaries(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4DNAEmfietzoglouIonisationModel::SampleSecondaries(), G4DNAPTBIonisationModel::SampleSecondaries(), G4DNARelativisticIonisationModel::SampleSecondaries(), G4DNARPWBAIonisationModel::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4DiffuseElastic::SampleTableThetaCMS(), G4DiffuseElasticV2::SampleTableThetaCMS(), G4NuclNuclDiffuseElastic::SampleTableThetaCMS(), G4AntiNuclElastic::SampleThetaLab(), G4DiffuseElastic::SampleThetaLab(), G4NuclNuclDiffuseElastic::SampleThetaLab(), G4GammaTransition::SampleTransition(), G4QuasiElasticChannel::Scatter(), G4QuasiElRatios::Scatter(), G4DecayTable::SelectADecayChannel(), G4MoleculeDefinition::Serialize(), G4DynamicParticle::Set4Momentum(), G4PrimaryParticle::Set4Momentum(), G4DynamicParticle::SetDefinition(), G4ReactionProduct::SetDefinition(), G4ContinuousGainOfEnergy::SetDirectParticle(), G4VLongitudinalStringDecay::SetMinMasses(), G4PrimaryParticle::SetMomentum(), G4CRCoalescence::SetP0Coalescence(), G4BraggModel::SetParticle(), G4eBremsstrahlungRelModel::SetParticle(), G4mplIonisationModel::SetParticle(), G4mplIonisationWithDeltaModel::SetParticle(), G4MuBremsstrahlungModel::SetParticle(), G4MuPairProductionModel::SetParticle(), G4AtimaFluctuations::SetParticleAndCharge(), G4IonFluctuations::SetParticleAndCharge(), G4UniversalFluctuation::SetParticleAndCharge(), G4ParticleGun::SetParticleDefinition(), G4PrimaryParticle::SetParticleDefinition(), G4ParticleGun::SetParticleMomentum(), G4ParticleGun::SetParticleMomentum(), G4PrimaryParticle::SetPDGcode(), G4eCoulombScatteringModel::SetupParticle(), G4hCoulombScatteringModel::SetupParticle(), G4IonCoulombCrossSection::SetupParticle(), G4ScreeningMottCrossSection::SetupParticle(), G4WentzelOKandVIxSection::SetupParticle(), G4RayShooter::Shoot(), G4VEmProcess::StartTracking(), G4VEnergyLossProcess::StartTracking(), G4DiffuseElastic::TestAngleTable(), G4NuclNuclDiffuseElastic::TestAngleTable(), G4DiffuseElastic::ThetaCMStoThetaLab(), G4DiffuseElasticV2::ThetaCMStoThetaLab(), G4NuclNuclDiffuseElastic::ThetaCMStoThetaLab(), G4DiffuseElastic::ThetaLabToThetaCMS(), G4DiffuseElasticV2::ThetaLabToThetaCMS(), G4NuclNuclDiffuseElastic::ThetaLabToThetaCMS(), G4hBetheBlochModel::TheValue(), G4hIonEffChargeSquare::TheValue(), G4hNuclearStoppingModel::TheValue(), G4hParametrisedLossModel::TheValue(), G4IonChuFluctuationModel::TheValue(), G4IonYangFluctuationModel::TheValue(), G4GeneralPhaseSpaceDecay::ThreeBodyDecayIt(), G4GeneralPhaseSpaceDecay::TwoBodyDecayIt(), and G4ParticleChangeForGamma::UpdateStepForPostStep().

◆ GetPDGSpin()

◆ GetPDGStable()

◆ GetPDGWidth()

◆ GetProcessManager()

G4ProcessManager * G4ParticleDefinition::GetProcessManager ( ) const

Definition at line 218 of file G4ParticleDefinition.cc.

219{
220 if (g4particleDefinitionInstanceID < 0) return nullptr;
221 return G4MT_pmanager;
222}
#define G4MT_pmanager

Referenced by G4ITStepProcessor::ActiveOnlyITProcess(), G4IonTable::AddProcessManager(), G4PhysicsListHelper::AddTransportation(), LBE::AddTransportation(), G4hImpactIonisation::AlongStepDoIt(), G4AlphaBuilder::Build(), G4AntiBarionBuilder::Build(), G4BertiniElectroNuclearBuilder::Build(), G4DeuteronBuilder::Build(), G4He3Builder::Build(), G4HyperonBuilder::Build(), G4KaonBuilder::Build(), G4NeutronBuilder::Build(), G4PiKBuilder::Build(), G4PionBuilder::Build(), G4ProtonBuilder::Build(), G4TritonBuilder::Build(), G4hImpactIonisation::BuildPhysicsTable(), G4VUserChemistryList::BuildPhysicsTable(), G4VUserPhysicsList::BuildPhysicsTable(), G4EmTableUtil::CheckIon(), G4PhysicsListHelper::CheckParticleList(), G4BOptrForceCollision::ConfigureForWorker(), G4EmBuilder::ConstructElectronMscProcess(), G4EmBuilder::ConstructElectronSSProcess(), G4ErrorPhysicsList::ConstructEM(), LBE::ConstructEM(), LBE::ConstructGeneral(), LBE::ConstructHad(), LBE::ConstructOp(), G4ChargeExchangePhysics::ConstructProcess(), G4EmDNAChemistry::ConstructProcess(), G4EmDNAChemistry_option1::ConstructProcess(), G4EmDNAChemistry_option2::ConstructProcess(), G4EmDNAChemistry_option3::ConstructProcess(), G4ErrorPhysicsList::ConstructProcess(), G4FastSimulationPhysics::ConstructProcess(), G4GenericBiasingPhysics::ConstructProcess(), G4IonElasticPhysics::ConstructProcess(), G4NeutrinoPhysics::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), G4ParallelWorldPhysics::ConstructProcess(), G4SpinDecayPhysics::ConstructProcess(), G4StepLimiterPhysics::ConstructProcess(), G4StoppingPhysics::ConstructProcess(), G4StoppingPhysicsFritiofWithBinaryCascade::ConstructProcess(), G4StoppingPhysicsWithINCLXX::ConstructProcess(), G4RunManager::ConstructScoringWorlds(), G4WorkerRunManager::ConstructScoringWorlds(), G4TheRayTracer::CreateBitMap(), G4IonTable::CreateIon(), G4IonTable::CreateIon(), G4ITStepProcessor::DealWithSecondaries(), G4HadronicProcess::FillResult(), G4EmDNABuilder::FindOrBuildCapture(), G4EmCalculator::FindProcess(), G4PhysListUtil::FindProcess(), G4ProcessTable::FindProcess(), G4ProcessTable::FindProcess(), G4ErrorTrackLengthTarget::G4ErrorTrackLengthTarget(), G4ITStepProcessor::GetProcessInfo(), G4SteppingManager::GetProcessNumber(), G4ErrorPropagator::InitG4Track(), G4VUserPhysicsList::InitializeProcessManager(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4HadronElasticProcess::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4NeutrinoElectronProcess::PostStepDoIt(), G4TauNeutrinoNucleusProcess::PostStepDoIt(), G4VEmProcess::PostStepDoIt(), G4VEnergyLossProcess::PostStepDoIt(), G4VUserPhysicsList::PreparePhysicsTable(), G4TrackingManager::ProcessOneTrack(), G4ErrorPropagator::Propagate(), G4PhysicsListHelper::RegisterProcess(), G4VUserPhysicsList::RemoveProcessManager(), G4VUserPhysicsList::RetrievePhysicsTable(), G4UserPhysicsListMessenger::SetNewValue(), G4RunManagerKernel::SetupShadowProcess(), G4WorkerRunManagerKernel::SetupShadowProcess(), G4WorkerTaskRunManagerKernel::SetupShadowProcess(), G4GlobalFastSimulationManager::ShowSetup(), G4ChannelingOptrChangeCrossSection::StartRun(), G4ITTrackingManager::StartTracking(), and G4VUserPhysicsList::StorePhysicsTable().

◆ GetQuarkContent()

◆ GetSubInstanceManager()

const G4PDefManager & G4ParticleDefinition::GetSubInstanceManager ( )
static

Definition at line 206 of file G4ParticleDefinition.cc.

207{
208 // Returns the private data instance manager
209 return subInstanceManager;
210}

Referenced by G4ParticlesWorkspace::G4ParticlesWorkspace().

◆ GetTrackingManager()

G4VTrackingManager * G4ParticleDefinition::GetTrackingManager ( ) const

Definition at line 224 of file G4ParticleDefinition.cc.

225{
226 if (g4particleDefinitionInstanceID < 0) return nullptr;
227 return G4MT_tmanager;
228}
#define G4MT_tmanager

Referenced by G4VUserPhysicsList::BuildPhysicsTable(), G4VUserPhysicsList::PreparePhysicsTable(), and G4VUserPhysicsList::RemoveTrackingManager().

◆ GetVerboseLevel()

G4int G4ParticleDefinition::GetVerboseLevel ( ) const
inline

◆ IsAntiHypernucleus()

◆ IsGeneralIon()

◆ IsHypernucleus()

G4bool G4ParticleDefinition::IsHypernucleus ( ) const
inline

◆ IsMuonicAtom()

G4bool G4ParticleDefinition::IsMuonicAtom ( ) const
inline

◆ IsShortLived()

◆ operator!=()

G4bool G4ParticleDefinition::operator!= ( const G4ParticleDefinition & right) const

Definition at line 201 of file G4ParticleDefinition.cc.

202{
203 return (this->theParticleName != right.theParticleName);
204}

◆ operator=()

G4ParticleDefinition & G4ParticleDefinition::operator= ( const G4ParticleDefinition & )
delete

◆ operator==()

G4bool G4ParticleDefinition::operator== ( const G4ParticleDefinition & right) const

Definition at line 196 of file G4ParticleDefinition.cc.

197{
198 return (this->theParticleName == right.theParticleName);
199}

◆ SetAntiPDGEncoding()

◆ SetApplyCutsFlag()

void G4ParticleDefinition::SetApplyCutsFlag ( G4bool flg)

Definition at line 360 of file G4ParticleDefinition.cc.

361{
362 if (theParticleName == "gamma" || theParticleName == "e-" || theParticleName == "e+"
363 || theParticleName == "proton")
364 {
365 fApplyCutsFlag = flg;
366 }
367 else {
368 G4cout << "G4ParticleDefinition::SetApplyCutsFlag() for " << theParticleName << G4endl;
369 G4cout << "becomes obsolete. Production threshold is applied only for "
370 << "gamma, e- ,e+ and proton." << G4endl;
371 }
372}

Referenced by G4VUserPhysicsList::SetApplyCuts().

◆ SetAtomicMass()

void G4ParticleDefinition::SetAtomicMass ( G4int )
inlineprotected

◆ SetAtomicNumber()

void G4ParticleDefinition::SetAtomicNumber ( G4int )
inlineprotected

◆ SetDecayTable()

void G4ParticleDefinition::SetDecayTable ( G4DecayTable * aDecayTable)
inline

◆ SetMasterProcessManager()

void G4ParticleDefinition::SetMasterProcessManager ( G4ProcessManager * aNewPM)
inline

◆ SetParticleDefinitionID()

void G4ParticleDefinition::SetParticleDefinitionID ( G4int id = -1)

Definition at line 388 of file G4ParticleDefinition.cc.

389{
390 if (id < 0) {
391 g4particleDefinitionInstanceID = subInstanceManager.CreateSubInstance();
392 G4MT_pmanager = nullptr;
393 }
394 else {
395 if (isGeneralIon || isMuonicAtom) {
396 g4particleDefinitionInstanceID = id;
397 }
398 else {
400 ed << "ParticleDefinitionID should not be set for the particles <" << theParticleName << ">.";
401 G4Exception("G4ParticleDefintion::SetParticleDefinitionID", "PART10114", FatalException, ed);
402 }
403 }
404}
std::ostringstream G4ExceptionDescription
G4int CreateSubInstance()

Referenced by G4IonTable::AddProcessManager(), G4RunManagerKernel::PropagateGenericIonID(), SetProcessManager(), SetTrackingManager(), and G4RunManagerKernel::SetupPhysics().

◆ SetParticleSubType()

void G4ParticleDefinition::SetParticleSubType ( const G4String & subtype)
inlineprotected

◆ SetPDGLifeTime()

void G4ParticleDefinition::SetPDGLifeTime ( G4double aLifeTime)
inline

Definition at line 139 of file G4ParticleDefinition.hh.

139{ thePDGLifeTime = aLifeTime; }

Referenced by G4AntiSigmaZero::Definition(), G4PionZero::Definition(), and G4SigmaZero::Definition().

◆ SetPDGMagneticMoment()

◆ SetPDGStable()

void G4ParticleDefinition::SetPDGStable ( const G4bool aFlag)
inline

Definition at line 136 of file G4ParticleDefinition.hh.

136{ thePDGStable = aFlag; }

◆ SetProcessManager()

void G4ParticleDefinition::SetProcessManager ( G4ProcessManager * aProcessManager)

Definition at line 406 of file G4ParticleDefinition.cc.

407{
408 if (g4particleDefinitionInstanceID < 0 && !isGeneralIon) {
409 if (G4Threading::G4GetThreadId() >= 0) {
411 ed << "ProcessManager is being set to " << theParticleName
412 << " without proper initialization of TLS pointer vector.\n"
413 << "This operation is thread-unsafe.";
414 G4Exception("G4ParticleDefintion::SetProcessManager", "PART10116", JustWarning, ed);
415 }
417 }
418 G4MT_pmanager = aProcessManager;
419}
void SetParticleDefinitionID(G4int id=-1)
G4int G4GetThreadId()

Referenced by G4VUserPhysicsList::InitializeProcessManager(), and G4VUserPhysicsList::RemoveProcessManager().

◆ SetTrackingManager()

void G4ParticleDefinition::SetTrackingManager ( G4VTrackingManager * aTrackingManager)

Definition at line 421 of file G4ParticleDefinition.cc.

422{
423 if (g4particleDefinitionInstanceID < 0 && !isGeneralIon) {
424 if (G4Threading::G4GetThreadId() >= 0) {
426 ed << "TrackingManager is being set to " << theParticleName
427 << " without proper initialization of TLS pointer vector.\n"
428 << "This operation is thread-unsafe.";
429 G4Exception("G4ParticleDefintion::SetTrackingManager", "PART10118", JustWarning, ed);
430 }
432 }
433 G4MT_tmanager = aTrackingManager;
434}

Referenced by G4VUserPhysicsList::RemoveTrackingManager().

◆ SetVerboseLevel()

void G4ParticleDefinition::SetVerboseLevel ( G4int value)
inline

Referenced by G4ParticleTable::Insert().

Friends And Related Symbol Documentation

◆ G4ParticlePropertyTable

friend class G4ParticlePropertyTable
friend

Definition at line 63 of file G4ParticleDefinition.hh.

Member Data Documentation

◆ isGeneralIon

G4bool G4ParticleDefinition::isGeneralIon = false
protected

◆ isMuonicAtom

G4bool G4ParticleDefinition::isMuonicAtom = false
protected

Definition at line 248 of file G4ParticleDefinition.hh.

Referenced by G4MuonicAtom::G4MuonicAtom(), and SetParticleDefinitionID().

◆ theAntiQuarkContent

◆ theQuarkContent


The documentation for this class was generated from the following files: