Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends
G4ParticleDefinition Class Reference

#include <G4ParticleDefinition.hh>

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

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 ()
 
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)
 
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
 
G4int operator== (const G4ParticleDefinition &right) const
 
G4int operator!= (const G4ParticleDefinition &right) const
 
G4ProcessManagerGetMasterProcessManager () const
 
void SetMasterProcessManager (G4ProcessManager *aNewPM)
 
G4int GetInstanceID () const
 
void SetParticleDefinitionID (G4int id=-1)
 
G4int GetParticleDefinitionID () const
 

Static Public Member Functions

static const G4PDefManagerGetSubInstanceManager ()
 

Protected Types

enum  { NumberOfQuarkFlavor = 6 }
 

Protected Member Functions

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

Protected Attributes

G4int theQuarkContent [NumberOfQuarkFlavor]
 
G4int theAntiQuarkContent [NumberOfQuarkFlavor]
 
G4bool isGeneralIon
 

Friends

class G4ParticlePropertyTable
 

Detailed Description

Definition at line 111 of file G4ParticleDefinition.hh.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
NumberOfQuarkFlavor 

Definition at line 296 of file G4ParticleDefinition.hh.

Constructor & Destructor Documentation

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 87 of file G4ParticleDefinition.cc.

References python.hepunit::eplus, FillQuarkContents(), G4cout, G4endl, G4Exception(), G4State_PreInit, GetBaryonNumber(), G4StateManager::GetCurrentState(), G4ParticleTable::GetIonTable(), G4ParticleTable::GetParticleTable(), GetPDGCharge(), G4StateManager::GetStateManager(), G4ParticleTable::GetVerboseLevel(), GetVerboseLevel(), G4ParticleTable::Insert(), G4IonTable::IsAntiIon(), G4IonTable::IsIon(), JustWarning, SetAtomicMass(), and SetAtomicNumber().

110  : theParticleName(aName),
111  thePDGMass(mass),
112  thePDGWidth(width),
113  thePDGCharge(charge),
114  thePDGiSpin(iSpin),
115  thePDGSpin(iSpin*0.5),
116  thePDGiParity(iParity),
117  thePDGiConjugation(iConjugation),
118  thePDGiGParity(gParity),
119  thePDGiIsospin(iIsospin),
120  thePDGiIsospin3(iIsospin3),
121  thePDGIsospin(iIsospin*0.5),
122  thePDGIsospin3(iIsospin3*0.5),
123  thePDGMagneticMoment(magneticMoment),
124  theLeptonNumber(lepton),
125  theBaryonNumber(baryon),
126  theParticleType(pType),
127  theParticleSubType(subType),
128  thePDGEncoding(encoding),
129  theAntiPDGEncoding(-1*encoding),
130  fShortLivedFlag(shortlived),
131  thePDGStable(stable),
132  thePDGLifeTime(lifetime),
133  theDecayTable(decaytable),
134  theAtomicNumber(0),
135  theAtomicMass(0),
136  verboseLevel(1),
137  fApplyCutsFlag(false),
138  isGeneralIon(false)
139 {
140  static G4String nucleus("nucleus");
141 
142  g4particleDefinitionInstanceID = -1;
143  theProcessManagerShadow = 0;
144 
145  theParticleTable = G4ParticleTable::GetParticleTable();
146 
147  //set verboseLevel equal to ParticleTable
148  verboseLevel = theParticleTable->GetVerboseLevel();
149 
150  if (anti_encoding !=0) theAntiPDGEncoding = anti_encoding;
151 
152  // check quark contents
153  if (this->FillQuarkContents() != thePDGEncoding) {
154 #ifdef G4VERBOSE
155  if (verboseLevel>0) {
156  // Using G4cout expecting that it is available in construction of static objects
157  G4cout << "Particle " << aName << " has a strange PDGEncoding " <<G4endl;
158  }
159 #endif
160  G4Exception( "G4ParticleDefintion::G4ParticleDefintion",
161  "PART102", JustWarning,
162  "Strange PDGEncoding ");
163  }
164 
165  // check initialization is in Pre_Init state except for ions
167 
168  if ( !fShortLivedFlag && (theParticleType!=nucleus) && (currentState!=G4State_PreInit)){
169 #ifdef G4VERBOSE
170  if (GetVerboseLevel()>0) {
171  G4cout << "G4ParticleDefintion (other than ions and shortlived) should be created in Pre_Init state "
172  << aName << G4endl;
173  }
174 #endif
175  G4Exception( "G4ParticleDefintion::G4ParticleDefintion",
176  "PART101", JustWarning,
177  "G4ParticleDefinition should be created in PreInit state");
178  }
179 
180 
181  if (theParticleTable->GetIonTable()->IsIon(this)) {
184  }
185 
186  if (theParticleTable->GetIonTable()->IsAntiIon(this)) {
187  SetAtomicNumber( std::abs(G4int(GetPDGCharge()/eplus)) );
188  SetAtomicMass( std::abs(GetBaryonNumber()) );
189  }
190 
191  // check name and register this particle into ParticleTable
192  theParticleTable->Insert(this);
193 
194 }
void SetAtomicNumber(G4int)
G4int GetVerboseLevel() const
static G4bool IsIon(const G4ParticleDefinition *)
Definition: G4IonTable.cc:1044
#define width
static G4bool IsAntiIon(const G4ParticleDefinition *)
Definition: G4IonTable.cc:1069
int G4int
Definition: G4Types.hh:78
static G4StateManager * GetStateManager()
G4ParticleDefinition * Insert(G4ParticleDefinition *particle)
G4IonTable * GetIonTable() const
G4GLOB_DLL std::ostream G4cout
G4ApplicationState GetCurrentState() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
static G4ParticleTable * GetParticleTable()
#define G4endl
Definition: G4ios.hh:61
G4double GetPDGCharge() const
G4int GetVerboseLevel() const
G4ApplicationState
void SetAtomicMass(G4int)
G4ParticleDefinition::~G4ParticleDefinition ( )
virtual

Definition at line 211 of file G4ParticleDefinition.cc.

References G4cout, G4endl, G4Exception(), G4State_PreInit, G4StateManager::GetCurrentState(), GetParticleName(), G4ParticleTable::GetParticleTable(), G4StateManager::GetStateManager(), and JustWarning.

212 {
213  if (G4ParticleTable::GetParticleTable()->GetReadiness()) {
215  G4ApplicationState currentState = pStateManager->GetCurrentState();
216  if (currentState != G4State_PreInit) {
217  G4String msg = "Request of deletion for ";
218  msg += GetParticleName();
219  msg += " has No effects because readyToUse is true.";
220  G4Exception("G4ParticleDefinition::~G4ParticleDefinition()",
221  "PART117", JustWarning, msg);
222  return ;
223  } else {
224 #ifdef G4VERBOSE
225  if (verboseLevel>0){
227  << " will be deleted " << G4endl;
228  }
229 #endif
230  }
231  }
232 
233  if (theDecayTable!= 0) delete theDecayTable;
234 }
const G4String & GetParticleName() const
static G4StateManager * GetStateManager()
G4GLOB_DLL std::ostream G4cout
G4ApplicationState GetCurrentState() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
static G4ParticleTable * GetParticleTable()
#define G4endl
Definition: G4ios.hh:61
G4ApplicationState
G4ParticleDefinition::G4ParticleDefinition ( const G4ParticleDefinition right)
protected

Definition at line 196 of file G4ParticleDefinition.cc.

References FatalException, and G4Exception().

