Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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, 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, G4PionMinus, G4PionPlus, G4PionZero, G4Positron, G4SigmabMinus, G4SigmabPlus, G4SigmabZero, G4SigmacPlus, G4SigmacPlusPlus, G4SigmacZero, G4SigmaMinus, G4SigmaPlus, G4SigmaZero, G4TauMinus, G4TauPlus, G4UnknownParticle, G4Upsiron, G4VShortLivedParticle, G4XibMinus, G4XibZero, G4XicPlus, G4XicZero, G4XiMinus, G4XiZero, XLPhonon, XTPhononFast, and XTPhononSlow.

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
 
void DumpTable () const
 
G4int GetAtomicNumber () const
 
G4int GetAtomicMass () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4int operator== (const G4ParticleDefinition &right) const
 
G4int operator!= (const G4ParticleDefinition &right) const
 
void SetApplyCutsFlag (G4bool)
 
G4bool GetApplyCutsFlag () const
 

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]
 

Friends

class G4ParticlePropertyTable
 

Detailed Description

Definition at line 67 of file G4ParticleDefinition.hh.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
NumberOfQuarkFlavor 

Definition at line 290 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 62 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

G4ParticleDefinition::~G4ParticleDefinition ( )
virtual

Definition at line 182 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

G4ParticleDefinition::G4ParticleDefinition ( const G4ParticleDefinition right)
protected

Definition at line 167 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

G4ParticleDefinition::G4ParticleDefinition ( )
protected

Definition at line 174 of file G4ParticleDefinition.cc.

Here is the call graph for this function:

Member Function Documentation

G4double G4ParticleDefinition::CalculateAnomaly ( ) const
void G4ParticleDefinition::DumpTable ( ) const

Definition at line 283 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 227 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 142 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 139 of file G4ParticleDefinition.hh.

G4DecayTable* G4ParticleDefinition::GetDecayTable ( ) const

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetLeptonNumber ( ) const
inline

Definition at line 138 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

const G4String& G4ParticleDefinition::GetParticleName ( ) const
inline

Definition at line 115 of file G4ParticleDefinition.hh.

const G4String& G4ParticleDefinition::GetParticleSubType ( ) const
inline

Definition at line 137 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 136 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGCharge ( ) const
inline

Definition at line 119 of file G4ParticleDefinition.hh.

G4int G4ParticleDefinition::GetPDGEncoding ( ) const
inline

Definition at line 141 of file G4ParticleDefinition.hh.

G4int G4ParticleDefinition::GetPDGiConjugation ( ) const
inline

Definition at line 124 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetPDGiGParity ( ) const
inline

Definition at line 129 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetPDGiIsospin ( ) const
inline

Definition at line 127 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetPDGiIsospin3 ( ) const
inline

Definition at line 128 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetPDGiParity ( ) const
inline

Definition at line 123 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGIsospin ( ) const
inline

Definition at line 125 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGIsospin3 ( ) const
inline

Definition at line 126 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4int G4ParticleDefinition::GetPDGiSpin ( ) const
inline

Definition at line 122 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGLifeTime ( ) const
inline

Definition at line 160 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGMagneticMoment ( ) const
inline

Definition at line 131 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGMass ( ) const
inline

Definition at line 117 of file G4ParticleDefinition.hh.

G4double G4ParticleDefinition::GetPDGSpin ( ) const
inline

Definition at line 121 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4bool G4ParticleDefinition::GetPDGStable ( ) const
inline

Definition at line 157 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

G4double G4ParticleDefinition::GetPDGWidth ( ) const
inline

Definition at line 118 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:

G4int G4ParticleDefinition::GetVerboseLevel ( ) const

Here is the caller graph for this function:

G4bool G4ParticleDefinition::IsShortLived ( ) const
inline

Definition at line 155 of file G4ParticleDefinition.hh.

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

Definition at line 220 of file G4ParticleDefinition.cc.

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

Definition at line 215 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 341 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::SetParticleSubType ( const G4String subtype)
protected

Here is the caller graph for this function:

void G4ParticleDefinition::SetPDGLifeTime ( G4double  aLifeTime)
inline

Definition at line 161 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 158 of file G4ParticleDefinition.hh.

Here is the caller graph for this function:

void G4ParticleDefinition::SetProcessManager ( G4ProcessManager aProcessManager)

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 75 of file G4ParticleDefinition.hh.

Member Data Documentation

G4int G4ParticleDefinition::theAntiQuarkContent[NumberOfQuarkFlavor]
protected

Definition at line 292 of file G4ParticleDefinition.hh.

G4int G4ParticleDefinition::theQuarkContent[NumberOfQuarkFlavor]
protected

Definition at line 291 of file G4ParticleDefinition.hh.


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