33 #define INCLXX_IN_GEANT4_MODE 1
49 incidentDirection(aParticle->getMomentum())
60 INCL_DEBUG(
"DeltaDecayChannel chosen." << std::endl);
100 INCL_DEBUG(
"Enforcing energy conservation: failed!" << std::endl);
107 for(
ParticleIter i=created.begin(), e=created.end(); i!=e; ++i )
120 INCL_DEBUG(
"No nucleus, continuing anyway." << std::endl);
123 INCL_DEBUG(
"Enforcing energy conservation: success!" << std::endl);
132 for(
ParticleIter i=modified.begin(), e=modified.end(); i!=e; ++i)
145 for(
ParticleIter i=created.begin(), e=created.end(); i!=e; ++i )
184 std::stringstream ss;
185 ss <<
"(avatar " <<
theTime <<
" 'decay" << std::endl
186 <<
"(list " << std::endl
188 <<
"))" << std::endl;
void incrementBlockedDecays()
void setBlockedDelta(Particle *const p)
FinalStateValidity getValidity() const
static G4bool isCDPPBlocked(ParticleList const &p, Nucleus const *const n)
Check CDPP blocking.
G4INCL::IChannel * getChannel()
ParticleList const & getModifiedParticles() const
G4bool isDelta() const
Is it a Delta?
ParticleList const & getCreatedParticles() const
void setType(AvatarType t)
virtual void preInteraction()
FinalState * postInteraction(FinalState *)
void setTotalEnergyBeforeInteraction(G4double E)
void makeNoEnergyConservation()
void incrementAcceptedDecays()
G4bool enforceEnergyConservation(FinalState *const fs)
Enforce energy conservation.
void restoreParticles() const
Restore the state of both particles.
DecayAvatar(G4INCL::Particle *aParticle, G4double time, G4INCL::Nucleus *aNucleus, G4bool force=false)
virtual FinalState * postInteraction(FinalState *)
void addModifiedParticle(Particle *p)
ParticleList::const_iterator ParticleIter