197 {
198  G4Exception("G4ParticleDefinition::G4ParticleDefinition()",
199  "PART001", FatalException,
200  "Illegal call of copy Constructor for G4ParticleDefinition ");
201 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4ParticleDefinition::G4ParticleDefinition ( )
protected

Definition at line 203 of file G4ParticleDefinition.cc.

References FatalException, and G4Exception().

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

204 {
205  G4Exception("G4ParticleDefinition::G4ParticleDefinition()",
206  "PART001", FatalException,
207  "Illegal call of default Constructor for G4ParticleDefinition ");
208 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41

Member Function Documentation

G4double G4ParticleDefinition::CalculateAnomaly ( ) const

Definition at line 411 of file G4ParticleDefinition.cc.

References G4Exception(), and JustWarning.

412 {
413  G4Exception( "G4ParticleDefintion::G4ParticleDefintion",
414  "PART114", JustWarning,
415  "CalculateAnomaly() method will be removed in next release");
416 
417  // gives the anomaly of magnetic moment for spin 1/2 particles
418  if (thePDGiSpin==1) {
419  G4double muB = 0.5*CLHEP::eplus*CLHEP::hbar_Planck/(thePDGMass/CLHEP::c_squared);
420  return 0.5*std::fabs(thePDGMagneticMoment/muB - 2.*thePDGCharge/CLHEP::eplus);
421  } else {
422  return 0.0;
423  }
424 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
double G4double
Definition: G4Types.hh:76
void G4ParticleDefinition::DumpTable ( ) const

Definition at line 320 of file G4ParticleDefinition.cc.

References G4DecayTable::DumpInfo(), python.hepunit::eplus, G4BestUnit, G4cout, G4endl, GetAntiPDGEncoding(), GetAtomicMass(), GetAtomicNumber(), GetIonLifeTime(), G4ParticleTable::GetIonTable(), python.hepunit::GeV, G4IonTable::IsAntiIon(), IsGeneralIon(), G4IonTable::IsIon(), python.hepunit::MeV, ns, python.hepunit::tesla, theAntiQuarkContent, and theQuarkContent.

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

321 {
322  G4cout << G4endl;
323  G4cout << "--- G4ParticleDefinition ---" << G4endl;
324  G4cout << " Particle Name : " << theParticleName << G4endl;
325  G4cout << " PDG particle code : " << thePDGEncoding;
326  G4cout << " [PDG anti-particle code: " << this->GetAntiPDGEncoding() << "]"<< G4endl;
327  G4cout << " Mass [GeV/c2] : " << thePDGMass/GeV ;
328  G4cout << " Width : " << thePDGWidth/GeV << G4endl;
329  G4cout << " Lifetime [nsec] : " << thePDGLifeTime/ns << G4endl;
330  G4cout << " Charge [e]: " << thePDGCharge/eplus << G4endl;
331  G4cout << " Spin : " << thePDGiSpin << "/2" << G4endl;
332  G4cout << " Parity : " << thePDGiParity << G4endl;
333  G4cout << " Charge conjugation : " << thePDGiConjugation << G4endl;
334  G4cout << " Isospin : (I,Iz): (" << thePDGiIsospin <<"/2";
335  G4cout << " , " << thePDGiIsospin3 << "/2 ) " << G4endl;
336  G4cout << " GParity : " << thePDGiGParity << G4endl;
337  if (thePDGMagneticMoment != 0.0) {
338  G4cout << " MagneticMoment [MeV/T] : " << thePDGMagneticMoment/MeV*tesla << G4endl;
339  }
340  G4cout << " Quark contents (d,u,s,c,b,t) : " << theQuarkContent[0];
341  G4cout << ", " << theQuarkContent[1];
342  G4cout << ", " << theQuarkContent[2];
343  G4cout << ", " << theQuarkContent[3];
344  G4cout << ", " << theQuarkContent[4];
345  G4cout << ", " << theQuarkContent[5] << G4endl;
346  G4cout << " AntiQuark contents : " << theAntiQuarkContent[0];
347  G4cout << ", " << theAntiQuarkContent[1];
348  G4cout << ", " << theAntiQuarkContent[2];
349  G4cout << ", " << theAntiQuarkContent[3];
350  G4cout << ", " << theAntiQuarkContent[4];
351  G4cout << ", " << theAntiQuarkContent[5] << G4endl;
352  G4cout << " Lepton number : " << theLeptonNumber;
353  G4cout << " Baryon number : " << theBaryonNumber << G4endl;
354  G4cout << " Particle type : " << theParticleType ;
355  G4cout << " [" << theParticleSubType << "]" << G4endl;
356 
357  if ( (theParticleTable->GetIonTable()->IsIon(this))
358  || (theParticleTable->GetIonTable()->IsAntiIon(this)) ) {
359  G4cout << " Atomic Number : " << GetAtomicNumber();
360  G4cout << " Atomic Mass : " << GetAtomicMass() << G4endl;
361  }
362  if ( fShortLivedFlag ){
363  G4cout << " ShortLived : ON" << G4endl;
364  }
365 
366  if ( IsGeneralIon() ) {
367  G4double lftm = GetIonLifeTime();
368  if(lftm<-1000.)
369  { G4cout << " Stable : No data found -- unknown" << G4endl; }
370  else if(lftm<0.)
371  { G4cout << " Stable : stable" << G4endl; }
372  else
373  {
374  G4cout << " Stable : unstable -- lifetime = " << G4BestUnit(lftm,"Time")
375  << "\n Decay table should be consulted to G4RadioactiveDecayProcess."
376  << G4endl;
377  }
378  }
379  else
380  {
381  if ( thePDGStable ){
382  G4cout << " Stable : stable" << G4endl;
383  } else {
384  if( theDecayTable != 0 ){
385  theDecayTable->DumpInfo();
386  } else {
387  G4cout << "Decay Table is not defined !!" <<G4endl;
388  }
389  }
390  }
391 }
static G4bool IsIon(const G4ParticleDefinition *)
Definition: G4IonTable.cc:1044
static G4bool IsAntiIon(const G4ParticleDefinition *)
Definition: G4IonTable.cc:1069
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4int GetAtomicNumber() const
G4bool IsGeneralIon() const
G4int GetAntiPDGEncoding() const
G4double GetIonLifeTime() const
G4IonTable * GetIonTable() const
G4GLOB_DLL std::ostream G4cout
void DumpInfo() const
G4int GetAtomicMass() const
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4int theQuarkContent[NumberOfQuarkFlavor]
#define G4endl
Definition: G4ios.hh:61
double G4double
Definition: G4Types.hh:76
#define ns
Definition: xmlparse.cc:597
G4int G4ParticleDefinition::FillQuarkContents ( )
protected

Definition at line 256 of file G4ParticleDefinition.cc.

References G4PDGCodeChecker::CheckCharge(), G4PDGCodeChecker::CheckPDGCode(), python.hepunit::eplus, G4cout, G4endl, G4Exception(), G4PDGCodeChecker::GetAntiQuarkContent(), G4PDGCodeChecker::GetQuarkContent(), G4PDGCodeChecker::GetSpin(), JustWarning, NumberOfQuarkFlavor, G4PDGCodeChecker::SetVerboseLevel(), theAntiQuarkContent, and theQuarkContent.

Referenced by G4ParticleDefinition().

261 {
262  G4int flavor;
263  for (flavor= 0; flavor<NumberOfQuarkFlavor; flavor++){
264  theQuarkContent[flavor] = 0;
265  theAntiQuarkContent[flavor] = 0;
266  }
267 
268  G4PDGCodeChecker checker;
269  checker.SetVerboseLevel(verboseLevel);
270 
271  G4int temp = checker.CheckPDGCode(thePDGEncoding, theParticleType);
272 
273  if ( temp != 0) {
274  for (flavor= 0; flavor<NumberOfQuarkFlavor; flavor++){
275  theQuarkContent[flavor] = checker.GetQuarkContent(flavor);
276  theAntiQuarkContent[flavor] = checker.GetAntiQuarkContent(flavor);
277  }
278  if ((theParticleType == "meson")||(theParticleType == "baryon")) {
279  // check charge
280  if (!checker.CheckCharge(thePDGCharge) ){
281  temp = 0;
282  G4Exception( "G4ParticleDefintion::G4ParticleDefintion",
283  "PART103", JustWarning,
284  "Inconsistent charge against PDG code ");
285 #ifdef G4VERBOSE
286  if (verboseLevel>0) {
287  G4cout << "G4ParticleDefinition::FillQuarkContents : "
288  << " illegal charge (" << thePDGCharge/eplus
289  << " PDG code=" << thePDGEncoding <<G4endl;
290  }
291 #endif
292  }
293  // check spin
294  if (checker.GetSpin() != thePDGiSpin) {
295  temp=0;
296  G4Exception( "G4ParticleDefintion::G4ParticleDefintion",
297  "PART104", JustWarning,
298  "Inconsistent spin against PDG code ");
299 #ifdef G4VERBOSE
300  if (verboseLevel>0) {
301  G4cout << "G4ParticleDefinition::FillQuarkContents : "
302  << " illegal SPIN (" << thePDGiSpin << "/2"
303  << " PDG code=" << thePDGEncoding <<G4endl;
304  }
305 #endif
306  }
307  }
308  }
309  return temp;
310 }
G4bool CheckCharge(G4double charge) const
G4int GetQuarkContent(G4int flavor) const
G4int GetSpin() const
int G4int
Definition: G4Types.hh:78
G4int CheckPDGCode(G4int code, G4String type)
G4GLOB_DLL std::ostream G4cout
G4int GetAntiQuarkContent(G4int flavor) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
void SetVerboseLevel(G4int verbose)
G4int theQuarkContent[NumberOfQuarkFlavor]
#define G4endl
Definition: G4ios.hh:61
G4int G4ParticleDefinition::GetAntiPDGEncoding ( ) const
inline

Definition at line 186 of file G4ParticleDefinition.hh.

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

186 { return theAntiPDGEncoding; }
G4int G4ParticleDefinition::GetAntiQuarkContent ( G4int  flavor) const
G4bool G4ParticleDefinition::GetApplyCutsFlag ( ) const
G4int G4ParticleDefinition::GetAtomicMass ( ) const
G4int G4ParticleDefinition::GetAtomicNumber ( ) const
G4int G4ParticleDefinition::GetBaryonNumber ( ) const
inline

Definition at line 183 of file G4ParticleDefinition.hh.

Referenced by G4BinaryLightIonReaction::ApplyYourself(), G4ParaFissionModel::ApplyYourself(), G4LowEIonFragmentation::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4InuclElementaryParticle::baryon(), G4NeutronHPInelasticBaseFS::BaseApply(), G4HadLeadBias::Bias(), G4WilsonAblationModel::BreakItUp(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4RPGInelastic::CheckQnums(), G4NeutronHPInelasticCompFS::CompositeApply(), G4StoppingPhysics::ConstructProcess(), G4KineticTrack::Decay(), G4RadioactiveDecay::DecayIt(), export_G4ParticleDefinition(), G4AdjointIons::G4AdjointIons(), G4DNAIons::G4DNAIons(), G4FTFParameters::G4FTFParameters(), G4Ions::G4Ions(), G4ParticleDefinition(), G4PomeronCrossSection::G4PomeronCrossSection(), G4VPreCompoundFragment::G4VPreCompoundFragment(), G4ReactionDynamics::GenerateXandPt(), G4ComponentAntiNuclNuclearXS::GetAntiHadronNucleonTotCrSc(), G4QMDParticipant::GetBaryonNumber(), G4TripathiCrossSection::GetElementCrossSection(), G4IonsSihverCrossSection::GetElementCrossSection(), G4IonsKoxCrossSection::GetElementCrossSection(), G4EMDissociationCrossSection::GetElementCrossSection(), G4TripathiLightCrossSection::GetElementCrossSection(), G4GeneralSpaceNNCrossSection::GetElementCrossSection(), G4MesonAbsorption::GetFinalState(), G4ComponentAntiNuclNuclearXS::GetInelasticElementCrossSection(), G4IonsShenCrossSection::GetIsoCrossSection(), G4QMDParticipant::GetNuc(), G4ParticlePropertyTable::GetParticleProperty(), G4GGNuclNuclCrossSection::GetRatioQE(), G4ComponentGGNuclNuclXsc::GetRatioQE(), G4GGNuclNuclCrossSection::GetRatioSD(), G4ComponentGGNuclNuclXsc::GetRatioSD(), G4ComponentAntiNuclNuclearXS::GetTotalElementCrossSection(), G4GGNuclNuclCrossSection::GetZandACrossSection(), G4ComponentGGNuclNuclXsc::GetZandACrossSection(), G4FTFModel::Init(), G4NuclNuclDiffuseElastic::Initialise(), G4NuclNuclDiffuseElastic::InitialiseOnFly(), G4NuclNuclDiffuseElastic::InitParameters(), G4NuclNuclDiffuseElastic::InitParametersGla(), G4IonTable::IsAntiIon(), G4HadronicAbsorptionFritiof::IsApplicable(), G4TripathiCrossSection::IsElementApplicable(), G4IonsKoxCrossSection::IsElementApplicable(), G4IonsSihverCrossSection::IsElementApplicable(), G4IonsShenCrossSection::IsElementApplicable(), G4TripathiLightCrossSection::IsElementApplicable(), G4GeneralSpaceNNCrossSection::IsElementApplicable(), G4IonTable::IsIon(), G4HadronicProcess::PostStepDoIt(), G4AdjointTrackingAction::PostUserTrackingAction(), G4GeneratorPrecompoundInterface::PropagateNuclNucl(), G4RPGTwoCluster::ReactionStage(), G4RPGFragmentation::ReactionStage(), G4AdjointSimManager::RegisterAtEndOfAdjointTrack(), G4AntiNuclElastic::SampleInvariantT(), G4Scatterer::Scatter(), G4ReactionDynamics::TwoCluster(), HadrontherapySteppingAction::UserSteppingAction(), IORTSteppingAction::UserSteppingAction(), and G4AdjointSteppingAction::UserSteppingAction().

183 { return theBaryonNumber; }
G4DecayTable* G4ParticleDefinition::GetDecayTable ( ) const
G4int G4ParticleDefinition::GetInstanceID ( ) const
inline
G4double G4ParticleDefinition::GetIonLifeTime ( ) const

Definition at line 312 of file G4ParticleDefinition.cc.

References G4IonTable::GetIonTable(), G4IonTable::GetLifeTime(), and isGeneralIon.

Referenced by DumpTable().

313 {
314  if(!isGeneralIon) return thePDGLifeTime;
315 
316  G4IonTable* ionTable = G4IonTable::GetIonTable();
317  return ionTable->GetLifeTime(this);
318 }
static G4IonTable * GetIonTable()
Definition: G4IonTable.hh:80
G4double GetLifeTime(const G4ParticleDefinition *) const
Definition: G4IonTable.cc:1720
G4int G4ParticleDefinition::GetLeptonNumber ( ) const
inline

Definition at line 182 of file G4ParticleDefinition.hh.

Referenced by G4HadLeadBias::Bias(), export_G4ParticleDefinition(), and G4ParticlePropertyTable::GetParticleProperty().

182 { return theLeptonNumber; }
G4ProcessManager* G4ParticleDefinition::GetMasterProcessManager ( ) const
inline
G4int G4ParticleDefinition::GetParticleDefinitionID ( ) const
const G4String& G4ParticleDefinition::GetParticleName ( ) const
inline

Definition at line 159 of file G4ParticleDefinition.hh.

Referenced by G4VEmProcess::ActivateForcedInteraction(), G4ITStepProcessor::ActiveOnlyITProcess(), G4CollisionManager::AddCollision(), G4RadioactiveDecay::AddDecayRateTable(), G4VHadronPhysics::AddElasticCrossSection(), G4VHadronPhysics::AddInelasticCrossSection(), G4CollisionOutput::addOutgoingParticles(), Par01PhysicsList::AddParameterisation(), G4ProcessManager::AddProcess(), G4IonTable::AddProcessManager(), HistoManager::AddTargetStep(), G4PhysicsListHelper::AddTransportation(), DMXPhysicsList::AddTransportation(), G4ErrorEnergyLoss::AlongStepDoIt(), G4RPGKMinusInelastic::ApplyYourself(), G4RPGAntiLambdaInelastic::ApplyYourself(), G4RPGAntiSigmaPlusInelastic::ApplyYourself(), G4RPGAntiProtonInelastic::ApplyYourself(), G4RPGSigmaPlusInelastic::ApplyYourself(), G4RPGXiMinusInelastic::ApplyYourself(), G4RPGAntiNeutronInelastic::ApplyYourself(), G4RPGAntiOmegaMinusInelastic::ApplyYourself(), G4RPGAntiSigmaMinusInelastic::ApplyYourself(), G4RPGAntiXiMinusInelastic::ApplyYourself(), G4RPGOmegaMinusInelastic::ApplyYourself(), G4RPGAntiXiZeroInelastic::ApplyYourself(), G4RPGKPlusInelastic::ApplyYourself(), G4RPGLambdaInelastic::ApplyYourself(), G4RPGSigmaMinusInelastic::ApplyYourself(), G4RPGKZeroInelastic::ApplyYourself(), G4RPGXiZeroInelastic::ApplyYourself(), G4RPGAntiKZeroInelastic::ApplyYourself(), G4HadronElastic::ApplyYourself(), G4NeutronRadCapture::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEnp::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4PreCompoundModel::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4CascadeInterface::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), RunAction::BeginOfRunAction(), G4WilsonAblationModel::BreakItUp(), G4VEnergyLossProcess::BuildDEDXTable(), G4VUserPhysicsList::BuildIntegralPhysicsTable(), G4VEnergyLossProcess::BuildLambdaTable(), G4DNABrownianTransportation::BuildPhysicsTable(), G4ChargeExchangeProcess::BuildPhysicsTable(), G4NeutronHPJENDLHEData::BuildPhysicsTable(), G4CrossSectionPairGG::BuildPhysicsTable(), G4NeutronElasticXS::BuildPhysicsTable(), G4hImpactIonisation::BuildPhysicsTable(), G4NeutronCaptureXS::BuildPhysicsTable(), G4NeutronInelasticXS::BuildPhysicsTable(), G4BGGPionElasticXS::BuildPhysicsTable(), G4BGGNucleonInelasticXS::BuildPhysicsTable(), G4BGGNucleonElasticXS::BuildPhysicsTable(), G4BGGPionInelasticXS::BuildPhysicsTable(), G4EmManager::BuildPhysicsTable(), G4VMultipleScattering::BuildPhysicsTable(), G4VEmProcess::BuildPhysicsTable(), G4LossTableManager::BuildPhysicsTable(), G4VEnergyLossProcess::BuildPhysicsTable(), G4VUserPhysicsList::BuildPhysicsTable(), G4ScreenedNuclearRecoil::BuildPhysicsTable(), G4PenelopeIonisationXSHandler::BuildXSTable(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4ParticleChangeForGamma::CheckIt(), G4ParticleChangeForMSC::CheckIt(), G4ParticleChangeForLoss::CheckIt(), G4ParticleChangeForDecay::CheckIt(), G4ParticleChange::CheckIt(), G4PhysicsListHelper::CheckParticleList(), G4RPGInelastic::CheckQnums(), G4HadronicProcess::CheckResult(), G4VParticleChange::CheckSecondary(), F04StackingAction::ClassifyNewTrack(), CCalStackingAction::ClassifyNewTrack(), G4StackChecker::ClassifyNewTrack(), G4InuclCollider::collide(), G4ElementaryParticleCollider::collide(), G4RadioactiveDecay::CollimateDecayProduct(), G4EmCalculator::ComputeCrossSectionPerAtom(), G4EmCalculator::ComputeCrossSectionPerVolume(), G4EmCalculator::ComputeDEDX(), G4PenelopeIonisationModel::ComputeDEDXPerVolume(), G4EmCalculator::ComputeMeanFreePath(), G4EmCalculator::ComputeNuclearDEDX(), G4AdjointCSManager::ComputeTotalAdjointCS(), G4WentzelOKandVIxSection::ComputeTransportCrossSectionPerAtom(), G4WentzelVIRelXSection::ComputeTransportCrossSectionPerAtom(), OpNovicePhysicsList::ConstructEM(), eRositaPhysicsList::ConstructEM(), DicomPhysicsList::ConstructEM(), RE06PhysicsList::ConstructEM(), Par01PhysicsList::ConstructEM(), ExGflashPhysicsList::ConstructEM(), B03PhysicsList::ConstructEM(), ExP02PhysicsList::ConstructEM(), G4ErrorPhysicsList::ConstructEM(), ExN02PhysicsList::ConstructEM(), ExP01PhysicsList::ConstructEM(), F03PhysicsList::ConstructEM(), UltraPhysicsList::ConstructEM(), F01PhysicsList::ConstructEM(), F02PhysicsList::ConstructEM(), DMXPhysicsList::ConstructEM(), XrayTelPhysicsList::ConstructEM(), G4AdjointPhysicsList::ConstructEM(), PurgMagPhysicsList::ConstructEM(), DMXPhysicsList::ConstructGeneral(), DicomPhysicsList::ConstructHad(), B03PhysicsList::ConstructHad(), DMXPhysicsList::ConstructHad(), OpNovicePhysicsList::ConstructOp(), UltraPhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), F04ExtraPhysics::ConstructProcess(), F04OpticalPhysics::ConstructProcess(), G4EmLivermorePolarizedPhysics::ConstructProcess(), G4EmLowEPPhysics::ConstructProcess(), G4EmLivermorePhysics::ConstructProcess(), G4EmPenelopePhysics::ConstructProcess(), G4EmDNAPhysics::ConstructProcess(), F06ExtraPhysics::ConstructProcess(), F05ExtraPhysics::ConstructProcess(), WLSExtraPhysics::ConstructProcess(), RE01UnknownDecayPhysics::ConstructProcess(), PhysListEmStandard::ConstructProcess(), PhysListEmPenelope::ConstructProcess(), PhysListEmLivermore::ConstructProcess(), PhysListEmStandardGS::ConstructProcess(), PhysListEmStandardNR::ConstructProcess(), PhysListEmStandardSS::ConstructProcess(), PhysListEmStandardSSM::ConstructProcess(), PhysListEmPolarized::ConstructProcess(), PhysListEmStandardWVI::ConstructProcess(), PhysListEmStandard_GS::ConstructProcess(), PhysListEmStandard_WVI::ConstructProcess(), PhysListEmStandard_SS::ConstructProcess(), PhysListEmStandard_option0::ConstructProcess(), PhysListEmStandard_option3::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), G4HadronDElasticPhysics::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), G4NeutronTrackingCut::ConstructProcess(), G4ChargeExchangePhysics::ConstructProcess(), G4ErrorPhysicsList::ConstructProcess(), G4IonElasticPhysics::ConstructProcess(), exrdmPhysListHadron::ConstructProcess(), G4EmUserPhysics::ConstructProcess(), G4EmStandardPhysics::ConstructProcess(), G4EmStandardPhysics_option3::ConstructProcess(), G4EmStandardPhysics_option4::ConstructProcess(), G4DecayPhysics::ConstructProcess(), G4HadronInelasticQBBC::ConstructProcess(), G4EmStandardPhysics_option1::ConstructProcess(), G4EmStandardPhysics_option2::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), G4GenericBiasingPhysics::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), G4StoppingPhysics::ConstructProcess(), G4VRangeToEnergyConverter::Convert(), G4VRangeToEnergyConverter::ConvertCutToKineticEnergy(), G4ProductionCutsTable::ConvertRangeToEnergy(), G4CascadeInterface::createBullet(), G4XPDGElastic::CrossSection(), G4XPDGTotal::CrossSection(), G4DNAScreenedRutherfordElasticModel::CrossSectionPerVolume(), G4DNADingfelderChargeDecreaseModel::CrossSectionPerVolume(), G4DNAChampionElasticModel::CrossSectionPerVolume(), G4DNADingfelderChargeIncreaseModel::CrossSectionPerVolume(), G4DNAEmfietzoglouExcitationModel::CrossSectionPerVolume(), G4DNABornExcitationModel::CrossSectionPerVolume(), G4DNAMillerGreenExcitationModel::CrossSectionPerVolume(), G4DNAMeltonAttachmentModel::CrossSectionPerVolume(), G4DNASancheExcitationModel::CrossSectionPerVolume(), G4DNARuddIonisationExtendedModel::CrossSectionPerVolume(), G4DNARuddIonisationModel::CrossSectionPerVolume(), G4DNABornIonisationModel::CrossSectionPerVolume(), G4MicroElecElasticModel::CrossSectionPerVolume(), G4MuElecElasticModel::CrossSectionPerVolume(), G4MicroElecInelasticModel::CrossSectionPerVolume(), G4MuElecInelasticModel::CrossSectionPerVolume(), G4PenelopeIonisationModel::CrossSectionPerVolume(), G4KineticTrack::Decay(), G4UnknownDecay::DecayIt(), G4Decay::DecayIt(), G4RadioactiveDecay::DecayIt(), G4ITStepProcessor::DoStepping(), G4EmElementSelector::Dump(), G4HadronicProcessStore::Dump(), G4DecayTable::DumpInfo(), G4ProcessTable::DumpInfo(), G4ProcessManager::DumpInfo(), G4VUserPhysicsList::DumpList(), G4HadronicProcess::DumpState(), G4IonTable::DumpTable(), Em10PrimaryGeneratorAction::Em10PrimaryGeneratorAction(), B5EventAction::EndOfEventAction(), B3RunAction::EndOfRunAction(), B1RunAction::EndOfRunAction(), B1ConRunAction::EndOfRunAction(), G4ConcreteNNTwoBodyResonance::establish_G4MT_TLS_G4ConcreteNNTwoBodyResonance(), G4DiffractiveExcitation::ExciteParticipants(), export_G4ParticleDefinition(), F04Trajectory::F04Trajectory(), G4VDecayChannel::FillDaughters(), G4EmModelManager::FillDEDXVector(), G4EmModelManager::FillLambdaVector(), G4HadronicProcess::FillResult(), G4VScatteringCollision::FinalState(), G4VHadronPhysics::FindInelasticProcess(), G4ProcessTable::FindProcess(), G4CascadParticle::G4CascadParticle(), G4ConcreteNNToDeltaDeltastar::G4ConcreteNNToDeltaDeltastar(), G4ConcreteNNToDeltaNstar::G4ConcreteNNToDeltaNstar(), G4ConcreteNNToNDeltaStar::G4ConcreteNNToNDeltaStar(), G4ConcreteNNToNNStar::G4ConcreteNNToNNStar(), G4ConcreteNNTwoBodyResonance::G4ConcreteNNTwoBodyResonance(), G4ConcreteNStarNToNN::G4ConcreteNStarNToNN(), G4ErrorTrackLengthTarget::G4ErrorTrackLengthTarget(), G4Fragment::G4Fragment(), G4FissionProductYieldDist::G4GetFission(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4PartonPair::G4PartonPair(), G4RunManagerKernel::G4RunManagerKernel(), G4SmoothTrajectory::G4SmoothTrajectory(), G4Trajectory::G4Trajectory(), G4XAnnihilationChannel::G4XAnnihilationChannel(), G4XResonance::G4XResonance(), WLSPrimaryGeneratorAction::GeneratePrimaries(), UltraPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPlanePrimaryGeneratorAction::GeneratePrimaries(), XrayFluoMercuryPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPrimaryGeneratorAction::GeneratePrimaries(), DMXParticleSource::GeneratePrimaryVertex(), G4SingleParticleSource::GeneratePrimaryVertex(), G4TextPPReporter::GeneratePropertyTable(), G4PrimaryTransformer::GenerateSingleTrack(), G4AdjointCSManager::GetAdjointParticleEquivalent(), G4CrossSectionDataStore::GetCrossSection(), G4EmCalculator::GetCrossSectionPerVolume(), G4PenelopeIonisationXSHandler::GetCrossSectionTableForCouple(), G4EmCalculator::GetCSDARange(), G4ParticleGunMessenger::GetCurrentValue(), G4ProcessTableMessenger::GetCurrentValue(), G4UserPhysicsListMessenger::GetCurrentValue(), G4ParticleMessenger::GetCurrentValue(), G4RadioactiveDecay::GetDecayRateTable(), G4RadioactiveDecay::GetDecayTable(), G4EmCalculator::GetDEDX(), G4ChargeExchangeProcess::GetElementCrossSection(), G4BGGNucleonInelasticXS::GetElementCrossSection(), G4BGGPionElasticXS::GetElementCrossSection(), G4BGGNucleonElasticXS::GetElementCrossSection(), G4BGGPionInelasticXS::GetElementCrossSection(), G4VCrossSectionDataSet::GetElementCrossSection(), G4RPGReaction::GetFinalStateNucleons(), G4AdjointCSManager::GetForwardParticleEquivalent(), G4ProductionCuts::GetIndex(), G4BGGPionElasticXS::GetIsoCrossSection(), G4BGGNucleonInelasticXS::GetIsoCrossSection(), G4BGGNucleonElasticXS::GetIsoCrossSection(), G4BGGPionInelasticXS::GetIsoCrossSection(), G4VCrossSectionDataSet::GetIsoCrossSection(), G4ElasticHadrNucleusHE::GetKinematics(), G4EmCalculator::GetKinEnergy(), G4LENDManager::GetLENDTarget(), G4Decay::GetMeanFreePath(), G4EmCalculator::GetMeanFreePath(), G4RadioactiveDecay::GetMeanFreePath(), G4EmModelManager::GetModel(), G4MoleculeDefinition::GetName(), G4VMscModel::GetParticleChangeForMSC(), G4ParticleTable::GetParticleName(), G4ParticlePropertyTable::GetParticleProperty(), G4VProcess::GetPhysicsTableFileName(), F03PrimaryGeneratorAction::GetPrimaryName(), F01PrimaryGeneratorAction::GetPrimaryName(), F02PrimaryGeneratorAction::GetPrimaryName(), G4SteppingManager::GetProcessNumber(), G4ProcessManager::GetProcessVectorIndex(), PhysicsList::GetRange(), G4EmCalculator::GetRange(), G4EmCalculator::GetRangeFromRestricteDEDX(), G4Scintillation::GetScintillationYieldByParticleType(), G4UAtomicDeexcitation::GetShellIonisationCrossSectionPerAtom(), G4Pythia6Decayer::ImportDecayProducts(), G4FTFModel::Init(), G4DNADingfelderChargeDecreaseModel::Initialise(), G4DNAChampionElasticModel::Initialise(), G4DNADingfelderChargeIncreaseModel::Initialise(), G4DNAMillerGreenExcitationModel::Initialise(), G4DNABornExcitationModel::Initialise(), G4DNAMeltonAttachmentModel::Initialise(), G4DNARuddIonisationExtendedModel::Initialise(), G4DNARuddIonisationModel::Initialise(), G4DNABornIonisationModel::Initialise(), G4MicroElecElasticModel::Initialise(), G4MuElecElasticModel::Initialise(), G4PAIPhotModel::Initialise(), G4MicroElecInelasticModel::Initialise(), G4MuElecInelasticModel::Initialise(), G4EmBiasingManager::Initialise(), G4BraggIonModel::Initialise(), G4PAIModel::Initialise(), G4ICRU73QOModel::Initialise(), G4BraggModel::Initialise(), G4EmModelManager::Initialise(), G4alphaIonisation::InitialiseEnergyLossProcess(), G4hIonisation::InitialiseEnergyLossProcess(), G4DNAVibExcitation::InitialiseProcess(), G4DNAChargeIncrease::InitialiseProcess(), G4DNAAttachment::InitialiseProcess(), G4DNAChargeDecrease::InitialiseProcess(), G4DNAExcitation::InitialiseProcess(), G4DNAIonisation::InitialiseProcess(), G4CoulombScattering::InitialiseProcess(), G4MuElecInelastic::InitialiseProcess(), G4MicroElecInelastic::InitialiseProcess(), G4AdjointhMultipleScattering::InitialiseProcess(), G4VUserPhysicsList::InitializeProcessManager(), G4DecayTable::Insert(), G4ProcessTable::Insert(), G4ParticleTable::Insert(), G4IonTable::IsAntiIon(), G4DNAMolecularDissociation::IsApplicable(), G4UnknownDecay::IsApplicable(), G4NeutronKiller::IsApplicable(), G4RadioactiveDecay::IsApplicable(), G4Cerenkov::IsApplicable(), G4Scintillation::IsApplicable(), G4ParallelWorldScoringProcess::IsAtRestRequired(), G4ParallelWorldProcess::IsAtRestRequired(), G4IonTable::IsIon(), G4LENDManager::IsLENDTargetAvailable(), G4IonTable::IsLightAntiIon(), G4IonTable::IsLightIon(), G4RadioactiveDecay::IsRateTableReady(), G4RadioactiveDecay::LoadDecayTable(), G4LossTableManager::LocalPhysicsTables(), G4TextPPRetriever::ModifyPropertyTable(), G4VShortLivedParticle::operator!=(), operator<<(), G4VShortLivedParticle::operator==(), G4HadronElasticProcess::PostStepDoIt(), G4VEmProcess::PostStepDoIt(), G4VEmProcess::PostStepGetPhysicalInteractionLength(), G4VEnergyLossProcess::PostStepGetPhysicalInteractionLength(), G4AdjointTrackingAction::PostUserTrackingAction(), G4EmConfigurator::PrepareModels(), G4EmManager::PreparePhysicsTable(), G4VMultipleScattering::PreparePhysicsTable(), G4LossTableManager::PreparePhysicsTable(), G4VEmProcess::PreparePhysicsTable(), G4VEnergyLossProcess::PreparePhysicsTable(), G4VUserPhysicsList::PreparePhysicsTable(), Em10TrackingAction::PreUserTrackingAction(), RE01TrackInformation::Print(), G4PrimaryParticle::Print(), G4InuclNuclei::print(), G3PartTable::PrintAll(), G4EmCalculator::PrintDEDXTable(), RunAction::PrintDedxTables(), G4CascadeHistory::PrintEntry(), G4HadronicProcessStore::PrintHtml(), G4VMultipleScattering::PrintInfoDefinition(), G4VEnergyLossProcess::PrintInfoDefinition(), G4EmCalculator::PrintInverseRangeTable(), G4EmCalculator::PrintRangeTable(), Run::PrintSummary(), CexmcEventAction::PrintTrackPoints(), DMXScintSD::ProcessHits(), G4IntraNucleiCascader::processSecondary(), G4CascadeInterface::Propagate(), G4GeneratorPrecompoundInterface::PropagateNuclNucl(), G4StackManager::PushOneTrack(), RE01Trajectory::RE01Trajectory(), RE04Trajectory::RE04Trajectory(), G4AdjointCSManager::RegisterAdjointParticle(), G4AdjointSimManager::RegisterAtEndOfAdjointTrack(), G4AdjointCSManager::RegisterEmProcess(), G4AdjointCSManager::RegisterEnergyLossProcess(), G4EmManager::RegisterExtraParticle(), G4LossTableManager::RegisterExtraParticle(), G4PhysicsListHelper::RegisterProcess(), G4IntraNucleiCascader::releaseSecondary(), G4ProcessTable::Remove(), G4ParticleTable::Remove(), G4IonTable::Remove(), G4ProcessManager::RemoveProcess(), G4VUserPhysicsList::RemoveProcessManager(), G4VEmProcess::RetrievePhysicsTable(), G4VEnergyLossProcess::RetrievePhysicsTable(), G4VUserPhysicsList::RetrievePhysicsTable(), G4ElasticHadrNucleusHE::SampleInvariantT(), G4DNABornExcitationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4DNABornIonisationModel::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4MuElecInelasticModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4Scatterer::Scatter(), G4QuasiElasticChannel::Scatter(), G4VPartonStringModel::Scatter(), Histo::ScoreNewTrack(), G4VEmAdjointModel::SetAdjointEquivalentOfDirectPrimaryParticleDefinition(), G4VEmProcess::SetCrossSectionBiasingFactor(), G4VDecayChannel::SetDaughter(), G4PrimaryTransformer::SetDecayProducts(), G4VEnergyLossProcess::SetDEDXTable(), G4DynamicParticle::SetDefinition(), G4VEnergyLossProcess::SetInverseRangeTable(), G4VEnergyLossProcess::SetLambdaTable(), G4ParticleMessenger::SetNewValue(), OpNovicePrimaryGeneratorAction::SetOptPhotonPolar(), WLSPrimaryGeneratorAction::SetOptPhotonPolar(), G4VDecayChannel::SetParent(), G4VUserPhysicsList::SetParticleCuts(), G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentum(), G4RunManagerKernel::SetPhysics(), G4ProcessTable::SetProcessActivation(), G4ProcessManager::SetProcessOrdering(), G4ProcessManager::SetProcessOrderingToFirst(), G4ProcessManager::SetProcessOrderingToLast(), G4ProcessManager::SetProcessOrderingToSecond(), G4HadronicWhiteBoard::SetProjectile(), G4VEnergyLossProcess::SetRangeTableForLoss(), G4VEnergyLossProcess::SetSecondaryRangeTable(), G4VEnergyLossProcess::SetSubLambdaTable(), G4ITStepProcessor::SetupGeneralProcessInfo(), G4WorkerRunManagerKernel::SetupShadowProcess(), G4GlobalFastSimulationManager::ShowSetup(), F04SteppingVerbose::StepInfo(), G4VMultipleScattering::StorePhysicsTable(), G4VEmProcess::StorePhysicsTable(), G4VEnergyLossProcess::StorePhysicsTable(), G4VUserPhysicsList::StorePhysicsTable(), G4ITTrackingInteractivity::TrackBanner(), F04SteppingVerbose::TrackingStarted(), WLSSteppingVerbose::TrackingStarted(), G4AdjointPrimaryGeneratorAction::UpdateListOfPrimaryParticles(), FCALSteppingAction::UserSteppingAction(), PurgMagSteppingAction::UserSteppingAction(), HadrontherapySteppingAction::UserSteppingAction(), DMXSteppingAction::UserSteppingAction(), IORTSteppingAction::UserSteppingAction(), WLSTrajectory::WLSTrajectory(), and ~G4ParticleDefinition().

159 { return theParticleName; }
const G4String& G4ParticleDefinition::GetParticleSubType ( ) const
inline
G4ParticleTable* G4ParticleDefinition::GetParticleTable ( ) const
const G4String& G4ParticleDefinition::GetParticleType ( ) const
inline

Definition at line 180 of file G4ParticleDefinition.hh.

Referenced by G4PhysicsListHelper::AddTransportation(), G4QMDReaction::ApplyYourself(), G4hImpactIonisation::BuildPhysicsTable(), G4PhysicsListHelper::CheckParticleList(), DMXPhysicsList::ConstructEM(), DMXPhysicsList::ConstructGeneral(), G4DiffractiveExcitation::CreateStrings(), RE01Trajectory::DrawTrajectory(), export_G4ParticleDefinition(), G4VDecayChannel::FillDaughters(), G4VParticlePropertyReporter::FillList(), G4Parton::G4Parton(), G4PartonPair::G4PartonPair(), G4LossTableManager::GetEnergyLossProcess(), G4Scintillation::GetScintillationYieldByParticleType(), G4BraggIonModel::Initialise(), G4BraggModel::Initialise(), G4CoulombScattering::InitialiseProcess(), G4AdjointhMultipleScattering::InitialiseProcess(), G4IonTable::IsAntiIon(), G4MicroElecInelastic::IsApplicable(), G4MuElecInelastic::IsApplicable(), G4DNAMolecularDissociation::IsApplicable(), G4ionIonisation::IsApplicable(), G4RadioactiveDecay::IsApplicable(), G4ScreenedNuclearRecoil::IsApplicable(), G4IonTable::IsIon(), G4AdjointTrackingAction::PostUserTrackingAction(), G4VMultipleScattering::PreparePhysicsTable(), G4VEmProcess::PreparePhysicsTable(), G4VEnergyLossProcess::PreparePhysicsTable(), G4AdjointTrackingAction::PreUserTrackingAction(), G4AdjointSimManager::RegisterAtEndOfAdjointTrack(), G4ContinuousGainOfEnergy::SetDirectParticle(), G4ParticleMessenger::SetNewValue(), exrdmSteppingAction::UserSteppingAction(), HadrontherapySteppingAction::UserSteppingAction(), IORTSteppingAction::UserSteppingAction(), and G4AdjointSteppingAction::UserSteppingAction().

180 { return theParticleType; }
G4double G4ParticleDefinition::GetPDGCharge ( ) const
inline

Definition at line 163 of file G4ParticleDefinition.hh.

Referenced by ExN02PhysicsList::AddStepMax(), G4NuclearStopping::AlongStepDoIt(), G4BinaryLightIonReaction::ApplyYourself(), G4ParaFissionModel::ApplyYourself(), G4LowEIonFragmentation::ApplyYourself(), G4LEpp::ApplyYourself(), G4LEnp::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4LFission::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4WilsonAbrasionModel::ApplyYourself(), G4NeutronHPInelasticBaseFS::BaseApply(), RunAction::BeginOfRunAction(), SteppingAction::BirksAttenuation(), G4WilsonAblationModel::BreakItUp(), G4DiffuseElastic::BuildAngleTable(), G4ErrorTrajState::BuildCharge(), G4eLowEnergyLoss::BuildDEDXTable(), G4hRDEnergyLoss::BuildDEDXTable(), G4hImpactIonisation::BuildPhysicsTable(), G4VXTRenergyLoss::BuildPhysicsTable(), G4ecpssrBaseKxsModel::CalculateCrossSection(), G4ecpssrBaseLixsModel::CalculateL1CrossSection(), G4ecpssrBaseLixsModel::CalculateL2CrossSection(), G4ecpssrBaseLixsModel::CalculateL3CrossSection(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4PhysicsListHelper::CheckParticleList(), G4RPGInelastic::CheckQnums(), StackingAction::ClassifyNewTrack(), ExN04StackingAction::ClassifyNewTrack(), RE05StackingAction::ClassifyNewTrack(), G4NeutronHPInelasticCompFS::CompositeApply(), G4hImpactIonisation::ComputeDEDX(), G4ICRU49NuclearStoppingModel::ComputeDEDXPerVolume(), G4PAIPhotonModel::ComputeDEDXPerVolume(), RunAction::ComputeMscHighland(), Run::ComputeMscHighland(), Run::ComputeStatistics(), OpNovicePhysicsList::ConstructEM(), eRositaPhysicsList::ConstructEM(), RE06PhysicsList::ConstructEM(), Par01PhysicsList::ConstructEM(), ExP02PhysicsList::ConstructEM(), ExGflashPhysicsList::ConstructEM(), B03PhysicsList::ConstructEM(), G4ErrorPhysicsList::ConstructEM(), ExN02PhysicsList::ConstructEM(), ExP01PhysicsList::ConstructEM(), UltraPhysicsList::ConstructEM(), DMXPhysicsList::ConstructEM(), XrayTelPhysicsList::ConstructEM(), F04ExtraPhysics::ConstructProcess(), F05ExtraPhysics::ConstructProcess(), WLSExtraPhysics::ConstructProcess(), PhysListEmStandard::ConstructProcess(), PhysListEmStandardNR::ConstructProcess(), PhysListEmLivermore::ConstructProcess(), PhysListEmPenelope::ConstructProcess(), PhysListEmStandardGS::ConstructProcess(), PhysListEmStandardSS::ConstructProcess(), PhysListEmStandardSSM::ConstructProcess(), PhysListEmStandardWVI::ConstructProcess(), G4StepLimiterPhysics::ConstructProcess(), G4MonopolePhysics::ConstructProcess(), G4StoppingPhysics::ConstructProcess(), G4PAIPhotonModel::CrossSectionPerVolume(), G4KineticTrack::Decay(), G4ScreenedCoulombClassicalKinematics::DoCollisionStep(), G4ionEffectiveCharge::EffectiveCharge(), G4EmCorrections::EffectiveChargeCorrection(), export_G4ParticleDefinition(), F04Trajectory::F04Trajectory(), F06PrimaryGeneratorAction::F06PrimaryGeneratorAction(), G4VScatteringCollision::FinalState(), G4Absorber::FindAbsorbers(), G4Absorber::FindProducts(), G4AdjointIons::G4AdjointIons(), G4ConcreteNNToDeltaDeltastar::G4ConcreteNNToDeltaDeltastar(), G4DNAIons::G4DNAIons(), G4FTFParameters::G4FTFParameters(), G4Ions::G4Ions(), G4ParticleDefinition(), G4PrimaryParticle::G4PrimaryParticle(), G4SmoothTrajectory::G4SmoothTrajectory(), G4Trajectory::G4Trajectory(), G4VPreCompoundFragment::G4VPreCompoundFragment(), G4BlinePrimaryGeneratorAction::GeneratePrimaries(), G4TextPPReporter::GeneratePropertyTable(), G4QMDParticipant::GetChargeInUnitOfEplus(), G4VEmModel::GetChargeSquareRatio(), G4GGNuclNuclCrossSection::GetCoulombBarier(), G4ComponentGGNuclNuclXsc::GetCoulombBarier(), G4HadronNucleonXsc::GetCoulombBarrier(), G4NuclNuclDiffuseElastic::GetCoulombElasticXsc(), G4DiffuseElastic::GetCoulombElasticXsc(), G4NuclNuclDiffuseElastic::GetCoulombIntegralXsc(), G4DiffuseElastic::GetCoulombIntegralXsc(), G4NuclNuclDiffuseElastic::GetCoulombTotalXsc(), G4DiffuseElastic::GetCoulombTotalXsc(), G4EnergyLossTables::GetDEDX(), G4VMscModel::GetDEDX(), G4NuclNuclDiffuseElastic::GetDiffuseElasticSumXsc(), G4DiffuseElastic::GetDiffuseElasticSumXsc(), G4PiNuclearCrossSection::GetElementCrossSection(), G4TripathiCrossSection::GetElementCrossSection(), G4IonsKoxCrossSection::GetElementCrossSection(), G4IonProtonCrossSection::GetElementCrossSection(), G4EMDissociationCrossSection::GetElementCrossSection(), G4TripathiLightCrossSection::GetElementCrossSection(), G4GeneralSpaceNNCrossSection::GetElementCrossSection(), G4VMscModel::GetEnergy(), G4MesonAbsorption::GetFinalState(), G4HadronNucleonXsc::GetHadronNucleonXscNS(), G4IonsShenCrossSection::GetIsoCrossSection(), G4HadronNucleonXsc::GetKaonNucleonXscGG(), G4SynchrotronRadiation::GetMeanFreePath(), G4SynchrotronRadiationInMat::GetMeanFreePath(), G4VXTRenergyLoss::GetMeanFreePath(), G4ScreenedNuclearRecoil::GetMeanFreePath(), G4VEmModel::GetParticleCharge(), G4ParticlePropertyTable::GetParticleProperty(), G4SynchrotronRadiationInMat::GetPhotonEnergy(), G4EnergyLossTables::GetPreciseDEDX(), G4EnergyLossTables::GetPreciseEnergyFromRange(), G4EnergyLossTables::GetPreciseRangeFromEnergy(), G4EnergyLossTables::GetRange(), G4VMscModel::GetRange(), G4GGNuclNuclCrossSection::GetRatioQE(), G4ComponentGGNuclNuclXsc::GetRatioQE(), G4GGNuclNuclCrossSection::GetRatioSD(), G4ComponentGGNuclNuclXsc::GetRatioSD(), G4UAtomicDeexcitation::GetShellIonisationCrossSectionPerAtom(), G4Scatterer::GetTimeToInteraction(), G4PAIPhotonModel::GetXscPerVolume(), G4GGNuclNuclCrossSection::GetZandACrossSection(), G4ComponentGGNuclNuclXsc::GetZandACrossSection(), G4FTFModel::Init(), G4NuclNuclDiffuseElastic::InitDynParameters(), G4ErrorPropagator::InitG4Track(), G4MuElecInelasticModel::Initialise(), G4MicroElecInelasticModel::Initialise(), G4hhIonisation::InitialiseEnergyLossProcess(), G4MuIonisation::InitialiseEnergyLossProcess(), G4hIonisation::InitialiseEnergyLossProcess(), G4BohrFluctuations::InitialiseMe(), G4UniversalFluctuation::InitialiseMe(), G4IonFluctuations::InitialiseMe(), G4NuclNuclDiffuseElastic::InitParameters(), G4NuclNuclDiffuseElastic::InitParametersGla(), G4EmCorrections::IonHighOrderCorrections(), F04StepMax::IsApplicable(), XrayFluoStepMax::IsApplicable(), StepMax::IsApplicable(), HadrontherapyStepMax::IsApplicable(), WLSStepMax::IsApplicable(), StepLimiter::IsApplicable(), G4ErrorEnergyLoss::IsApplicable(), IORTStepMax::IsApplicable(), ML2StepMax::IsApplicable(), G4CoulombScattering::IsApplicable(), G4VTransitionRadiation::IsApplicable(), G4MuElecInelastic::IsApplicable(), G4MicroElecInelastic::IsApplicable(), G4hPairProduction::IsApplicable(), G4alphaIonisation::IsApplicable(), G4TransitionRadiation::IsApplicable(), G4MuMultipleScattering::IsApplicable(), G4HadronStoppingProcess::IsApplicable(), G4hhIonisation::IsApplicable(), G4eMultipleScattering::IsApplicable(), G4hBremsstrahlung::IsApplicable(), G4hMultipleScattering::IsApplicable(), G4NuclearStopping::IsApplicable(), G4MuPairProduction::IsApplicable(), G4AdjointhMultipleScattering::IsApplicable(), G4ionIonisation::IsApplicable(), G4hImpactIonisation::IsApplicable(), G4MuBremsstrahlung::IsApplicable(), G4VXTRenergyLoss::IsApplicable(), G4MuIonisation::IsApplicable(), G4hIonisation::IsApplicable(), G4Cerenkov::IsApplicable(), G4IonProtonCrossSection::IsElementApplicable(), G4TripathiLightCrossSection::IsElementApplicable(), G4ElectronIonPair::MeanNumberOfIonsAlongStep(), G4Monopole::MonopoleDefinition(), G4EmCorrections::NuclearDEDX(), G4CollisionComposite::Resolve::operator()(), G4SynchrotronRadiation::PostStepDoIt(), G4SynchrotronRadiationInMat::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4HadronicProcess::PostStepDoIt(), G4Cerenkov::PostStepDoIt(), G4Scintillation::PostStepDoIt(), G4ScreenedNuclearRecoil::PostStepDoIt(), Em10StepCut::PostStepGetPhysicalInteractionLength(), F02StepCut::PostStepGetPhysicalInteractionLength(), F03StepCut::PostStepGetPhysicalInteractionLength(), F01StepCut::PostStepGetPhysicalInteractionLength(), G4MinEkineCuts::PostStepGetPhysicalInteractionLength(), DMXMinEkineCuts::PostStepGetPhysicalInteractionLength(), G4UserSpecialCuts::PostStepGetPhysicalInteractionLength(), XrayTelStepCut::PostStepGetPhysicalInteractionLength(), G4EmConfigurator::PrepareModels(), G4VEnergyLossProcess::PreparePhysicsTable(), Run::PrintSummary(), B5DriftChamberSD::ProcessHits(), Em10CalorimeterSD::ProcessHits(), B4cCalorimeterSD::ProcessHits(), DMXScintSD::ProcessHits(), G4GeneratorPrecompoundInterface::Propagate(), G4GeneratorPrecompoundInterface::PropagateNuclNucl(), RE01Trajectory::RE01Trajectory(), RE04Trajectory::RE04Trajectory(), G4EnergyLossTables::Register(), G4PAIPhotonModel::SampleFluctuations(), G4AntiNuclElastic::SampleInvariantT(), G4Scatterer::Scatter(), G4QuasiElasticChannel::Scatter(), G4DynamicParticle::SetDefinition(), G4ContinuousGainOfEnergy::SetDirectParticle(), G4hImpactIonisation::SetElectronicStoppingPowerModel(), G4IonFluctuations::SetParticleAndCharge(), G4ParticleGun::SetParticleDefinition(), DMXParticleSource::SetParticleDefinition(), G4PrimaryParticle::SetParticleDefinition(), G4SingleParticleSource::SetParticleDefinition(), G4PrimaryParticle::SetPDGcode(), G4WentzelOKandVIxSection::SetupParticle(), G4WentzelVIRelXSection::SetupParticle(), G4IonCoulombCrossSection::SetupParticle(), G4EnergySplitter::SplitEnergyInVolumes(), G4NuclNuclDiffuseElastic::TestAngleTable(), G4DiffuseElastic::TestAngleTable(), G4IonYangFluctuationModel::TheValue(), G4hIonEffChargeSquare::TheValue(), G4hNuclearStoppingModel::TheValue(), G4QAOLowEnergyLoss::TheValue(), B4bSteppingAction::UserSteppingAction(), B4aSteppingAction::UserSteppingAction(), HadrontherapySteppingAction::UserSteppingAction(), IORTSteppingAction::UserSteppingAction(), and WLSTrajectory::WLSTrajectory().

163 { return thePDGCharge; }
G4int G4ParticleDefinition::GetPDGEncoding ( ) const
inline

Definition at line 185 of file G4ParticleDefinition.hh.

Referenced by G4ITStepProcessor::ActiveOnlyITProcess(), CML2ExpVoxels::add(), G4FTFAnnihilation::Annihilate(), G4ChargeExchange::ApplyYourself(), G4ChargeExchangeProcess::BuildPhysicsTable(), G4RPGInelastic::CalculateMomenta(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4HadronicProcess::CheckResult(), G4DiffractiveExcitation::CreateStrings(), G4XPDGTotal::CrossSection(), G4VLongitudinalStringDecay::DiQuarkSplitup(), G4DiffractiveExcitation::ExciteParticipants(), G4QGSDiffractiveExcitation::ExciteParticipants(), export_G4ParticleDefinition(), F04Trajectory::F04Trajectory(), G4ParticleTable::FindParticle(), G4VLongitudinalStringDecay::FragmentationMass(), G4DetailedBalancePhaseSpaceIntegral::G4DetailedBalancePhaseSpaceIntegral(), G4Fragment::G4Fragment(), G4FTFParameters::G4FTFParameters(), G4FissionProductYieldDist::G4GetFission(), G4PomeronCrossSection::G4PomeronCrossSection(), G4PrimaryParticle::G4PrimaryParticle(), G4ReactionProduct::G4ReactionProduct(), G4SmoothTrajectory::G4SmoothTrajectory(), G4Trajectory::G4Trajectory(), CML2PrimaryGenerationAction::GeneratePrimaries(), G4TextPPReporter::GeneratePropertyTable(), G4PrimaryTransformer::GenerateSingleTrack(), G4ChipsComponentXS::GetElasticElementCrossSection(), G4QuasiElasticChannel::GetFraction(), G4HadronNucleonXsc::GetHadronNucleonXscVU(), G4GlauberGribovCrossSection::GetHNinelasticXscVU(), G4GGNuclNuclCrossSection::GetHNinelasticXscVU(), G4ComponentGGNuclNuclXsc::GetHNinelasticXscVU(), G4ComponentGGHadronNucleusXsc::GetHNinelasticXscVU(), G4ChipsComponentXS::GetInelasticElementCrossSection(), G4ChipsAntiBaryonInelasticXS::GetIsoCrossSection(), G4ChipsHyperonElasticXS::GetIsoCrossSection(), G4ChipsHyperonInelasticXS::GetIsoCrossSection(), G4ChipsAntiBaryonElasticXS::GetIsoCrossSection(), G4ParticlePropertyTable::GetParticleProperty(), G4SteppingManager::GetProcessNumber(), G4ChipsComponentXS::GetTotalElementCrossSection(), G4Pythia6Decayer::ImportDecayProducts(), G4RKPropagation::Init(), G4ParticleTable::Insert(), G4EmCorrections::IonHighOrderCorrections(), G4ParallelWorldScoringProcess::IsAtRestRequired(), G4ParallelWorldProcess::IsAtRestRequired(), G4ReactionProduct::operator=(), MCTruthTrackingAction::PostUserTrackingAction(), G4AdjointTrackingAction::PostUserTrackingAction(), G4CollisionManager::Print(), G4CollisionInitialState::Print(), HadrontherapyDetectorSD::ProcessHits(), CML2SDWithParticle::ProcessHits(), G4VLongitudinalStringDecay::QuarkSplitup(), RE01Trajectory::RE01Trajectory(), RE04Trajectory::RE04Trajectory(), G4AdjointSimManager::RegisterAtEndOfAdjointTrack(), G4ParticleTable::Remove(), G4ChipsElasticModel::SampleInvariantT(), G4ElasticHadrNucleusHE::SampleInvariantT(), G4SPBaryon::SampleQuarkAndDiquark(), G4QuasiElasticChannel::Scatter(), G4ReactionProduct::SetDefinition(), G4PrimaryParticle::SetParticleDefinition(), RMC01AnalysisManager::SetPrimaryExpSpectrumForAdjointSim(), RMC01AnalysisManager::SetPrimaryPowerLawSpectrumForAdjointSim(), G4ITStepProcessor::SetupGeneralProcessInfo(), G4DiffractiveSplitableHadron::SplitUp(), G4RKPropagation::Transport(), exrdmSteppingAction::UserSteppingAction(), FCALSteppingAction::UserSteppingAction(), G4EmSaturation::VisibleEnergyDeposition(), WLSTrajectory::WLSTrajectory(), and G4ParticleTable::WorkerG4ParticleTable().

185 { return thePDGEncoding; }
G4int G4ParticleDefinition::GetPDGiConjugation ( ) const
inline
G4int G4ParticleDefinition::GetPDGiGParity ( ) const
inline

Definition at line 173 of file G4ParticleDefinition.hh.

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

173 { return thePDGiGParity; }
G4int G4ParticleDefinition::GetPDGiIsospin ( ) const
inline
G4int G4ParticleDefinition::GetPDGiIsospin3 ( ) const
inline
G4int G4ParticleDefinition::GetPDGiParity ( ) const
inline
G4double G4ParticleDefinition::GetPDGIsospin ( ) const
inline

Definition at line 169 of file G4ParticleDefinition.hh.

Referenced by export_G4ParticleDefinition().

169 { return thePDGIsospin; }
G4double G4ParticleDefinition::GetPDGIsospin3 ( ) const
inline

Definition at line 170 of file G4ParticleDefinition.hh.

Referenced by export_G4ParticleDefinition(), and G4Parton::G4Parton().

170 { return thePDGIsospin3; }
G4int G4ParticleDefinition::GetPDGiSpin ( ) const
inline
G4double G4ParticleDefinition::GetPDGLifeTime ( ) const
G4double G4ParticleDefinition::GetPDGMagneticMoment ( ) const
inline
G4double G4ParticleDefinition::GetPDGMass ( ) const
inline

Definition at line 161 of file G4ParticleDefinition.hh.

Referenced by G4NeutronHPFinalState::adjust_final_state(), G4Transportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength(), G4VMultipleScattering::AlongStepGetPhysicalInteractionLength(), G4FTFAnnihilation::Annihilate(), G4RPGPiMinusInelastic::ApplyYourself(), G4RPGPiPlusInelastic::ApplyYourself(), G4NeutronHPFissionFS::ApplyYourself(), G4RPGKMinusInelastic::ApplyYourself(), G4RPGNeutronInelastic::ApplyYourself(), G4RPGProtonInelastic::ApplyYourself(), G4RPGAntiProtonInelastic::ApplyYourself(), G4RPGAntiSigmaPlusInelastic::ApplyYourself(), G4RPGAntiLambdaInelastic::ApplyYourself(), G4RPGSigmaPlusInelastic::ApplyYourself(), G4RPGXiMinusInelastic::ApplyYourself(), G4RPGAntiNeutronInelastic::ApplyYourself(), G4RPGAntiOmegaMinusInelastic::ApplyYourself(), G4RPGAntiSigmaMinusInelastic::ApplyYourself(), G4RPGAntiXiMinusInelastic::ApplyYourself(), G4RPGOmegaMinusInelastic::ApplyYourself(), G4RPGAntiXiZeroInelastic::ApplyYourself(), G4RPGLambdaInelastic::ApplyYourself(), G4RPGKPlusInelastic::ApplyYourself(), G4RPGKZeroInelastic::ApplyYourself(), G4RPGSigmaMinusInelastic::ApplyYourself(), G4NeutronHPCaptureFS::ApplyYourself(), G4RPGXiZeroInelastic::ApplyYourself(), G4RPGAntiKZeroInelastic::ApplyYourself(), G4LENDModel::ApplyYourself(), G4NeutronRadCapture::ApplyYourself(), G4HadronElastic::ApplyYourself(), G4ChargeExchange::ApplyYourself(), G4NeutronHPElasticFS::ApplyYourself(), G4LENDElastic::ApplyYourself(), G4LEpp::ApplyYourself(), G4ElectroVDNuclearModel::ApplyYourself(), G4TheoFSGenerator::ApplyYourself(), G4LEnp::ApplyYourself(), G4QMDReaction::ApplyYourself(), G4LFission::ApplyYourself(), G4FissionLibrary::ApplyYourself(), G4EMDissociation::ApplyYourself(), G4INCLXXInterface::ApplyYourself(), G4LFission::Atomas(), G4NeutronHPInelasticBaseFS::BaseApply(), G4KineticTrackVector::BoostBeam(), G4ExcitationHandler::BreakItUp(), G4WilsonAblationModel::BreakItUp(), G4NuclNuclDiffuseElastic::BuildAngleTable(), G4DiffuseElastic::BuildAngleTable(), G4eLowEnergyLoss::BuildDEDXTable(), G4hRDEnergyLoss::BuildDEDXTable(), G4hImpactIonisation::BuildPhysicsTable(), G4ecpssrBaseKxsModel::CalculateCrossSection(), G4ecpssrFormFactorKxsModel::CalculateCrossSection(), G4PaulKxsModel::CalculateKCrossSection(), G4ecpssrFormFactorLixsModel::CalculateL1CrossSection(), G4ecpssrBaseLixsModel::CalculateL1CrossSection(), G4ecpssrFormFactorLixsModel::CalculateL2CrossSection(), G4ecpssrBaseLixsModel::CalculateL2CrossSection(), G4OrlicLiXsModel::CalculateL2CrossSection(), G4ecpssrFormFactorLixsModel::CalculateL3CrossSection(), G4ecpssrBaseLixsModel::CalculateL3CrossSection(), G4OrlicLiXsModel::CalculateL3CrossSection(), G4RPGInelastic::CalculateMomenta(), G4AntiNuclElastic::CalculateParticleBeta(), G4NuclNuclDiffuseElastic::CalculateParticleBeta(), G4DiffuseElastic::CalculateParticleBeta(), G4ecpssrBaseLixsModel::CalculateVelocity(), G4QMDCollision::CalKinematicsOfBinaryCollisions(), CexmcChargeExchangeProductionModel< OutputParticle >::CexmcChargeExchangeProductionModel(), G4HadronicProcess::CheckResult(), G4QuasiElRatios::ChExer(), G4NeutronHPInelasticCompFS::CompositeApply(), G4AnnihiToMuPair::ComputeCrossSectionPerAtom(), G4GammaConversionToMuons::ComputeCrossSectionPerAtom(), G4KokoulinMuonNuclearXS::ComputeDDMicroscopicCrossSection(), G4hImpactIonisation::ComputeDEDX(), G4ICRU49NuclearStoppingModel::ComputeDEDXPerVolume(), G4PAIPhotonModel::ComputeDEDXPerVolume(), G4HadronElastic::ComputeMomentumCMS(), RunAction::ComputeMscHighland(), Run::ComputeMscHighland(), Run::ComputeStatistics(), exrdmPhysListHadron::ConstructProcess(), G4StoppingPhysics::ConstructProcess(), G4CollisionNN::CrossSection(), G4XAnnihilationChannel::CrossSection(), G4empCrossSection::CrossSection(), G4XPDGElastic::CrossSection(), G4XPDGTotal::CrossSection(), G4MuElecInelasticModel::CrossSectionPerVolume(), G4MicroElecInelasticModel::CrossSectionPerVolume(), G4PAIPhotonModel::CrossSectionPerVolume(), G4PionDecayMakeSpin::DaughterPolarization(), G4KineticTrack::Decay(), G4KL3DecayChannel::DecayIt(), G4NeutronBetaDecayChannel::DecayIt(), G4DalitzDecayChannel::DecayIt(), G4MuonDecayChannel::DecayIt(), G4TauLeptonicDecayChannel::DecayIt(), G4MuonDecayChannelWithSpin::DecayIt(), G4PionRadiativeDecayChannel::DecayIt(), G4NuclearDecayChannel::DecayIt(), G4MuonRadiativeDecayChannelWithSpin::DecayIt(), G4RadioactiveDecay::DecayIt(), G4IntraNucleiCascader::decayTrappedParticle(), G4TauMinus::Definition(), G4MuonMinus::Definition(), G4MuonPlus::Definition(), G4TauPlus::Definition(), G4VXResonance::DetailedBalance(), G4ScreenedCoulombClassicalKinematics::DoCollisionStep(), G4RadioactiveDecay::DoDecay(), G4ionEffectiveCharge::EffectiveCharge(), G4EmCorrections::EffectiveChargeCorrection(), G4ElasticHNScattering::ElasticScattering(), exGPSEventAction::EndOfEventAction(), CexmcEventAction::EndOfEventAction(), G4ConcreteNNTwoBodyResonance::establish_G4MT_TLS_G4ConcreteNNTwoBodyResonance(), G4DiffractiveExcitation::ExciteParticipants(), G4QGSDiffractiveExcitation::ExciteParticipants(), G4SingleDiffractiveExcitation::ExciteParticipants(), export_G4ParticleDefinition(), F06PrimaryGeneratorAction::F06PrimaryGeneratorAction(), G4VDecayChannel::FillDaughters(), G4VDecayChannel::FillParent(), Run::FillPerEvent(), G4HadronicProcess::FillResult(), G4VElasticCollision::FinalState(), G4VCrossSectionSource::FindLightParticle(), G4Absorber::FindProducts(), G4AnnihiToMuPair::G4AnnihiToMuPair(), G4ChipsKaonMinusElasticXS::G4ChipsKaonMinusElasticXS(), G4ChipsKaonPlusElasticXS::G4ChipsKaonPlusElasticXS(), G4ChipsKaonPlusInelasticXS::G4ChipsKaonPlusInelasticXS(), G4ConcreteNNTwoBodyResonance::G4ConcreteNNTwoBodyResonance(), G4ee2KChargedModel::G4ee2KChargedModel(), G4ee2KNeutralModel::G4ee2KNeutralModel(), G4eeTo3PiModel::G4eeTo3PiModel(), G4eeToPGammaModel::G4eeToPGammaModel(), G4eeToTwoPiModel::G4eeToTwoPiModel(), G4ElasticData::G4ElasticData(), G4EmCaptureCascade::G4EmCaptureCascade(), G4Fragment::G4Fragment(), G4FTFParameters::G4FTFParameters(), G4GeneralPhaseSpaceDecay::G4GeneralPhaseSpaceDecay(), G4FissionProductYieldDist::G4GetFission(), G4KineticTrack::G4KineticTrack(), G4MuMinusCaptureCascade::G4MuMinusCaptureCascade(), G4MuMinusCapturePrecompound::G4MuMinusCapturePrecompound(), G4MuonMinusBoundDecay::G4MuonMinusBoundDecay(), G4MuPairProductionModel::G4MuPairProductionModel(), G4NuclearDecayChannel::G4NuclearDecayChannel(), G4PrimaryParticle::G4PrimaryParticle(), G4ReactionProduct::G4ReactionProduct(), G4RToEConvForElectron::G4RToEConvForElectron(), G4RToEConvForPositron::G4RToEConvForPositron(), G4RToEConvForProton::G4RToEConvForProton(), G4VPreCompoundFragment::G4VPreCompoundFragment(), G4HadDecayGenerator::Generate(), G4VGammaDeexcitation::GenerateGamma(), G4RTPrimaryGeneratorAction::GeneratePrimaries(), B5PrimaryGeneratorAction::GeneratePrimaries(), G4BlinePrimaryGeneratorAction::GeneratePrimaries(), DMXParticleSource::GeneratePrimaryVertex(), G4ParticleGun::GeneratePrimaryVertex(), G4SingleParticleSource::GeneratePrimaryVertex(), G4TextPPReporter::GeneratePropertyTable(), G4ReactionDynamics::GenerateXandPt(), G4QMDParticipant::Get4Momentum(), G4ComponentAntiNuclNuclearXS::GetAntiHadronNucleonTotCrSc(), G4Nucleus::GetBiasedThermalNucleus(), G4GGNuclNuclCrossSection::GetCoulombBarier(), G4ComponentGGNuclNuclXsc::GetCoulombBarier(), G4HadronNucleonXsc::GetCoulombBarrier(), G4empCrossSection::GetCrossSection(), G4NeutronHPFissionData::GetCrossSection(), G4NeutronHPCaptureData::GetCrossSection(), G4NeutronHPInelasticData::GetCrossSection(), G4NeutronHPElasticData::GetCrossSection(), G4ChipsComponentXS::GetElasticElementCrossSection(), G4DynamicParticle::GetElectronMass(), G4ChargeExchangeProcess::GetElementCrossSection(), G4IonProtonCrossSection::GetElementCrossSection(), G4SigmaPlusField::GetField(), G4KaonZeroField::GetField(), G4SigmaZeroField::GetField(), G4SigmaMinusField::GetField(), G4KaonMinusField::GetField(), G4AntiProtonField::GetField(), G4PionPlusField::GetField(), G4PionZeroField::GetField(), G4KaonPlusField::GetField(), G4PionMinusField::GetField(), G4MesonAbsorption::GetFinalState(), G4GGNuclNuclCrossSection::GetHadronNucleonXscNS(), G4ComponentGGNuclNuclXsc::GetHadronNucleonXscNS(), G4NuclNuclDiffuseElastic::GetHadronNucleonXscNS(), G4ChipsComponentXS::GetInelasticElementCrossSection(), G4NuclNuclDiffuseElastic::GetInvCoulombElasticXsc(), G4DiffuseElastic::GetInvCoulombElasticXsc(), G4NuclNuclDiffuseElastic::GetInvElasticSumXsc(), G4DiffuseElastic::GetInvElasticSumXsc(), G4NuclNuclDiffuseElastic::GetInvElasticXsc(), G4DiffuseElastic::GetInvElasticXsc(), G4HadProjectile::GetKineticEnergy(), G4QMDParticipant::GetMass(), G4Fancy3DNucleus::GetMass(), G4VTransitionRadiation::GetMeanFreePath(), G4VXTRenergyLoss::GetMeanFreePath(), G4ScreenedNuclearRecoil::GetMeanFreePath(), G4SampleResonance::GetMinimumMass(), G4QMDNucleus::GetNuclearMass(), G4HyperNucleiProperties::GetNuclearMass(), G4NucleiProperties::GetNuclearMass(), G4InuclNuclei::getNucleiMass(), G4IonTable::GetNucleusMass(), G4VMscModel::GetParticleChangeForMSC(), G4InuclElementaryParticle::getParticleMass(), G4ParticlePropertyTable::GetParticleProperty(), G4NeutronHPPhotonDist::GetPhotons(), G4UAtomicDeexcitation::GetShellIonisationCrossSectionPerAtom(), G4NeutronHPThermalBoost::GetThermalEnergy(), G4ChipsComponentXS::GetTotalElementCrossSection(), G4PAIPhotonModel::GetXscPerVolume(), G4ElasticHadrNucleusHE::HadronProtonQ2(), G4RKPropagation::Init(), G4NeutronHPNBodyPhaseSpace::Init(), G4NuclNuclDiffuseElastic::InitDynParameters(), G4MicroElecInelasticModel::Initialise(), G4MuElecInelasticModel::Initialise(), G4hPairProduction::InitialiseEnergyLossProcess(), G4alphaIonisation::InitialiseEnergyLossProcess(), G4hhIonisation::InitialiseEnergyLossProcess(), G4MuPairProduction::InitialiseEnergyLossProcess(), G4ionIonisation::InitialiseEnergyLossProcess(), G4hIonisation::InitialiseEnergyLossProcess(), G4MuIonisation::InitialiseEnergyLossProcess(), G4BohrFluctuations::InitialiseMe(), G4UniversalFluctuation::InitialiseMe(), G4IonFluctuations::InitialiseMe(), G4CoulombScattering::InitialiseProcess(), G4AdjointhMultipleScattering::InitialiseProcess(), G4INCL::ParticleTable::initialize(), G4NuclNuclDiffuseElastic::InitParameters(), G4NuclNuclDiffuseElastic::InitParametersGla(), G4EmCorrections::IonHighOrderCorrections(), G4hPairProduction::IsApplicable(), G4hBremsstrahlung::IsApplicable(), G4hhIonisation::IsApplicable(), G4MuPairProduction::IsApplicable(), G4hImpactIonisation::IsApplicable(), G4MuBremsstrahlung::IsApplicable(), G4hIonisation::IsApplicable(), G4MuIonisation::IsApplicable(), G4Decay::IsApplicable(), G4Cerenkov::IsApplicable(), G4hBetheBlochModel::LowEnergyLimit(), G4GeneralPhaseSpaceDecay::ManyBodyDecayIt(), G4RPGInelastic::MarkLeadingStrangeParticle(), G4PAIPhotonModel::MaxSecondaryEnergy(), G4PixeCrossSectionHandler::MicroscopicCrossSection(), G4ResonanceNames::MinMass(), G4CoulombScattering::MinPrimaryEnergy(), G4ionIonisation::MinPrimaryEnergy(), G4Monopole::MonopoleDefinition(), G4RPGReaction::NuclearReaction(), G4ReactionDynamics::NuclearReaction(), G4ReactionProduct::operator=(), G4ForwardXrayTR::PostStepDoIt(), G4VXTRenergyLoss::PostStepDoIt(), G4AnnihiToMuPair::PostStepDoIt(), G4GammaConversionToMuons::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4ScreenedNuclearRecoil::PostStepDoIt(), G4UserSpecialCuts::PostStepGetPhysicalInteractionLength(), G4Cerenkov::PostStepGetPhysicalInteractionLength(), G4VEnergyLossProcess::PreparePhysicsTable(), G4ReactionDynamics::ProduceStrangeParticlePairs(), G4DecayStrongResonances::Propagate(), G4AdjointBremsstrahlungModel::RapidSampleSecondaries(), G4AdjointhIonisationModel::RapidSampleSecondaries(), G4RPGPionSuppression::ReactionStage(), G4RPGStrangeProduction::ReactionStage(), G4RPGTwoBody::ReactionStage(), G4RPGTwoCluster::ReactionStage(), G4RPGFragmentation::ReactionStage(), CexmcChargeExchangeReconstructor::Reconstruct(), G4NeutronHPContAngularPar::Sample(), G4DeltaAngle::SampleDirection(), G4PAIPhotonModel::SampleFluctuations(), G4AntiNuclElastic::SampleInvariantT(), G4NuclNuclDiffuseElastic::SampleInvariantT(), G4DiffuseElastic::SampleInvariantT(), G4ElasticHadrNucleusHE::SampleInvariantT(), G4SampleResonance::SampleMass(), G4DNADingfelderChargeDecreaseModel::SampleSecondaries(), G4DNADingfelderChargeIncreaseModel::SampleSecondaries(), G4AdjointeIonisationModel::SampleSecondaries(), G4DNABornIonisationModel::SampleSecondaries(), G4AdjointBremsstrahlungModel::SampleSecondaries(), G4AdjointhIonisationModel::SampleSecondaries(), G4AdjointIonIonisationModel::SampleSecondaries(), G4MuElecInelasticModel::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4NuclNuclDiffuseElastic::SampleTableThetaCMS(), G4DiffuseElastic::SampleTableThetaCMS(), G4AntiNuclElastic::SampleThetaLab(), G4NuclNuclDiffuseElastic::SampleThetaLab(), G4DiffuseElastic::SampleThetaLab(), G4QuasiElasticChannel::Scatter(), G4QuasiElRatios::Scatter(), HistoManager::ScoreNewTrack(), G4QGSParticipants::SelectInteractions(), G4PrimaryParticle::Set4Momentum(), G4ReactionProduct::SetDefinition(), G4DynamicParticle::SetDefinition(), G4ContinuousGainOfEnergy::SetDirectParticle(), G4PrimaryParticle::SetMomentum(), G4ParticlePropertyMessenger::SetNewValue(), G4mplIonisationModel::SetParticle(), G4mplIonisationWithDeltaModel::SetParticle(), G4MuPairProductionModel::SetParticle(), G4MuBremsstrahlungModel::SetParticle(), G4UniversalFluctuation::SetParticleAndCharge(), G4IonFluctuations::SetParticleAndCharge(), G4PrimaryParticle::SetParticleDefinition(), G4ParticleGun::SetParticleMomentum(), G4PrimaryParticle::SetPDGcode(), G4WentzelOKandVIxSection::SetupParticle(), G4WentzelVIRelXSection::SetupParticle(), G4IonCoulombCrossSection::SetupParticle(), G4ScreeningMottCrossSection::SetupParticle(), G4hCoulombScatteringModel::SetupParticle(), G4eCoulombScatteringModel::SetupParticle(), G4RayShooter::Shoot(), G4VEnergyLossProcess::StartTracking(), G4ReactionDynamics::SuppressChargedPions(), G4NuclNuclDiffuseElastic::TestAngleTable(), G4DiffuseElastic::TestAngleTable(), G4NuclNuclDiffuseElastic::ThetaCMStoThetaLab(), G4DiffuseElastic::ThetaCMStoThetaLab(), G4NuclNuclDiffuseElastic::ThetaLabToThetaCMS(), G4DiffuseElastic::ThetaLabToThetaCMS(), G4IonYangFluctuationModel::TheValue(), G4IonChuFluctuationModel::TheValue(), G4hBetheBlochModel::TheValue(), G4hNuclearStoppingModel::TheValue(), G4hParametrisedLossModel::TheValue(), G4hIonEffChargeSquare::TheValue(), G4GeneralPhaseSpaceDecay::ThreeBodyDecayIt(), G4ReactionDynamics::TwoBody(), G4GeneralPhaseSpaceDecay::TwoBodyDecayIt(), G4ReactionDynamics::TwoCluster(), and G4ParticleChangeForGamma::UpdateStepForPostStep().

161 { return thePDGMass; }
G4double G4ParticleDefinition::GetPDGSpin ( ) const
inline
G4bool G4ParticleDefinition::GetPDGStable ( ) const
G4double G4ParticleDefinition::GetPDGWidth ( ) const
inline
G4ProcessManager* G4ParticleDefinition::GetProcessManager ( ) const

Referenced by G4ITStepProcessor::ActiveOnlyITProcess(), XrayFluoPhysicsList::AddDecay(), Par01PhysicsList::AddParameterisation(), ExGflashPhysicsList::AddParameterisation(), G4IonTable::AddProcessManager(), B03PhysicsList::AddScoringProcess(), XrayFluoPhysicsList::AddStepMax(), F04PhysicsList::AddStepMax(), WLSPhysicsList::AddStepMax(), HadrontherapyPhysicsList::AddStepMax(), PhysicsList::AddStepMax(), IORTPhysicsList::AddStepMax(), ExN02PhysicsList::AddStepMax(), ML2PhysicsList::AddStepMax(), G4PhysicsListHelper::AddTransportation(), DMXPhysicsList::AddTransportation(), G4HadronElasticPhysicsXS::AddXSection(), G4hImpactIonisation::AlongStepDoIt(), RunAction::BeginOfRunAction(), G4AntiBarionBuilder::Build(), G4PionBuilder::Build(), G4BertiniElectroNuclearBuilder::Build(), G4ProtonBuilder::Build(), G4PiKBuilder::Build(), G4KaonBuilder::Build(), G4NeutronBuilder::Build(), G4HyperonFTFPBuilder::Build(), G4hImpactIonisation::BuildPhysicsTable(), G4VUserPhysicsList::BuildPhysicsTable(), G4PhysicsListHelper::CheckParticleList(), OpNovicePhysicsList::ConstructDecay(), OpNovicePhysicsList::ConstructEM(), eRositaPhysicsList::ConstructEM(), RE06PhysicsList::ConstructEM(), DicomPhysicsList::ConstructEM(), Par01PhysicsList::ConstructEM(), B03PhysicsList::ConstructEM(), ExP02PhysicsList::ConstructEM(), ExGflashPhysicsList::ConstructEM(), ExN02PhysicsList::ConstructEM(), G4ErrorPhysicsList::ConstructEM(), ExP01PhysicsList::ConstructEM(), UltraPhysicsList::ConstructEM(), F01PhysicsList::ConstructEM(), F02PhysicsList::ConstructEM(), F03PhysicsList::ConstructEM(), DMXPhysicsList::ConstructEM(), XrayTelPhysicsList::ConstructEM(), G4AdjointPhysicsList::ConstructEM(), PurgMagPhysicsList::ConstructEM(), eRositaPhysicsList::ConstructGeneral(), RE06PhysicsList::ConstructGeneral(), Par01PhysicsList::ConstructGeneral(), ExGflashPhysicsList::ConstructGeneral(), ExP02PhysicsList::ConstructGeneral(), B03PhysicsList::ConstructGeneral(), ExN02PhysicsList::ConstructGeneral(), ExP01PhysicsList::ConstructGeneral(), UltraPhysicsList::ConstructGeneral(), F01PhysicsList::ConstructGeneral(), F02PhysicsList::ConstructGeneral(), F03PhysicsList::ConstructGeneral(), DMXPhysicsList::ConstructGeneral(), XrayTelPhysicsList::ConstructGeneral(), G4AdjointPhysicsList::ConstructGeneral(), DicomPhysicsList::ConstructHad(), B03PhysicsList::ConstructHad(), DMXPhysicsList::ConstructHad(), OpNovicePhysicsList::ConstructOp(), UltraPhysicsList::ConstructOp(), DMXPhysicsList::ConstructOp(), XPhysicsList::ConstructProcess(), F04ExtraPhysics::ConstructProcess(), F04OpticalPhysics::ConstructProcess(), F05ExtraPhysics::ConstructProcess(), F06ExtraPhysics::ConstructProcess(), WLSExtraPhysics::ConstructProcess(), GammaPhysics::ConstructProcess(), F05PhysicsList::ConstructProcess(), NeutronHPphysics::ConstructProcess(), PhysicsListEMstd::ConstructProcess(), RE01UnknownDecayPhysics::ConstructProcess(), G4NeutronCrossSectionXS::ConstructProcess(), PhysListEmStandard::ConstructProcess(), PhysListEmLivermore::ConstructProcess(), StepLimiterBuilder::ConstructProcess(), PhysListEmStandardGS::ConstructProcess(), PhysListEmStandardSSM::ConstructProcess(), PhysListEmStandardSS::ConstructProcess(), G4ParallelWorldPhysics::ConstructProcess(), PhysListEmPenelope::ConstructProcess(), MuNuclearBuilder::ConstructProcess(), LXeGeneralPhysics::ConstructProcess(), PhysListEmStandardWVI::ConstructProcess(), PhysListEmPolarized::ConstructProcess(), PhysListEmStandard_WVI::ConstructProcess(), PhysListEmStandard_GS::ConstructProcess(), PhysListEmStandard_SS::ConstructProcess(), PhysListEmStandard_option0::ConstructProcess(), P6DExtDecayerPhysics::ConstructProcess(), PhysListEmStandard_option3::ConstructProcess(), G4StepLimiterPhysics::ConstructProcess(), G4MonopolePhysics::ConstructProcess(), WLSOpticalPhysics::ConstructProcess(), G4NeutronTrackingCut::ConstructProcess(), G4HadronDElasticPhysics::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), LXeMuonPhysics::ConstructProcess(), G4IonElasticPhysics::ConstructProcess(), G4ChargeExchangePhysics::ConstructProcess(), G4ErrorPhysicsList::ConstructProcess(), exrdmPhysListHadron::ConstructProcess(), G4EmUserPhysics::ConstructProcess(), GammaRayTelEMlowePhysics::ConstructProcess(), GammaRayTelEMstdPhysics::ConstructProcess(), LXeEMPhysics::ConstructProcess(), GammaRayTelGeneralPhysics::ConstructProcess(), F04PhysicsList::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), CexmcStudiedPhysics< Process >::ConstructProcess(), GammaRayTelMuonPhysics::ConstructProcess(), WLSPhysicsList::ConstructProcess(), G4GenericBiasingPhysics::ConstructProcess(), G4OpticalPhysics::ConstructProcess(), G4HadronPhysicsFTFP_BERT_HP::ConstructProcess(), G4HadronPhysicsFTF_BIC::ConstructProcess(), G4HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), G4HadronPhysicsShielding::ConstructProcess(), G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), G4HadronPhysicsQGSP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGSP_BIC_HP::ConstructProcess(), G4HadronPhysicsQGS_BIC::ConstructProcess(), G4StoppingPhysics::ConstructProcess(), GammaRayTelIonPhysics::ConstructProcess(), G4HadronPhysicsINCLXX::ConstructProcess(), GammaRayTelHadronPhysics::ConstructProcess(), G4WorkerRunManager::ConstructScoringWorlds(), G4RunManager::ConstructScoringWorlds(), G4TheRayTracer::CreateBitMap(), G4IonTable::CreateIon(), G4ITStepProcessor::DealWithSecondaries(), export_G4ParticleDefinition(), G4HadronicProcess::FillResult(), G4VHadronPhysics::FindCaptureProcess(), G4VHadronPhysics::FindElasticProcess(), G4VHadronPhysics::FindFissionProcess(), G4PhysListUtil::FindInelasticProcess(), G4VHadronPhysics::FindInelasticProcess(), G4ErrorTrackLengthTarget::G4ErrorTrackLengthTarget(), G4ITStepProcessor::GetProcessInfo(), G4SteppingManager::GetProcessNumber(), G4ErrorPropagator::InitG4Track(), G4VUserPhysicsList::InitializeProcessManager(), G4HadronElasticProcess::PostStepDoIt(), G4VEmProcess::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4VEnergyLossProcess::PostStepDoIt(), G4VMultipleScattering::PreparePhysicsTable(), G4VEnergyLossProcess::PreparePhysicsTable(), G4VUserPhysicsList::PreparePhysicsTable(), G4TrackingManager::ProcessOneTrack(), G4ErrorPropagator::Propagate(), G4StackManager::PushOneTrack(), G4PhysicsListHelper::RegisterProcess(), G4VUserPhysicsList::RemoveProcessManager(), G4VUserPhysicsList::RetrievePhysicsTable(), G4UserPhysicsListMessenger::SetNewValue(), G4WorkerRunManagerKernel::SetupShadowProcess(), G4RunManagerKernel::SetupShadowProcess(), G4GlobalFastSimulationManager::ShowSetup(), G4ITTrackingManager::StartTracking(), G4VUserPhysicsList::StorePhysicsTable(), LXeSteppingAction::UserSteppingAction(), and WLSSteppingAction::UserSteppingAction().

