80 theMomentumDirection(0.0,0.0,1.0),
81 theParticleDefinition(0),
82 theKineticEnergy(0.0),
84 theDynamicalMass(0.0),
85 theDynamicalCharge(0.0),
86 theDynamicalSpin(0.0),
87 theDynamicalMagneticMoment(0.0),
88 theElectronOccupancy(0),
89 thePreAssignedDecayProducts(0),
90 thePreAssignedDecayTime(-1.0),
203 G4double mass2 = totalEnergy*totalEnergy - pModule2;
261 if (
this != &right) {
302 G4cout <<
" G4DynamicParticle::SetDefinition()::" 303 <<
"!!! Pre-assigned decay products is attached !!!! " <<
G4endl;
306 G4cout <<
"!!! Pre-assigned decay products will be deleted !!!! " <<
G4endl;
382 G4double mass2 = totalenergy*totalenergy - pModule2;
404 G4cout <<
" G4DynamicParticle::DumpInfo():: !!!Particle type not defined !!!! " <<
G4endl;
441 if (electronMass<=0.0) {
444 G4Exception(
"G4DynamicParticle::GetElectronMass()",
"PART021",
445 FatalException,
"G4DynamicParticle: G4Electron is not defined !!");
G4double GetMagneticMoment() const
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
void SetMomentum(const G4ThreeVector &momentum)
G4double theDynamicalMagneticMoment
void DumpInfo(G4int mode=0) const
G4double theDynamicalSpin
static G4bool IsIon(const G4ParticleDefinition *)
G4double theKineticEnergy
G4double GetTotalMomentum() const
G4int operator!=(const G4DynamicParticle &right) const
void SetMomentumDirection(const G4ThreeVector &aDirection)
G4int operator==(const G4DynamicParticle &right) const
G4ThreeVector theMomentumDirection
G4double GetElectronMass() const
G4double GetTotalEnergy() const
G4double GetKineticEnergy() const
G4ThreeVector GetMomentum() const
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
static const G4double EnergyMomentumRelationAllowance
G4double theDynamicalMass
G4double GetPDGMagneticMoment() const
G4PrimaryParticle * primaryParticle
G4double GetPDGSpin() const
void AllocateElectronOccupancy()
G4double GetProperTime() const
void SetKineticEnergy(G4double aEnergy)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void Set4Momentum(const G4LorentzVector &momentum)
G4DecayProducts * thePreAssignedDecayProducts
G4double GetCharge() const
G4ElectronOccupancy * theElectronOccupancy
static G4ParticleTable * GetParticleTable()
const G4ThreeVector & GetMomentumDirection() const
G4double GetPDGMass() const
G4double thePreAssignedDecayTime
G4ParticleDefinition * GetDefinition() const
G4ThreeVector thePolarization
G4ThreadLocal G4Allocator< G4DynamicParticle > * pDynamicParticleAllocator
static const double tesla
G4double theDynamicalCharge
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
const G4ParticleDefinition * theParticleDefinition
static const double eplus
G4double GetPDGCharge() const
G4DynamicParticle & operator=(const G4DynamicParticle &right)