Geant4  10.02.p03
G4DynamicParticle Class Reference

#include <G4DynamicParticle.hh>

Collaboration diagram for G4DynamicParticle:

Public Member Functions

 G4DynamicParticle ()
 
 G4DynamicParticle (const G4ParticleDefinition *aParticleDefinition, const G4ThreeVector &aMomentumDirection, G4double aKineticEnergy)
 
 G4DynamicParticle (const G4ParticleDefinition *aParticleDefinition, const G4ThreeVector &aParticleMomentum)
 
 G4DynamicParticle (const G4ParticleDefinition *aParticleDefinition, const G4LorentzVector &aParticleMomentum)
 
 G4DynamicParticle (const G4ParticleDefinition *aParticleDefinition, G4double aTotalEnergy, const G4ThreeVector &aParticleMomentum)
 
 G4DynamicParticle (const G4ParticleDefinition *aParticleDefinition, const G4ThreeVector &aMomentumDirection, G4double aKineticEnergy, const G4double dynamicalMass)
 
 G4DynamicParticle (const G4DynamicParticle &right)
 
 ~G4DynamicParticle ()
 
G4DynamicParticleoperator= (const G4DynamicParticle &right)
 
G4int operator== (const G4DynamicParticle &right) const
 
G4int operator!= (const G4DynamicParticle &right) const
 
void * operator new (size_t)
 
void operator delete (void *aDynamicParticle)
 
const G4ThreeVectorGetMomentumDirection () const
 
void SetMomentumDirection (const G4ThreeVector &aDirection)
 
void SetMomentumDirection (G4double px, G4double py, G4double pz)
 
G4ThreeVector GetMomentum () const
 
void SetMomentum (const G4ThreeVector &momentum)
 
G4LorentzVector Get4Momentum () const
 
void Set4Momentum (const G4LorentzVector &momentum)
 
G4double GetTotalMomentum () const
 
G4double GetTotalEnergy () const
 
G4double GetKineticEnergy () const
 
void SetKineticEnergy (G4double aEnergy)
 
G4double GetProperTime () const
 
void SetProperTime (G4double)
 
const G4ThreeVectorGetPolarization () const
 
void SetPolarization (G4double polX, G4double polY, G4double polZ)
 
G4double GetMass () const
 
void SetMass (G4double mass)
 
G4double GetCharge () const
 
void SetCharge (G4double charge)
 
void SetCharge (G4int chargeInUnitOfEplus)
 
G4double GetSpin () const
 
void SetSpin (G4double spin)
 
void SetSpin (G4int spinInUnitOfHalfInteger)
 
G4double GetMagneticMoment () const
 
void SetMagneticMoment (G4double magneticMoment)
 
const G4ElectronOccupancyGetElectronOccupancy () const
 
G4int GetTotalOccupancy () const
 
G4int GetOccupancy (G4int orbit) const
 
void AddElectron (G4int orbit, G4int number=1)
 
void RemoveElectron (G4int orbit, G4int number=1)
 
const G4ParticleDefinitionGetParticleDefinition () const
 
void SetDefinition (const G4ParticleDefinition *aParticleDefinition)
 
G4ParticleDefinitionGetDefinition () const
 
const G4DecayProductsGetPreAssignedDecayProducts () const
 
void SetPreAssignedDecayProducts (G4DecayProducts *aDecayProducts)
 
G4double GetPreAssignedDecayProperTime () const
 
void SetPreAssignedDecayProperTime (G4double)
 
void DumpInfo (G4int mode=0) const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
void SetPrimaryParticle (G4PrimaryParticle *p)
 
void SetPDGcode (G4int c)
 
G4PrimaryParticleGetPrimaryParticle () const
 
G4int GetPDGcode () const
 

Protected Member Functions

void AllocateElectronOccupancy ()
 
G4double GetElectronMass () const
 

Protected Attributes

G4ThreeVector theMomentumDirection
 
const G4ParticleDefinitiontheParticleDefinition
 
G4ThreeVector thePolarization
 
G4double theKineticEnergy
 
