34 #define INCLXX_IN_GEANT4_MODE 1
65 std::list<Intersection> theIntersections;
72 (*p)->getPropagationVelocity(),
75 theIntersections.push_back(intersection);
78 (*p)->setPosition(intersection.
position);
81 if(intersection.
time < theFirstEntryTime) {
82 theFirstEntryTime = intersection.
time;
83 theFirstID = (*p)->getID();
88 std::list<Intersection>::const_iterator intIter = theIntersections.begin();
89 for(
ParticleIter p=projectiles.begin(),
e=projectiles.end();
p!=
e; ++
p, ++intIter) {
91 if((*intIter).exists) {
94 if((*p)->getID() == theFirstID) {
104 return theAvatarList;