34 #define INCLXX_IN_GEANT4_MODE 1
170 swap(temporaryParticle);
292 INCL_ERROR(
"Trying to set particle type to Unknown!" <<
'\n');
424 const G4double gamma = 1.0 / std::sqrt(1.0 - beta2);
442 const G4double gamma = 1.0 / std::sqrt(1.0 - beta2);
444 const ThreeVector transversePosition = theRelativePosition - aBoostVector * (theRelativePosition.
dot(aBoostVector) / aBoostVector.
mag2());
445 const ThreeVector longitudinalPosition = theRelativePosition - transversePosition;
447 thePosition = refPos + transversePosition + longitudinalPosition / gamma;
490 INCL_ERROR(
"Particle::getINCLMass: Unknown particle type." <<
'\n');
533 INCL_ERROR(
"Particle::getTableMass: Unknown particle type." <<
'\n');
576 INCL_ERROR(
"Particle::getRealMass: Unknown particle type." <<
'\n');
603 const G4int SParent = 0;
606 const G4int SDaughter = 0;
616 theQValue = massTableParent - massTableDaughter - massTableParticle;
624 return theQValue - (massINCLParent-massINCLDaughter-massINCLParticle);
643 const G4int SFrom = 0;
645 const G4int AFromDaughter = AFrom -
theA;
646 const G4int ZFromDaughter = ZFrom -
theZ;
647 const G4int SFromDaughter = 0;
650 const G4int SToDaughter = 0;
663 return theQValue - (massINCLToDaughter-massINCLTo-massINCLParticle);
691 theQValue = massTableParent - massTableDaughter - massTableParticle;
699 return theQValue - (massINCLParent-massINCLDaughter-massINCLParticle);
720 const G4int AFromDaughter = AFrom -
theA;
721 const G4int ZFromDaughter = ZFrom -
theZ;
722 const G4int SFromDaughter = SFrom -
theS;
738 return theQValue - (massINCLToDaughter-massINCLTo-massINCLParticle);
754 return std::sqrt(mass);
830 thePosition += ((*thePropagationMomentum)*(step/(*thePropagationEnergy)));
954 std::stringstream ss;
955 ss <<
"Particle (ID = " <<
ID <<
") type = ";
969 std::stringstream ss;
970 ss <<
"(particle " <<
ID <<
" ";
987 INCL_WARN(
"Particle::getParticles() method was called on a Particle object" <<
'\n');
1070 #ifdef INCLXX_IN_GEANT4_MODE