Geant4 VMC Version 6.6
|
The class for user particle definition. More...
#include <TG4UserParticle.h>
Public Member Functions | |
TG4UserParticle (const G4String &name, TMCParticleType mcType, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospin3, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable, G4bool shortlived, const G4String &subType="", G4int anti_encoding=0, G4double magneticMoment=0.0, G4double excitation=0.0) | |
virtual | ~TG4UserParticle () |
TMCParticleType | GetMCType () const |
Return the particle MC type. | |
G4double | GetExcitationEnergy () const |
Return the particle excitation energy. | |
Private Member Functions | |
TG4UserParticle () | |
Not implemented. | |
Private Attributes | |
TMCParticleType | fMCType |
particle MC type | |
G4double | fExcitationEnergy |
excitation energy | |
The class for user particle definition.
Definition at line 30 of file TG4UserParticle.h.
TG4UserParticle::TG4UserParticle | ( | const G4String & | name, |
TMCParticleType | mcType, | ||
G4double | mass, | ||
G4double | width, | ||
G4double | charge, | ||
G4int | iSpin, | ||
G4int | iParity, | ||
G4int | iConjugation, | ||
G4int | iIsospin, | ||
G4int | iIsospin3, | ||
G4int | gParity, | ||
const G4String & | pType, | ||
G4int | lepton, | ||
G4int | baryon, | ||
G4int | encoding, | ||
G4bool | stable, | ||
G4double | lifetime, | ||
G4DecayTable * | decaytable, | ||
G4bool | shortlived, | ||
const G4String & | subType = "", | ||
G4int | anti_encoding = 0, | ||
G4double | magneticMoment = 0.0, | ||
G4double | excitation = 0.0 ) |
Standard constructor
Definition at line 18 of file TG4UserParticle.cxx.
|
virtual |
Destructor
Definition at line 35 of file TG4UserParticle.cxx.
|
private |
Not implemented.
|
inline |
Return the particle MC type.
Definition at line 57 of file TG4UserParticle.h.
Referenced by TG4UserParticlesPhysics::ConstructProcess().
|
inline |
Return the particle excitation energy.
Definition at line 60 of file TG4UserParticle.h.
|
private |
|
private |
excitation energy
Definition at line 51 of file TG4UserParticle.h.
Referenced by GetExcitationEnergy().