G4double theProperTime
 
G4double theDynamicalMass
 
G4double theDynamicalCharge
 
G4double theDynamicalSpin
 
G4double theDynamicalMagneticMoment
 
G4ElectronOccupancytheElectronOccupancy
 
G4DecayProductsthePreAssignedDecayProducts
 
G4double thePreAssignedDecayTime
 
G4int verboseLevel
 
G4PrimaryParticleprimaryParticle
 
G4int thePDGcode
 

Detailed Description

Definition at line 73 of file G4DynamicParticle.hh.

Constructor & Destructor Documentation

◆ G4DynamicParticle() [1/7]

G4DynamicParticle::G4DynamicParticle ( )

Definition at line 79 of file G4DynamicParticle.cc.

79  :
80  theMomentumDirection(0.0,0.0,1.0),
82  theKineticEnergy(0.0),
83  theProperTime(0.0),
84  theDynamicalMass(0.0),
85  theDynamicalCharge(0.0),
86  theDynamicalSpin(0.0),
91  verboseLevel(1),
92  primaryParticle(0),
93  thePDGcode(0)
94 {
95 }
G4double theDynamicalMagneticMoment
G4ThreeVector theMomentumDirection
G4PrimaryParticle * primaryParticle
G4DecayProducts * thePreAssignedDecayProducts
G4ElectronOccupancy * theElectronOccupancy
G4double thePreAssignedDecayTime
const G4ParticleDefinition * theParticleDefinition

◆ G4DynamicParticle() [2/7]

G4DynamicParticle::G4DynamicParticle ( const G4ParticleDefinition aParticleDefinition,
const G4ThreeVector aMomentumDirection,
G4double  aKineticEnergy 
)

Definition at line 100 of file G4DynamicParticle.cc.

102  :
103  theMomentumDirection(aMomentumDirection),
104  theParticleDefinition(aParticleDefinition),
105  theKineticEnergy(aKineticEnergy),
106  theProperTime(0.0),
107  theDynamicalMass(aParticleDefinition->GetPDGMass()),
108  theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
109  theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
110  theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment()),
114  verboseLevel(1),
115  primaryParticle(0),
116  thePDGcode(0)
117 {
118 }
G4double theDynamicalMagneticMoment
G4ThreeVector theMomentumDirection
G4double GetPDGMagneticMoment() const
G4PrimaryParticle * primaryParticle
G4DecayProducts * thePreAssignedDecayProducts
G4ElectronOccupancy * theElectronOccupancy
G4double thePreAssignedDecayTime
const G4ParticleDefinition * theParticleDefinition
G4double GetPDGCharge() const

◆ G4DynamicParticle() [3/7]

G4DynamicParticle::G4DynamicParticle ( const G4ParticleDefinition aParticleDefinition,
const G4ThreeVector aParticleMomentum 
)

Definition at line 143 of file G4DynamicParticle.cc.

144  :
145  theParticleDefinition(aParticleDefinition),
146  theKineticEnergy(0.0),
147  theProperTime(0.0),
148  theDynamicalMass(aParticleDefinition->GetPDGMass()),
149  theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
150  theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
151  theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment()),
155  verboseLevel(1),
156  primaryParticle(0),
157  thePDGcode(0)
158 {
159  SetMomentum(aParticleMomentum); // 3-dim momentum is given
160 }
void SetMomentum(const G4ThreeVector &momentum)
G4double theDynamicalMagneticMoment
G4double GetPDGMagneticMoment() const
G4PrimaryParticle * primaryParticle
G4DecayProducts * thePreAssignedDecayProducts
G4ElectronOccupancy * theElectronOccupancy
G4double thePreAssignedDecayTime
const G4ParticleDefinition * theParticleDefinition
G4double GetPDGCharge() const
Here is the call graph for this function:

◆ G4DynamicParticle() [4/7]

G4DynamicParticle::G4DynamicParticle ( const G4ParticleDefinition aParticleDefinition,
const G4LorentzVector aParticleMomentum 
)

