#include <G4ParticleDefinition.hh>
Inherited by 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, and G4XiZero.
|
| 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 G4String & | GetParticleName () 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 G4String & | GetParticleType () const |
|
const G4String & | GetParticleSubType () 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 |
|
G4DecayTable * | GetDecayTable () const |
|
void | SetDecayTable (G4DecayTable *aDecayTable) |
|
G4ProcessManager * | GetProcessManager () const |
|
void | SetProcessManager (G4ProcessManager *aProcessManager) |
|
G4ParticleTable * | GetParticleTable () 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 |
|
G4ProcessManager * | GetMasterProcessManager () const |
|
void | SetMasterProcessManager (G4ProcessManager *aNewPM) |
|
G4int | GetInstanceID () const |
|
void | SetParticleDefinitionID (G4int id=-1) |
|
G4int | GetParticleDefinitionID () const |
|
Definition at line 72 of file G4ParticleDefinition.hh.
◆ anonymous enum
◆ G4ParticleDefinition() [1/3]
G4ParticleDefinition::G4ParticleDefinition |
( |
const G4String & |
aName, |
|
|
G4double |
mass, |
|
|
G4double |
width, |
|
|
G4double |
charge, |
|
|
G4int |
iSpin, |
|
|
G4int |
iParity, |
|
|
G4int |
iConjugation, |
|
|
G4int |
iIsospin, |
|
|
G4int |
iIsospinZ, |
|
|
G4int |
gParity, |
|
|
const G4String & |
pType, |
|
|
G4int |
lepton, |
|
|
G4int |
baryon, |
|
|
G4int |
encoding, |
|
|
G4bool |
stable, |
|
|
G4double |
lifetime, |
|
|
G4DecayTable * |
decaytable, |
|
|
G4bool |
shortlived = false , |
|
|
const G4String & |
subType = "" , |
|
|
G4int |
anti_encoding = 0 , |
|
|
G4double |
magneticMoment = 0.0 |
|
) |
| |
Definition at line 80 of file G4ParticleDefinition.cc.
150 G4cout <<
"Particle " << aName <<
" has a strange PDGEncoding " <<
G4endl;
153 G4Exception(
"G4ParticleDefintion::G4ParticleDefintion",
155 "Strange PDGEncoding ");
164 G4cout <<
"G4ParticleDefintion (other than ions and shortlived) should be created in Pre_Init state " 168 G4Exception(
"G4ParticleDefintion::G4ParticleDefintion",
170 "G4ParticleDefinition should be created in PreInit state");
G4ParticleTable * theParticleTable
void SetAtomicNumber(G4int)
G4int GetBaryonNumber() const
static G4bool IsIon(const G4ParticleDefinition *)
static G4bool IsAntiIon(const G4ParticleDefinition *)
G4ProcessManager * theProcessManagerShadow
G4int GetVerboseLevel() const
G4int GetVerboseLevel() const
static G4StateManager * GetStateManager()
G4ParticleDefinition * Insert(G4ParticleDefinition *particle)
G4GLOB_DLL std::ostream G4cout
G4IonTable * GetIonTable() const
G4int FillQuarkContents()
G4DecayTable * theDecayTable
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double thePDGMagneticMoment
static G4ParticleTable * GetParticleTable()
G4String theParticleSubType
G4int g4particleDefinitionInstanceID
G4ApplicationState GetCurrentState() const
static const double eplus
G4double GetPDGCharge() const
void SetAtomicMass(G4int)
◆ ~G4ParticleDefinition()
G4ParticleDefinition::~G4ParticleDefinition |
( |
| ) |
|
|
virtual |
Definition at line 204 of file G4ParticleDefinition.cc.
210 G4String msg =
"Request of deletion for ";
212 msg +=
" has No effects because readyToUse is true.";
213 G4Exception(
"G4ParticleDefinition::~G4ParticleDefinition()",
220 <<
" will be deleted " <<
G4endl;
static G4StateManager * GetStateManager()
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
G4DecayTable * theDecayTable
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4ParticleTable * GetParticleTable()
G4ApplicationState GetCurrentState() const
◆ G4ParticleDefinition() [2/3]
Definition at line 189 of file G4ParticleDefinition.cc.
191 G4Exception(
"G4ParticleDefinition::G4ParticleDefinition()",
193 "Illegal call of copy Constructor for G4ParticleDefinition ");
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ G4ParticleDefinition() [3/3]
G4ParticleDefinition::G4ParticleDefinition |
( |
| ) |
|
|
protected |
Definition at line 196 of file G4ParticleDefinition.cc.
198 G4Exception(
"G4ParticleDefinition::G4ParticleDefinition()",
200 "Illegal call of default Constructor for G4ParticleDefinition ");
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ CalculateAnomaly()
G4double G4ParticleDefinition::CalculateAnomaly |
( |
| ) |
const |
Definition at line 411 of file G4ParticleDefinition.cc.
413 G4Exception(
"G4ParticleDefintion::G4ParticleDefintion",
415 "CalculateAnomaly() method will be removed in next release");
static const double c_squared
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double thePDGMagneticMoment
static const double eplus
static const double hbar_Planck
◆ DumpTable()
void G4ParticleDefinition::DumpTable |
( |
| ) |
const |
Definition at line 320 of file G4ParticleDefinition.cc.
341 G4cout <<
", " << theQuarkContent[1];
342 G4cout <<
", " << theQuarkContent[2];
343 G4cout <<
", " << theQuarkContent[3];
344 G4cout <<
", " << theQuarkContent[4];
347 G4cout <<
", " << theAntiQuarkContent[1];
348 G4cout <<
", " << theAntiQuarkContent[2];
349 G4cout <<
", " << theAntiQuarkContent[3];
350 G4cout <<
", " << theAntiQuarkContent[4];
369 {
G4cout <<
" Stable : No data found -- unknown" <<
G4endl; }
375 <<
"\n Decay table should be consulted to G4RadioactiveDecayProcess." G4ParticleTable * theParticleTable
static G4bool IsIon(const G4ParticleDefinition *)
static G4bool IsAntiIon(const G4ParticleDefinition *)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4double GetIonLifeTime() const
G4GLOB_DLL std::ostream G4cout
G4IonTable * GetIonTable() const
G4DecayTable * theDecayTable
G4bool IsGeneralIon() const
G4int GetAtomicNumber() const
G4double thePDGMagneticMoment
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4String theParticleSubType
G4int GetAntiPDGEncoding() const
G4int theQuarkContent[NumberOfQuarkFlavor]
static const double tesla
static const double eplus
G4int GetAtomicMass() const
◆ FillQuarkContents()
G4int G4ParticleDefinition::FillQuarkContents |
( |
| ) |
|
|
protected |
Definition at line 253 of file G4ParticleDefinition.cc.
279 G4Exception(
"G4ParticleDefintion::G4ParticleDefintion",
281 "Inconsistent charge against PDG code ");
284 G4cout <<
"G4ParticleDefinition::FillQuarkContents : " 293 G4Exception(
"G4ParticleDefintion::G4ParticleDefintion",
295 "Inconsistent spin against PDG code ");
298 G4cout <<
"G4ParticleDefinition::FillQuarkContents : "
G4int CheckPDGCode(G4int code, G4String type)
G4int GetQuarkContent(G4int flavor) const
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4int GetAntiQuarkContent(G4int flavor) const
void SetVerboseLevel(G4int verbose)
G4int theQuarkContent[NumberOfQuarkFlavor]
static const double eplus
G4bool CheckCharge(G4double charge) const
◆ GetAntiPDGEncoding()
G4int G4ParticleDefinition::GetAntiPDGEncoding |
( |
| ) |
const |
|
inline |
◆ GetAntiQuarkContent()
G4int G4ParticleDefinition::GetAntiQuarkContent |
( |
G4int |
flavor | ) |
const |
◆ GetApplyCutsFlag()
G4bool G4ParticleDefinition::GetApplyCutsFlag |
( |
| ) |
const |
◆ GetAtomicMass()
G4int G4ParticleDefinition::GetAtomicMass |
( |
| ) |
const |
◆ GetAtomicNumber()
G4int G4ParticleDefinition::GetAtomicNumber |
( |
| ) |
const |
◆ GetBaryonNumber()
G4int G4ParticleDefinition::GetBaryonNumber |
( |
| ) |
const |
|
inline |
◆ GetDecayTable()
◆ GetInstanceID()
G4int G4ParticleDefinition::GetInstanceID |
( |
| ) |
const |
|
inline |
◆ GetIonLifeTime()
G4double G4ParticleDefinition::GetIonLifeTime |
( |
| ) |
const |
◆ GetLeptonNumber()
G4int G4ParticleDefinition::GetLeptonNumber |
( |
| ) |
const |
|
inline |
◆ GetMasterProcessManager()
◆ GetParticleDefinitionID()
G4int G4ParticleDefinition::GetParticleDefinitionID |
( |
| ) |
const |
◆ GetParticleName()
const G4String& G4ParticleDefinition::GetParticleName |
( |
| ) |
const |
|
inline |
◆ GetParticleSubType()
const G4String& G4ParticleDefinition::GetParticleSubType |
( |
| ) |
const |
|
inline |
◆ GetParticleTable()
◆ GetParticleType()
const G4String& G4ParticleDefinition::GetParticleType |
( |
| ) |
const |
|
inline |
◆ GetPDGCharge()
G4double G4ParticleDefinition::GetPDGCharge |
( |
| ) |
const |
|
inline |
◆ GetPDGEncoding()
G4int G4ParticleDefinition::GetPDGEncoding |
( |
| ) |
const |
|
inline |
◆ GetPDGiConjugation()
G4int G4ParticleDefinition::GetPDGiConjugation |
( |
| ) |
const |
|
inline |
◆ GetPDGiGParity()
G4int G4ParticleDefinition::GetPDGiGParity |
( |
| ) |
const |
|
inline |
◆ GetPDGiIsospin()
G4int G4ParticleDefinition::GetPDGiIsospin |
( |
| ) |
const |
|
inline |
◆ GetPDGiIsospin3()
G4int G4ParticleDefinition::GetPDGiIsospin3 |
( |
| ) |
const |
|
inline |
◆ GetPDGiParity()
G4int G4ParticleDefinition::GetPDGiParity |
( |
| ) |
const |
|
inline |
◆ GetPDGIsospin()
G4double G4ParticleDefinition::GetPDGIsospin |
( |
| ) |
const |
|
inline |
◆ GetPDGIsospin3()
G4double G4ParticleDefinition::GetPDGIsospin3 |
( |
| ) |
const |
|
inline |
◆ GetPDGiSpin()
G4int G4ParticleDefinition::GetPDGiSpin |
( |
| ) |
const |
|
inline |
◆ GetPDGLifeTime()
G4double G4ParticleDefinition::GetPDGLifeTime |
( |
| ) |
const |
◆ GetPDGMagneticMoment()
G4double G4ParticleDefinition::GetPDGMagneticMoment |
( |
| ) |
const |
|
inline |
◆ GetPDGMass()
G4double G4ParticleDefinition::GetPDGMass |
( |
| ) |
const |
|
inline |
◆ GetPDGSpin()
G4double G4ParticleDefinition::GetPDGSpin |
( |
| ) |
const |
|
inline |
◆ GetPDGStable()
G4bool G4ParticleDefinition::GetPDGStable |
( |
| ) |
const |
◆ GetPDGWidth()
G4double G4ParticleDefinition::GetPDGWidth |
( |
| ) |
const |
|
inline |
◆ GetProcessManager()
◆ GetQuarkContent()
G4int G4ParticleDefinition::GetQuarkContent |
( |
G4int |
flavor | ) |
const |
◆ GetSubInstanceManager()
const G4PDefManager & G4ParticleDefinition::GetSubInstanceManager |
( |
| ) |
|
|
static |
◆ GetVerboseLevel()
G4int G4ParticleDefinition::GetVerboseLevel |
( |
| ) |
const |
◆ IsGeneralIon()
G4bool G4ParticleDefinition::IsGeneralIon |
( |
| ) |
const |
◆ IsShortLived()
G4bool G4ParticleDefinition::IsShortLived |
( |
| ) |
const |
|
inline |
◆ operator!=()
◆ operator=()
◆ operator==()
◆ SetAntiPDGEncoding()
void G4ParticleDefinition::SetAntiPDGEncoding |
( |
G4int |
aEncoding | ) |
|
◆ SetApplyCutsFlag()
void G4ParticleDefinition::SetApplyCutsFlag |
( |
G4bool |
flg | ) |
|
Definition at line 393 of file G4ParticleDefinition.cc.
406 <<
"becomes obsolete. Production threshold is applied only for " 407 <<
"gamma, e- ,e+ and proton." <<
G4endl;
G4GLOB_DLL std::ostream G4cout
◆ SetAtomicMass()
void G4ParticleDefinition::SetAtomicMass |
( |
G4int |
| ) |
|
|
protected |
◆ SetAtomicNumber()
void G4ParticleDefinition::SetAtomicNumber |
( |
G4int |
| ) |
|
|
protected |
◆ SetDecayTable()
void G4ParticleDefinition::SetDecayTable |
( |
G4DecayTable * |
aDecayTable | ) |
|
◆ SetMasterProcessManager()
◆ SetParticleDefinitionID()
void G4ParticleDefinition::SetParticleDefinitionID |
( |
G4int |
id = -1 | ) |
|
Definition at line 426 of file G4ParticleDefinition.cc.
440 ed <<
"ParticleDefinitionID should not be set for the particles <" 442 G4Exception(
"G4ParticleDefintion::SetParticleDefinitionID",
"PART10114",
std::ostringstream G4ExceptionDescription
static G4PART_DLL G4PDefManager subInstanceManager
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4int g4particleDefinitionInstanceID
G4int CreateSubInstance()
◆ SetParticleSubType()
void G4ParticleDefinition::SetParticleSubType |
( |
const G4String & |
subtype | ) |
|
|
protected |
◆ SetPDGLifeTime()
void G4ParticleDefinition::SetPDGLifeTime |
( |
G4double |
aLifeTime | ) |
|
|
inline |
◆ SetPDGMagneticMoment()
void G4ParticleDefinition::SetPDGMagneticMoment |
( |
G4double |
mageticMoment | ) |
|
◆ SetPDGStable()
void G4ParticleDefinition::SetPDGStable |
( |
const G4bool |
aFlag | ) |
|
|
inline |
◆ SetProcessManager()
void G4ParticleDefinition::SetProcessManager |
( |
G4ProcessManager * |
aProcessManager | ) |
|
Definition at line 450 of file G4ParticleDefinition.cc.
458 <<
" without proper initialization of TLS pointer vector.\n" 459 <<
"This operation is thread-unsafe.";
460 G4Exception(
"G4ParticleDefintion::SetProcessManager",
"PART10116",
void SetParticleDefinitionID(G4int id=-1)
std::ostringstream G4ExceptionDescription
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4int g4particleDefinitionInstanceID
◆ SetVerboseLevel()
void G4ParticleDefinition::SetVerboseLevel |
( |
G4int |
value | ) |
|
◆ G4ParticlePropertyTable
◆ fApplyCutsFlag
G4bool G4ParticleDefinition::fApplyCutsFlag |
|
private |
◆ fShortLivedFlag
G4bool G4ParticleDefinition::fShortLivedFlag |
|
private |
◆ g4particleDefinitionInstanceID
G4int G4ParticleDefinition::g4particleDefinitionInstanceID |
|
private |
◆ isGeneralIon
G4bool G4ParticleDefinition::isGeneralIon |
|
protected |
◆ subInstanceManager
◆ theAntiPDGEncoding
G4int G4ParticleDefinition::theAntiPDGEncoding |
|
private |
◆ theAntiQuarkContent
◆ theAtomicMass
G4int G4ParticleDefinition::theAtomicMass |
|
private |
◆ theAtomicNumber
G4int G4ParticleDefinition::theAtomicNumber |
|
private |
◆ theBaryonNumber
G4int G4ParticleDefinition::theBaryonNumber |
|
private |
◆ theDecayTable
◆ theLeptonNumber
G4int G4ParticleDefinition::theLeptonNumber |
|
private |
◆ theParticleName
G4String G4ParticleDefinition::theParticleName |
|
private |
◆ theParticleSubType
G4String G4ParticleDefinition::theParticleSubType |
|
private |
◆ theParticleTable
◆ theParticleType
G4String G4ParticleDefinition::theParticleType |
|
private |
◆ thePDGCharge
G4double G4ParticleDefinition::thePDGCharge |
|
private |
◆ thePDGEncoding
G4int G4ParticleDefinition::thePDGEncoding |
|
private |
◆ thePDGiConjugation
G4int G4ParticleDefinition::thePDGiConjugation |
|
private |
◆ thePDGiGParity
G4int G4ParticleDefinition::thePDGiGParity |
|
private |
◆ thePDGiIsospin
G4int G4ParticleDefinition::thePDGiIsospin |
|
private |
◆ thePDGiIsospin3
G4int G4ParticleDefinition::thePDGiIsospin3 |
|
private |
◆ thePDGiParity
G4int G4ParticleDefinition::thePDGiParity |
|
private |
◆ thePDGIsospin
G4double G4ParticleDefinition::thePDGIsospin |
|
private |
◆ thePDGIsospin3
G4double G4ParticleDefinition::thePDGIsospin3 |
|
private |
◆ thePDGiSpin
G4int G4ParticleDefinition::thePDGiSpin |
|
private |
◆ thePDGLifeTime
G4double G4ParticleDefinition::thePDGLifeTime |
|
private |
◆ thePDGMagneticMoment
G4double G4ParticleDefinition::thePDGMagneticMoment |
|
private |
◆ thePDGMass
G4double G4ParticleDefinition::thePDGMass |
|
private |
◆ thePDGSpin
G4double G4ParticleDefinition::thePDGSpin |
|
private |
◆ thePDGStable
G4bool G4ParticleDefinition::thePDGStable |
|
private |
◆ thePDGWidth
G4double G4ParticleDefinition::thePDGWidth |
|
private |
◆ theProcessManagerShadow
◆ theQuarkContent
◆ verboseLevel
G4int G4ParticleDefinition::verboseLevel |
|
private |
The documentation for this class was generated from the following files: