34#define INCLXX_IN_GEANT4_MODE 1
51 totalEnergyBeforeInteraction = 0.0;
62 modified.push_back(p);
67 outgoing.push_back(p);
72 destroyed.push_back(p);
82 entering.push_back(p);
111 std::stringstream ss;
112 ss <<
"Modified particles:" <<
'\n';
113 for(
ParticleIter iter=modified.begin(), e=modified.end(); iter!=e; ++iter)
114 ss << (*iter)->print();
115 ss <<
"Outgoing particles:" <<
'\n';
116 for(
ParticleIter iter=outgoing.begin(), e=outgoing.end(); iter!=e; ++iter)
117 ss << (*iter)->print();
118 ss <<
"Destroyed particles:" <<
'\n';
119 for(
ParticleIter iter=destroyed.begin(), e=destroyed.end(); iter!=e; ++iter)
120 ss << (*iter)->print();
121 ss <<
"Created particles:" <<
'\n';
122 for(
ParticleIter iter=created.begin(), e=created.end(); iter!=e; ++iter)
123 ss << (*iter)->print();
124 ss <<
"Entering particles:" <<
'\n';
125 for(
ParticleIter iter=entering.begin(), e=entering.end(); iter!=e; ++iter)
126 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)
ParticleList::const_iterator ParticleIter