Definition at line 164 of file G4DynamicParticle.cc.

165  :
166  theParticleDefinition(aParticleDefinition),
167  theKineticEnergy(0.0),
168  theProperTime(0.0),
169  theDynamicalMass(aParticleDefinition->GetPDGMass()),
170  theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
171  theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
172  theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment()),
176  verboseLevel(1),
177  primaryParticle(0),
178  thePDGcode(0)
179 {
180  Set4Momentum(aParticleMomentum); // 4-momentum vector (Lorentz vector) is given
181 }
G4double theDynamicalMagneticMoment
G4double GetPDGMagneticMoment() const
G4PrimaryParticle * primaryParticle
void Set4Momentum(const G4LorentzVector &momentum)
G4DecayProducts * thePreAssignedDecayProducts
G4ElectronOccupancy * theElectronOccupancy
G4double thePreAssignedDecayTime
const G4ParticleDefinition * theParticleDefinition
G4double GetPDGCharge() const
Here is the call graph for this function:

◆ G4DynamicParticle() [5/7]

G4DynamicParticle::G4DynamicParticle ( const G4ParticleDefinition aParticleDefinition,
G4double  aTotalEnergy,
const G4ThreeVector aParticleMomentum 
)

Definition at line 183 of file G4DynamicParticle.cc.

185  :
186  theParticleDefinition(aParticleDefinition),
187  theKineticEnergy(0.0),
188  theProperTime(0.0),
189  theDynamicalMass(aParticleDefinition->GetPDGMass()),
190  theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
191  theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
192  theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment()),
196  verboseLevel(1),
197  primaryParticle(0),
198  thePDGcode(0)
199 {
200  // total energy and 3-dim momentum are given
201  G4double pModule2 = aParticleMomentum.mag2();
202  if (pModule2>0.0) {
203  G4double mass2 = totalEnergy*totalEnergy - pModule2;
205  theDynamicalMass = 0.;
206  SetMomentumDirection(aParticleMomentum.unit());
207  SetKineticEnergy(totalEnergy);
208  } else {
209  theDynamicalMass = std::sqrt(mass2);
210  SetMomentum(aParticleMomentum);
211  }
212  } else {
213  SetMomentumDirection(1.0,0.0,0.0);
214  SetKineticEnergy(0.0);
215  }
216 }
void SetMomentum(const G4ThreeVector &momentum)
G4double theDynamicalMagneticMoment
void SetMomentumDirection(const G4ThreeVector &aDirection)
double mag2() const
static const G4double EnergyMomentumRelationAllowance
Hep3Vector unit() const
G4double GetPDGMagneticMoment() const
G4PrimaryParticle * primaryParticle
void SetKineticEnergy(G4double aEnergy)
G4DecayProducts * thePreAssignedDecayProducts
G4ElectronOccupancy * theElectronOccupancy
G4double thePreAssignedDecayTime
double G4double
Definition: G4Types.hh:76
const G4ParticleDefinition * theParticleDefinition
G4double GetPDGCharge() const
Here is the call graph for this function:

◆ G4DynamicParticle() [6/7]

G4DynamicParticle::G4DynamicParticle ( const G4ParticleDefinition aParticleDefinition,
const G4ThreeVector aMomentumDirection,
G4double  aKineticEnergy,
const G4double  dynamicalMass 
)

Definition at line 121 of file G4DynamicParticle.cc.

124  :
125  theMomentumDirection(aMomentumDirection),
126  theParticleDefinition(aParticleDefinition),
127  theKineticEnergy(aKineticEnergy),
128  theProperTime(0.0),
129  theDynamicalMass(dynamicalMass),
130  theDynamicalCharge(aParticleDefinition->GetPDGCharge()),
131  theDynamicalSpin(aParticleDefinition->GetPDGSpin()),
132  theDynamicalMagneticMoment(aParticleDefinition->GetPDGMagneticMoment()),
136  verboseLevel(1),
137  primaryParticle(0),
138  thePDGcode(0)
139 {
140 }
G4double theDynamicalMagneticMoment
G4ThreeVector theMomentumDirection
G4double GetPDGMagneticMoment() const
G4PrimaryParticle * primaryParticle
G4DecayProducts * thePreAssignedDecayProducts
G4ElectronOccupancy * theElectronOccupancy
G4double thePreAssignedDecayTime
const G4ParticleDefinition * theParticleDefinition
G4double GetPDGCharge() const

