void CheckReference() const
Iterator to retrieve particles from utl::VShowerParticlList.
const Particle * operator->() const
virtual void Rewind()=0
Rewind the particle list in the shower file to the beginning.
Describes a particle for Simulation.
ShowerParticleIterator & operator++()
Prefix increment.
bool operator==(const ShowerParticleIterator &it) const
VShowerFileParticleIterator * fParticles
Interface class for accessing a list of particles from a shower file.
CoordinateSystemPtr fGroundCS
The reference frame for particle reading.
ShowerParticleIterator(VShowerFileParticleIterator *const fileIt=nullptr, const CoordinateSystemPtr &cs=CoordinateSystemPtr())
const Particle & operator*() const
virtual Particle * GetOneParticle(const CoordinateSystemPtr &cs)=0
Member function to fetch the next particle.
Particle * fCurrentParticle