Geant4_10
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
G4ParticleDefinition Class Reference

#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.

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)
 
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 293 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 86 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

G4ParticleDefinition::~G4ParticleDefinition ( )
virtual

Definition at line 210 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

G4ParticleDefinition::G4ParticleDefinition ( const G4ParticleDefinition right)
protected

Definition at line 195 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

G4ParticleDefinition::G4ParticleDefinition ( )
protected

Definition at line 202 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

Member Function Documentation

G4double G4ParticleDefinition::CalculateAnomaly ( ) const

Definition at line 387 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

void G4ParticleDefinition::DumpTable ( ) const

Definition at line 311 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4ParticleDefinition::FillQuarkContents ( )
protected

Definition at line 255 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetAntiPDGEncoding ( ) const
inline

Definition at line 186 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetAntiQuarkContent ( G4int  flavor) const

Here is the caller graph for this function:

G4bool G4ParticleDefinition::GetApplyCutsFlag ( ) const

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetAtomicMass ( ) const

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetAtomicNumber ( ) const

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetBaryonNumber ( ) const
inline

Definition at line 183 of file G4ParticleDefinition.hh.

G4DecayTable* G4ParticleDefinition::GetDecayTable ( ) const

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetInstanceID ( ) const
inline

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetLeptonNumber ( ) const
inline

Definition at line 182 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4ProcessManager* G4ParticleDefinition::GetMasterProcessManager ( ) const
inline

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetParticleDefinitionID ( ) const

Here is the caller graph for this function:

const G4String& G4ParticleDefinition::GetParticleName ( ) const
inline

Definition at line 159 of file G4ParticleDefinition.hh.

const G4String& G4ParticleDefinition::GetParticleSubType ( ) const
inline

Definition at line 181 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4ParticleTable* G4ParticleDefinition::GetParticleTable ( ) const

Here is the caller graph for this function:

const G4String& G4ParticleDefinition::GetParticleType ( ) const
inline

Definition at line 180 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGCharge ( ) const
inline

Definition at line 163 of file G4ParticleDefinition.hh.

G4int G4ParticleDefinition::GetPDGEncoding ( ) const
inline

Definition at line 185 of file G4ParticleDefinition.hh.

G4int G4ParticleDefinition::GetPDGiConjugation ( ) const
inline

Definition at line 168 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetPDGiGParity ( ) const
inline

Definition at line 173 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetPDGiIsospin ( ) const
inline

Definition at line 171 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetPDGiIsospin3 ( ) const
inline

Definition at line 172 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetPDGiParity ( ) const
inline

Definition at line 167 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGIsospin ( ) const
inline

Definition at line 169 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGIsospin3 ( ) const
inline

Definition at line 170 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetPDGiSpin ( ) const
inline

Definition at line 166 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGLifeTime ( ) const
inline

Definition at line 201 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGMagneticMoment ( ) const
inline

Definition at line 175 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGMass ( ) const
inline

Definition at line 161 of file G4ParticleDefinition.hh.

G4double G4ParticleDefinition::GetPDGSpin ( ) const
inline

Definition at line 165 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4bool G4ParticleDefinition::GetPDGStable ( ) const
inline

Definition at line 198 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGWidth ( ) const
inline

Definition at line 162 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4ProcessManager* G4ParticleDefinition::GetProcessManager ( ) const
G4int G4ParticleDefinition::GetQuarkContent ( G4int  flavor) const

Here is the caller graph for this function:

const G4PDefManager & G4ParticleDefinition::GetSubInstanceManager ( )
static

Definition at line 81 of file G4ParticleDefinition.cc.

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetVerboseLevel ( ) const

Here is the caller graph for this function:

G4bool G4ParticleDefinition::IsGeneralIon ( ) const

Here is the caller graph for this function:

G4bool G4ParticleDefinition::IsShortLived ( ) const
inline

Definition at line 196 of file G4ParticleDefinition.hh.

G4int G4ParticleDefinition::operator!= ( const G4ParticleDefinition right) const

Definition at line 248 of file G4ParticleDefinition.cc.

G4int G4ParticleDefinition::operator== ( const G4ParticleDefinition right) const

Definition at line 243 of file G4ParticleDefinition.cc.

void G4ParticleDefinition::SetAntiPDGEncoding ( G4int  aEncoding)

Here is the caller graph for this function:

void G4ParticleDefinition::SetApplyCutsFlag ( G4bool  flg)

Definition at line 369 of file G4ParticleDefinition.cc.

Here is the caller graph for this function:

void G4ParticleDefinition::SetAtomicMass ( G4int  )
protected

Here is the caller graph for this function:

void G4ParticleDefinition::SetAtomicNumber ( G4int  )
protected

Here is the caller graph for this function:

void G4ParticleDefinition::SetDecayTable ( G4DecayTable aDecayTable)
void G4ParticleDefinition::SetMasterProcessManager ( G4ProcessManager aNewPM)
inline

Here is the caller graph for this function:

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

Definition at line 402 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4ParticleDefinition::SetParticleSubType ( const G4String subtype)
protected

Here is the caller graph for this function:

void G4ParticleDefinition::SetPDGLifeTime ( G4double  aLifeTime)
inline

Definition at line 202 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

void G4ParticleDefinition::SetPDGMagneticMoment ( G4double  mageticMoment)

Here is the caller graph for this function:

void G4ParticleDefinition::SetPDGStable ( const G4bool  aFlag)
inline

Definition at line 199 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

void G4ParticleDefinition::SetProcessManager ( G4ProcessManager aProcessManager)

Definition at line 426 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4ParticleDefinition::SetVerboseLevel ( G4int  value)

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class G4ParticlePropertyTable
friend

Definition at line 119 of file G4ParticleDefinition.hh.

Member Data Documentation

G4bool G4ParticleDefinition::isGeneralIon
protected

Definition at line 400 of file G4ParticleDefinition.hh.

G4int G4ParticleDefinition::theAntiQuarkContent[NumberOfQuarkFlavor]
protected

Definition at line 295 of file G4ParticleDefinition.hh.

G4int G4ParticleDefinition::theQuarkContent[NumberOfQuarkFlavor]
protected

Definition at line 294 of file G4ParticleDefinition.hh.


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