◆ G4DynamicParticle() [7/7]

G4DynamicParticle::G4DynamicParticle ( const G4DynamicParticle right)

Definition at line 219 of file G4DynamicParticle.cc.

219  :
224  theProperTime(0.0),
230  thePreAssignedDecayProducts(0), // Do not copy preassignedDecayProducts
232  verboseLevel(right.verboseLevel),
234  thePDGcode(right.thePDGcode)
235 {
236  if (right.theElectronOccupancy != 0) {
239  }
240 }
G4double theDynamicalMagneticMoment
G4ThreeVector theMomentumDirection
G4PrimaryParticle * primaryParticle
G4DecayProducts * thePreAssignedDecayProducts
G4ElectronOccupancy * theElectronOccupancy
G4double thePreAssignedDecayTime
G4ThreeVector thePolarization
const G4ParticleDefinition * theParticleDefinition

◆ ~G4DynamicParticle()

G4DynamicParticle::~G4DynamicParticle ( )

Definition at line 245 of file G4DynamicParticle.cc.

246 {
247  // delete thePreAssignedDecayProducts
250 
253 }
G4DecayProducts * thePreAssignedDecayProducts
G4ElectronOccupancy * theElectronOccupancy

Member Function Documentation

◆ AddElectron()

void G4DynamicParticle::AddElectron ( G4int  orbit,
G4int  number = 1 
)
Here is the caller graph for this function:

◆ AllocateElectronOccupancy()

void G4DynamicParticle::AllocateElectronOccupancy ( )
protected

Definition at line 345 of file G4DynamicParticle.cc.

346 {
347  const G4ParticleDefinition* particle = GetDefinition();
348 
349  if (G4IonTable::IsIon(particle)) {
350  // Only ions can have ElectronOccupancy
352 
353  } else {
355 
356  }
357 }
static G4bool IsIon(const G4ParticleDefinition *)
Definition: G4IonTable.cc:1091
G4ElectronOccupancy * theElectronOccupancy
G4ParticleDefinition * GetDefinition() const
Here is the call graph for this function:

◆ DumpInfo()

void G4DynamicParticle::DumpInfo ( G4int  mode = 0) const

Definition at line 429 of file G4DynamicParticle.cc.

430 {
431  return;
432 }
Here is the caller graph for this function:

◆ Get4Momentum()

G4LorentzVector G4DynamicParticle::Get4Momentum ( ) const
Here is the caller graph for this function:

◆ GetCharge()

G4double G4DynamicParticle::GetCharge ( ) const
Here is the caller graph for this function:

◆ GetDefinition()

G4ParticleDefinition* G4DynamicParticle::GetDefinition ( ) const

◆ GetElectronMass()

G4double G4DynamicParticle::GetElectronMass ( ) const
protected

Definition at line 436 of file G4DynamicParticle.cc.

437 {
438  static G4ThreadLocal G4double electronMass = 0.0;
439 
440  // check if electron exits and get the mass
441  if (electronMass<=0.0) {
443  if (electron == 0) {
444  G4Exception("G4DynamicParticle::GetElectronMass()","PART021",
445  FatalException,"G4DynamicParticle: G4Electron is not defined !!");
446  }
447  electronMass = electron->GetPDGMass();
448  }
449 
450  return electronMass;
451 }
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
#define G4ThreadLocal
Definition: tls.hh:89
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
static G4ParticleTable * GetParticleTable()
double G4double
Definition: G4Types.hh:76
Here is the call graph for this function:

◆ GetElectronOccupancy()

const G4ElectronOccupancy* G4DynamicParticle::GetElectronOccupancy ( ) const

◆ GetKineticEnergy()

