33 #define INCLXX_IN_GEANT4_MODE 1
49 long Particle::nextID = 1;
56 thePropagationEnergy(&theEnergy),
57 theFrozenEnergy(theEnergy),
59 thePropagationMomentum(&theMomentum),
60 theFrozenMomentum(theMomentum),
64 thePotentialEnergy(0.0),
77 thePropagationEnergy(&theEnergy),
78 theFrozenEnergy(theEnergy),
79 theMomentum(momentum),
80 thePropagationMomentum(&theMomentum),
81 theFrozenMomentum(theMomentum),
82 thePosition(position),
83 nCollisions(0), nDecays(0),
84 thePotentialEnergy(0.), theHelicity(0.0),
85 emissionTime(0.0), outOfWell(false)
91 WARN(
"Particle with energy " <<
theEnergy <<
" created." << std::endl);
99 : thePropagationEnergy(&theEnergy),
100 theMomentum(momentum),
101 thePropagationMomentum(&theMomentum),
102 theFrozenMomentum(theMomentum),
103 thePosition(position),
104 nCollisions(0), nDecays(0),
105 thePotentialEnergy(0.), theHelicity(0.0),
106 emissionTime(0.0), outOfWell(false)
113 ERROR(
"Cannot create resonance without specifying its momentum four-vector." << std::endl);
124 ERROR(
"Particle has E^2 < m^2." << std::endl <<
print());