Iterator to retrieve particles from utl::VShowerParticlList. More...
#include "utl/ShowerParticleIterator.h"

Public Member Functions | |
| bool | operator!= (const ShowerParticleIterator &it) const |
| const Particle & | operator* () const |
| ShowerParticleIterator & | operator++ () |
| Prefix increment. More... | |
| ShowerParticleIterator | operator++ (int) |
| Postfix increment. More... | |
| const Particle * | operator-> () const |
| bool | operator== (const ShowerParticleIterator &it) const |
| ShowerParticleIterator (VShowerFileParticleIterator *const fileIt=nullptr, const CoordinateSystemPtr &cs=CoordinateSystemPtr()) | |
Private Member Functions | |
| void | CheckReference () const |
Private Attributes | |
| Particle * | fCurrentParticle = nullptr |
| CoordinateSystemPtr | fGroundCS |
| The reference frame for particle reading. More... | |
| VShowerFileParticleIterator * | fParticles = nullptr |
Iterator to retrieve particles from utl::VShowerParticlList.
This class implements an input iterator to iterate over all particles in a utl::VShowerParticleList. The code doing the real work is in the implementation of the utl::VShowerParticleList interface.
Definition at line 32 of file ShowerParticleIterator.h.
|
explicit |
Definition at line 18 of file ShowerParticleIterator.cc.
References fCurrentParticle, fGroundCS, fParticles, utl::VShowerFileParticleIterator::GetOneParticle(), and utl::VShowerFileParticleIterator::Rewind().
|
private |
Definition at line 33 of file ShowerParticleIterator.cc.
References fCurrentParticle.
Referenced by operator*(), and operator->().
|
inline |
Definition at line 48 of file ShowerParticleIterator.h.
References operator==().
| const Particle & utl::ShowerParticleIterator::operator* | ( | ) | const |
Definition at line 42 of file ShowerParticleIterator.cc.
References CheckReference(), and fCurrentParticle.
| ShowerParticleIterator & utl::ShowerParticleIterator::operator++ | ( | ) |
Prefix increment.
Definition at line 60 of file ShowerParticleIterator.cc.
References fCurrentParticle, fGroundCS, fParticles, and utl::VShowerFileParticleIterator::GetOneParticle().
| ShowerParticleIterator utl::ShowerParticleIterator::operator++ | ( | int | ) |
Postfix increment.
Definition at line 73 of file ShowerParticleIterator.cc.
| const Particle * utl::ShowerParticleIterator::operator-> | ( | ) | const |
Definition at line 51 of file ShowerParticleIterator.cc.
References CheckReference(), and fCurrentParticle.
| bool utl::ShowerParticleIterator::operator== | ( | const ShowerParticleIterator & | it | ) | const |
Definition at line 82 of file ShowerParticleIterator.cc.
References fCurrentParticle, and fParticles.
Referenced by operator!=().
|
private |
Definition at line 57 of file ShowerParticleIterator.h.
Referenced by CheckReference(), operator*(), operator++(), operator->(), operator==(), and ShowerParticleIterator().
|
private |
The reference frame for particle reading.
Definition at line 56 of file ShowerParticleIterator.h.
Referenced by operator++(), and ShowerParticleIterator().
|
private |
Definition at line 54 of file ShowerParticleIterator.h.
Referenced by operator++(), operator==(), and ShowerParticleIterator().