G4double G4DynamicParticle::GetKineticEnergy ( ) const

◆ GetMagneticMoment()

G4double G4DynamicParticle::GetMagneticMoment ( ) const
Here is the caller graph for this function:

◆ GetMass()

G4double G4DynamicParticle::GetMass ( ) const
Here is the caller graph for this function:

◆ GetMomentum()

G4ThreeVector G4DynamicParticle::GetMomentum ( ) const
Here is the caller graph for this function:

◆ GetMomentumDirection()

const G4ThreeVector& G4DynamicParticle::GetMomentumDirection ( ) const

◆ GetOccupancy()

G4int G4DynamicParticle::GetOccupancy ( G4int  orbit) const
Here is the caller graph for this function:

◆ GetParticleDefinition()

const G4ParticleDefinition* G4DynamicParticle::GetParticleDefinition ( ) const
Here is the caller graph for this function:

◆ GetPDGcode()

G4int G4DynamicParticle::GetPDGcode ( ) const
Here is the caller graph for this function:

◆ GetPolarization()

const G4ThreeVector& G4DynamicParticle::GetPolarization ( ) const
Here is the caller graph for this function:

◆ GetPreAssignedDecayProducts()

const G4DecayProducts* G4DynamicParticle::GetPreAssignedDecayProducts ( ) const
Here is the caller graph for this function:

◆ GetPreAssignedDecayProperTime()

G4double G4DynamicParticle::GetPreAssignedDecayProperTime ( ) const
Here is the caller graph for this function:

◆ GetPrimaryParticle()

G4PrimaryParticle* G4DynamicParticle::GetPrimaryParticle ( ) const
Here is the caller graph for this function:

◆ GetProperTime()

G4double G4DynamicParticle::GetProperTime ( ) const
Here is the caller graph for this function:

◆ GetSpin()

G4double G4DynamicParticle::GetSpin ( ) const

◆ GetTotalEnergy()

G4double G4DynamicParticle::GetTotalEnergy ( ) const
Here is the caller graph for this function:

◆ GetTotalMomentum()

G4double G4DynamicParticle::GetTotalMomentum ( ) const

◆ GetTotalOccupancy()

G4int G4DynamicParticle::GetTotalOccupancy ( ) const
Here is the caller graph for this function:

◆ GetVerboseLevel()

G4int G4DynamicParticle::GetVerboseLevel ( ) const
Here is the caller graph for this function:

◆ operator delete()

void G4DynamicParticle::operator delete ( void *  aDynamicParticle)
inline

◆ operator new()

void* G4DynamicParticle::operator new ( size_t  )
inline

◆ operator!=()

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

Definition at line 335 of file G4DynamicParticle.cc.

336 {
337  return (this != (G4DynamicParticle *) &right);
338 }

◆ operator=()

G4DynamicParticle & G4DynamicParticle::operator= ( const G4DynamicParticle right)

Definition at line 259 of file G4DynamicParticle.cc.

260 {
261  if (this != &right) {
267 
272 
274  if (right.theElectronOccupancy != 0){
277  } else {
279  }
280 
281  // thePreAssignedDecayProducts must not be copied.
284 
285  verboseLevel = right.verboseLevel;
286 
287  // Primary particle information must be preserved
288  //*** primaryParticle = right.primaryParticle;
289 
290  thePDGcode = right.thePDGcode;
291  }
292  return *this;
293 }
G4double theDynamicalMagneticMoment
G4ThreeVector theMomentumDirection
G4DecayProducts * thePreAssignedDecayProducts
G4ElectronOccupancy * theElectronOccupancy
G4double thePreAssignedDecayTime
G4ThreeVector thePolarization
const G4ParticleDefinition * theParticleDefinition

◆ operator==()

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

Definition at line 329 of file G4DynamicParticle.cc.

330 {
331  return (this == (G4DynamicParticle *) &right);
332 }

◆ RemoveElectron()

void G4DynamicParticle::RemoveElectron ( G4int  orbit,
G4int  number = 1 
)

◆ Set4Momentum()

