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