34 #ifndef G4ReactionProduct_h
35 #define G4ReactionProduct_h 1
45 #if defined G4HADRONIC_ALLOC_EXPORT
80 inline void*
operator new(size_t) {
84 inline void*
operator new(size_t,
void *
p) {
88 inline void operator delete(
void* aReactionProduct) {
105 {
return theParticleDefinition; }
124 {
return std::sqrt(std::abs(kineticEnergy*(totalEnergy+mass))); }
127 {
return totalEnergy; }
132 totalEnergy = kineticEnergy + mass;
136 {
return kineticEnergy; }
141 kineticEnergy = totalEnergy - mass;
151 { timeOfFlight = t; }
154 {
return timeOfFlight; }
166 {
return NewlyAdded; }
172 {
return MayBeKilled; }
182 positionInNucleus.
setX(x);
183 positionInNucleus.
setY(y);
184 positionInNucleus.
setZ(z);
189 positionInNucleus = aPosition;
205 #ifdef PRECOMPOUND_TEST
206 void SetCreatorModel(
const G4String& aModel) { theCreatorModel = aModel; }
207 G4String GetCreatorModel()
const {
return theCreatorModel; }
217 G4bool hasInitialStateParton;
239 #ifdef PRECOMPOUND_TEST