void G4DynamicParticle::Set4Momentum ( const G4LorentzVector momentum)

Definition at line 376 of file G4DynamicParticle.cc.

377 {
378  G4double pModule2 = momentum.vect().mag2();
379  if (pModule2>0.0) {
380  SetMomentumDirection(momentum.vect().unit());
381  G4double totalenergy = momentum.t();
382  G4double mass2 = totalenergy*totalenergy - pModule2;
384  theDynamicalMass = 0.;
385  SetKineticEnergy(totalenergy);
386  } else {
387  theDynamicalMass = std::sqrt(mass2);
388  SetKineticEnergy(totalenergy-theDynamicalMass);
389  }
390  } else {
391  SetMomentumDirection(1.0,0.0,0.0);
392  SetKineticEnergy(0.0);
393  }
394 }
void SetMomentumDirection(const G4ThreeVector &aDirection)
double mag2() const
Hep3Vector vect() const
static const G4double EnergyMomentumRelationAllowance
Hep3Vector unit() const
void SetKineticEnergy(G4double aEnergy)
double G4double
Definition: G4Types.hh:76
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetCharge() [1/2]

void G4DynamicParticle::SetCharge ( G4double  charge)
Here is the caller graph for this function:

◆ SetCharge() [2/2]

void G4DynamicParticle::SetCharge ( G4int  chargeInUnitOfEplus)

◆ SetDefinition()

void G4DynamicParticle::SetDefinition ( const G4ParticleDefinition aParticleDefinition)

Definition at line 296 of file G4DynamicParticle.cc.

297 {
298  // remove preassigned decay
299  if (thePreAssignedDecayProducts != 0) {
300 #ifdef G4VERBOSE
301  if (verboseLevel>0) {
302  G4cout << " G4DynamicParticle::SetDefinition()::"
303  << "!!! Pre-assigned decay products is attached !!!! " << G4endl;
304  G4cout << "!!! New Definition is " << aParticleDefinition->GetParticleName()
305  << " !!! " << G4endl;
306  G4cout << "!!! Pre-assigned decay products will be deleted !!!! " << G4endl;
307  }
308 #endif
310  }
312 
313  theParticleDefinition = aParticleDefinition;
314 
315  // set Dynamic mass/chrge
320 
321  // Set electron orbits
324  //AllocateElectronOccupancy();
325 
326 }
G4double theDynamicalMagneticMoment
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
G4double GetPDGMagneticMoment() const
G4DecayProducts * thePreAssignedDecayProducts
G4ElectronOccupancy * theElectronOccupancy
#define G4endl
Definition: G4ios.hh:61
const G4ParticleDefinition * theParticleDefinition
G4double GetPDGCharge() const
Here is the call graph for this function:

◆ SetKineticEnergy()

void G4DynamicParticle::SetKineticEnergy ( G4double  aEnergy)
Here is the caller graph for this function:

◆ SetMagneticMoment()

void G4DynamicParticle::SetMagneticMoment ( G4double  magneticMoment)

◆ SetMass()

void G4DynamicParticle::SetMass ( G4double  mass)
Here is the caller graph for this function:

◆ SetMomentum()

void G4DynamicParticle::SetMomentum ( const G4ThreeVector momentum)

Definition at line 362 of file G4DynamicParticle.cc.

363 {
364  G4double pModule2 = momentum.mag2();
365  if (pModule2>0.0) {
366  G4double mass = theDynamicalMass;
367  SetMomentumDirection(momentum.unit());
368  SetKineticEnergy(std::sqrt(pModule2 + mass*mass)-mass);
369  } else {
370  SetMomentumDirection(1.0,0.0,0.0);
371  SetKineticEnergy(0.0);
372  }
373 }
void SetMomentumDirection(const G4ThreeVector &aDirection)
double mag2() const
Hep3Vector unit() const
void SetKineticEnergy(G4double aEnergy)
double G4double
Definition: G4Types.hh:76
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetMomentumDirection() [1/2]