G4int G4ParticleDefinition::GetQuarkContent ( G4int  flavor) const
const G4PDefManager & G4ParticleDefinition::GetSubInstanceManager ( )
static

Definition at line 82 of file G4ParticleDefinition.cc.

Referenced by G4WorkerThread::BuildGeometryAndPhysicsVector().

83 {
84  return subInstanceManager;
85 }
G4int G4ParticleDefinition::GetVerboseLevel ( ) const
G4bool G4ParticleDefinition::IsGeneralIon ( ) const
G4bool G4ParticleDefinition::IsShortLived ( ) const
inline

Definition at line 196 of file G4ParticleDefinition.hh.

Referenced by XrayFluoPhysicsList::AddDecay(), B03PhysicsList::AddScoringProcess(), XrayFluoPhysicsList::AddStepMax(), F04PhysicsList::AddStepMax(), WLSPhysicsList::AddStepMax(), G4VUserPhysicsList::BuildPhysicsTable(), G4QMDCollision::CalKinematicsOfBinaryCollisions(), OpNovicePhysicsList::ConstructEM(), eRositaPhysicsList::ConstructEM(), RE06PhysicsList::ConstructEM(), Par01PhysicsList::ConstructEM(), ExP02PhysicsList::ConstructEM(), B03PhysicsList::ConstructEM(), ExGflashPhysicsList::ConstructEM(), G4ErrorPhysicsList::ConstructEM(), ExN02PhysicsList::ConstructEM(), ExP01PhysicsList::ConstructEM(), DMXPhysicsList::ConstructEM(), XrayTelPhysicsList::ConstructEM(), DMXPhysicsList::ConstructGeneral(), PhysListEmStandard::ConstructProcess(), PhysListEmStandardSSM::ConstructProcess(), PhysListEmLivermore::ConstructProcess(), PhysListEmPenelope::ConstructProcess(), PhysListEmStandardGS::ConstructProcess(), PhysListEmStandardNR::ConstructProcess(), PhysListEmStandardSS::ConstructProcess(), StepLimiterBuilder::ConstructProcess(), PhysListEmStandardWVI::ConstructProcess(), G4StepLimiterPhysics::ConstructProcess(), G4ErrorPhysicsList::ConstructProcess(), exrdmPhysListHadron::ConstructProcess(), GammaRayTelGeneralPhysics::ConstructProcess(), G4StoppingPhysics::ConstructProcess(), G4XResonance::CrossSection(), G4DecayKineticTracks::Decay(), G4KineticTrack::Decay(), G4VXResonance::DetailedBalance(), export_G4ParticleDefinition(), G4ErrorTrackLengthTarget::G4ErrorTrackLengthTarget(), G4KineticTrack::G4KineticTrack(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4BCDecay::GetCollisions(), G4PrimaryTransformer::GetDefinition(), G4SampleResonance::GetMinimumMass(), StepMax::IsApplicable(), StepLimiter::IsApplicable(), G4CoulombScattering::IsApplicable(), G4MuElecInelastic::IsApplicable(), G4MicroElecInelastic::IsApplicable(), G4alphaIonisation::IsApplicable(), G4MuMultipleScattering::IsApplicable(), G4eMultipleScattering::IsApplicable(), G4hhIonisation::IsApplicable(), G4hMultipleScattering::IsApplicable(), G4NuclearStopping::IsApplicable(), G4AdjointhMultipleScattering::IsApplicable(), G4ionIonisation::IsApplicable(), G4hIonisation::IsApplicable(), G4Cerenkov::IsApplicable(), G4Scintillation::IsApplicable(), G4PrimaryTransformer::IsGoodForTrack(), G4VXResonance::IsospinCorrection(), G4VUserPhysicsList::PreparePhysicsTable(), and G4ParticleGun::SetParticleDefinition().

196 { return fShortLivedFlag; }
G4int G4ParticleDefinition::operator!= ( const G4ParticleDefinition right) const

Definition at line 249 of file G4ParticleDefinition.cc.

250 {
251  return (this->theParticleName != right.theParticleName);
252 }
G4int G4ParticleDefinition::operator== ( const G4ParticleDefinition right) const

Definition at line 244 of file G4ParticleDefinition.cc.

245 {
246  return (this->theParticleName == right.theParticleName);
247 }
void G4ParticleDefinition::SetAntiPDGEncoding ( G4int  aEncoding)
void G4ParticleDefinition::SetApplyCutsFlag ( G4bool  flg)

Definition at line 393 of file G4ParticleDefinition.cc.

References G4cout, and G4endl.

Referenced by export_G4ParticleDefinition(), and G4VUserPhysicsList::SetApplyCuts().

394 {
395  if(theParticleName=="gamma"
396  || theParticleName=="e-"
397  || theParticleName=="e+"
398  || theParticleName=="proton")
399  { fApplyCutsFlag = flg; }
400  else
401  {
402  G4cout
403  << "G4ParticleDefinition::SetApplyCutsFlag() for " << theParticleName
404  << G4endl;
405  G4cout
406  << "becomes obsolete. Production threshold is applied only for "
407  << "gamma, e- ,e+ and proton." << G4endl;
408  }
409 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
void G4ParticleDefinition::SetAtomicMass ( G4int  )
protected
void G4ParticleDefinition::SetAtomicNumber ( G4int  )
protected
void G4ParticleDefinition::SetDecayTable ( G4DecayTable aDecayTable)

Referenced by G4ExcitedBaryonConstructor::ConstructAntiParticle(), G4ShortLivedConstructor::ConstructBaryons(), G4ShortLivedConstructor::ConstructMesons(), G4ExcitedMesonConstructor::ConstructMesons(), G4ExcitedBaryonConstructor::ConstructParticle(), G4EtaPrime::Definition(), G4TauMinus::Definition(), G4SigmaZero::Definition(), G4SigmaPlus::Definition(), G4SigmaMinus::Definition(), G4SigmacZero::Definition(), G4SigmacPlusPlus::Definition(), G4TauPlus::Definition(), G4AntiKaonZero::Definition(), G4PionMinus::Definition(), G4PionPlus::Definition(), G4AntiXiZero::Definition(), G4PionZero::Definition(), G4Eta::Definition(), G4AntiNeutron::Definition(), G4AntiSigmacPlus::Definition(), G4OmegaMinus::Definition(), G4XiZero::Definition(), G4MuonPlus::Definition(), G4AntiSigmacPlusPlus::Definition(), G4Lambda::Definition(), G4KaonZeroShort::Definition(), G4KaonZeroLong::Definition(), G4XiMinus::Definition(), G4KaonPlus::Definition(), G4KaonMinus::Definition(), G4SigmacPlus::Definition(), G4AntiOmegaMinus::Definition(), G4AntiSigmacZero::Definition(), G4AntiLambda::Definition(), G4AntiSigmaMinus::Definition(), G4KaonZero::Definition(), G4AntiXiMinus::Definition(), G4MuonMinus::Definition(), G4AntiSigmaPlus::Definition(), G4AntiSigmaZero::Definition(), G4Neutron::Definition(), G4SigmabPlus::Definition(), G4SigmabZero::Definition(), G4AntiSigmabMinus::Definition(), G4SigmabMinus::Definition(), G4AntiSigmabPlus::Definition(), G4AntiSigmabZero::Definition(), export_G4ParticleDefinition(), F04PhysicsListMessenger::SetNewValue(), and WLSPhysicsListMessenger::SetNewValue().

void G4ParticleDefinition::SetMasterProcessManager ( G4ProcessManager aNewPM)
inline
void G4ParticleDefinition::SetParticleDefinitionID ( G4int  id = -1)

Definition at line 426 of file G4ParticleDefinition.cc.

References G4PDefSplitter< T >::CreateSubInstance(), FatalException, G4Exception(), G4MT_pmanager, and isGeneralIon.

Referenced by G4IonTable::AddProcessManager(), G4RunManagerKernel::InitializePhysics(), G4StackManager::PushOneTrack(), SetProcessManager(), and G4RunManagerKernel::SetupPhysics().

427 {
428  if(id<0)
429  {
430  g4particleDefinitionInstanceID = subInstanceManager.CreateSubInstance();
431  G4MT_pmanager = 0;
432  }
433  else
434  {
435  if(isGeneralIon)
436  { g4particleDefinitionInstanceID = id; }
437  else
438  {
440  ed << "ParticleDefinitionID should not be set for the particles <"
441  << theParticleName << ">.";
442  G4Exception( "G4ParticleDefintion::SetParticleDefinitionID","PART10114",
443  FatalException,ed);
444  }
445  }
446 }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4int CreateSubInstance()
#define G4MT_pmanager
void G4ParticleDefinition::SetParticleSubType ( const G4String subtype)
protected
void G4ParticleDefinition::SetPDGLifeTime ( G4double  aLifeTime)
inline

Definition at line 202 of file G4ParticleDefinition.hh.

Referenced by export_G4ParticleDefinition(), and G4ParticlePropertyMessenger::SetNewValue().

202 { thePDGLifeTime=aLifeTime; }
void G4ParticleDefinition::SetPDGMagneticMoment ( G4double  mageticMoment)
void G4ParticleDefinition::SetPDGStable ( const G4bool  aFlag)
inline

Definition at line 199 of file G4ParticleDefinition.hh.

Referenced by export_G4ParticleDefinition(), and G4ParticlePropertyMessenger::SetNewValue().

199 { thePDGStable=aFlag; }
void G4ParticleDefinition::SetProcessManager ( G4ProcessManager aProcessManager)

Definition at line 450 of file G4ParticleDefinition.cc.

References G4Exception(), G4Threading::G4GetThreadId(), G4MT_pmanager, isGeneralIon, JustWarning, and SetParticleDefinitionID().

Referenced by G4AdjointPhysicsList::ConstructEM(), export_G4ParticleDefinition(), G4VUserPhysicsList::InitializeProcessManager(), and G4VUserPhysicsList::RemoveProcessManager().

451 {
452  if(g4particleDefinitionInstanceID<0 && !isGeneralIon)
453  {
454  if(G4Threading::G4GetThreadId() >= 0)
455  {
457  ed << "ProcessManager is being set to " << theParticleName
458  << " without proper initialization of TLS pointer vector.\n"
459  << "This operation is thread-unsafe.";
460  G4Exception( "G4ParticleDefintion::SetProcessManager","PART10116",
461  JustWarning,ed);
462  }
464  }
465  G4MT_pmanager = aProcessManager;
466 }
void SetParticleDefinitionID(G4int id=-1)
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4int G4GetThreadId()
Definition: G4Threading.cc:103
#define G4MT_pmanager
void G4ParticleDefinition::SetVerboseLevel ( G4int  value)

Friends And Related Function Documentation

friend class G4ParticlePropertyTable
friend

Definition at line 119 of file G4ParticleDefinition.hh.

Field Documentation

G4bool G4ParticleDefinition::isGeneralIon
protected
G4int G4ParticleDefinition::theAntiQuarkContent[NumberOfQuarkFlavor]
protected
G4int G4ParticleDefinition::theQuarkContent[NumberOfQuarkFlavor]
protected

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