35#define INCLXX_IN_GEANT4_MODE 1
44 totalEnergyBeforeInteraction(0.0), validity(
ValidFS),
55 modified.push_back(p);
60 outgoing.push_back(p);
65 destroyed.push_back(p);
75 entering.push_back(p);
104 std::stringstream ss;
105 ss <<
"Modified particles:" << std::endl;
106 for(
ParticleIter iter = modified.begin(); iter != modified.end(); ++iter)
107 ss << (*iter)->print();
108 ss <<
"Outgoing particles:" << std::endl;
109 for(
ParticleIter iter = outgoing.begin(); iter != outgoing.end(); ++iter)
110 ss << (*iter)->print();
111 ss <<
"Destroyed particles:" << std::endl;
112 for(
ParticleIter iter = destroyed.begin(); iter != destroyed.end(); ++iter)
113 ss << (*iter)->print();
114 ss <<
"Created particles:" << std::endl;
115 for(
ParticleIter iter = created.begin(); iter != created.end(); ++iter)
116 ss << (*iter)->print();
117 ss <<
"Entering particles:" << std::endl;
118 for(
ParticleIter iter = entering.begin(); iter != entering.end(); ++iter)
119 ss << (*iter)->print();
void addEnteringParticle(Particle *p)
void addModifiedParticle(Particle *p)
ParticleList const & getOutgoingParticles() const
ParticleList const & getEnteringParticles() const
std::string print() const
ParticleList const & getModifiedParticles() const
void addOutgoingParticle(Particle *p)
ParticleList const & getDestroyedParticles() const
void addCreatedParticle(Particle *p)
ParticleList const & getCreatedParticles() const
void addDestroyedParticle(Particle *p)
std::list< G4INCL::Particle * > ParticleList
std::list< G4INCL::Particle * >::const_iterator ParticleIter