35#define INCLXX_IN_GEANT4_MODE 1
53 n->getStore()->getBook()->incrementAvatars(a->
getType());
54 DEBUG(
"Next avatar:" << std::endl << a->
dump() << std::endl);
60 for(
ParticleIter p = modified.begin(); p != modified.end(); ++p )
62 (*p)->incrementNumberOfCollisions();
64 (*p)->incrementNumberOfDecays();
67 for(
ParticleIter p = created.begin(); p != created.end(); ++p )
69 (*p)->incrementNumberOfCollisions();
71 (*p)->incrementNumberOfDecays();
void beforeAvatarAction(IAvatar *a, Nucleus *n)
void afterAvatarAction(IAvatar *a, Nucleus *n, FinalState *fs)
ParticleList const & getModifiedParticles() const
ParticleList const & getCreatedParticles() const
AvatarType getType() const
G4bool isACollision() const
virtual std::string dump() const =0
std::list< G4INCL::Particle * > ParticleList
std::list< G4INCL::Particle * >::const_iterator ParticleIter