void G4DynamicParticle::SetMomentumDirection ( const G4ThreeVector aDirection)
Here is the caller graph for this function:

◆ SetMomentumDirection() [2/2]

void G4DynamicParticle::SetMomentumDirection ( G4double  px,
G4double  py,
G4double  pz 
)

◆ SetPDGcode()

void G4DynamicParticle::SetPDGcode ( G4int  c)
Here is the caller graph for this function:

◆ SetPolarization()

void G4DynamicParticle::SetPolarization ( G4double  polX,
G4double  polY,
G4double  polZ 
)
Here is the caller graph for this function:

◆ SetPreAssignedDecayProducts()

void G4DynamicParticle::SetPreAssignedDecayProducts ( G4DecayProducts aDecayProducts)
Here is the caller graph for this function:

◆ SetPreAssignedDecayProperTime()

void G4DynamicParticle::SetPreAssignedDecayProperTime ( G4double  )
Here is the caller graph for this function:

◆ SetPrimaryParticle()

void G4DynamicParticle::SetPrimaryParticle ( G4PrimaryParticle p)
Here is the caller graph for this function:

◆ SetProperTime()

void G4DynamicParticle::SetProperTime ( G4double  )
Here is the caller graph for this function:

◆ SetSpin() [1/2]

void G4DynamicParticle::SetSpin ( G4double  spin)

◆ SetSpin() [2/2]

void G4DynamicParticle::SetSpin ( G4int  spinInUnitOfHalfInteger)

◆ SetVerboseLevel()

void G4DynamicParticle::SetVerboseLevel ( G4int  value)
Here is the caller graph for this function:

Member Data Documentation

◆ primaryParticle

G4PrimaryParticle* G4DynamicParticle::primaryParticle
protected

Definition at line 255 of file G4DynamicParticle.hh.

◆ theDynamicalCharge

G4double G4DynamicParticle::theDynamicalCharge
protected

Definition at line 231 of file G4DynamicParticle.hh.

◆ theDynamicalMagneticMoment

G4double G4DynamicParticle::theDynamicalMagneticMoment
protected

Definition at line 235 of file G4DynamicParticle.hh.

◆ theDynamicalMass

G4double G4DynamicParticle::theDynamicalMass
protected

Definition at line 229 of file G4DynamicParticle.hh.

◆ theDynamicalSpin

G4double G4DynamicParticle::theDynamicalSpin
protected

Definition at line 233 of file G4DynamicParticle.hh.

◆ theElectronOccupancy

G4ElectronOccupancy* G4DynamicParticle::theElectronOccupancy
protected

Definition at line 237 of file G4DynamicParticle.hh.

◆ theKineticEnergy

G4double G4DynamicParticle::theKineticEnergy
protected

Definition at line 225 of file G4DynamicParticle.hh.

◆ theMomentumDirection

G4ThreeVector G4DynamicParticle::theMomentumDirection
protected

Definition at line 217 of file G4DynamicParticle.hh.

◆ theParticleDefinition

const G4ParticleDefinition* G4DynamicParticle::theParticleDefinition
protected

Definition at line 220 of file G4DynamicParticle.hh.

◆ thePDGcode

G4int G4DynamicParticle::thePDGcode
protected

Definition at line 278 of file G4DynamicParticle.hh.

◆ thePolarization

G4ThreeVector G4DynamicParticle::thePolarization
protected

Definition at line 223 of file G4DynamicParticle.hh.

◆ thePreAssignedDecayProducts

G4DecayProducts* G4DynamicParticle::thePreAssignedDecayProducts
protected

Definition at line 239 of file G4DynamicParticle.hh.

◆ thePreAssignedDecayTime

G4double G4DynamicParticle::thePreAssignedDecayTime
protected

Definition at line 241 of file G4DynamicParticle.hh.

◆ theProperTime

G4double G4DynamicParticle::theProperTime
protected

Definition at line 227 of file G4DynamicParticle.hh.

◆ verboseLevel

G4int G4DynamicParticle::verboseLevel
protected

Definition at line 244 of file G4DynamicParticle.hh.


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