double GetHeightAtDepth(const double depth) const
Return height at the vertical atmospheric depth, according to the parameters stored in the file...
const Corsika::AtmosphereParameters fAtmPars
virtual utl::Particle * GetOneParticle(const utl::CoordinateSystemPtr &cs)
Member function to fetch the next particle.
struct with particle data
Describes a particle for Simulation.
utl::Validated< utl::Particle > fParent
const PositionType fStartPosition
const unsigned int fObservationLevel
utl::Validated< utl::Point > fProductionPoint
Interface class for accessing a list of particles from a shower file.
virtual void Rewind()
Rewind the particle list in the shower file to the beginning.
virtual ~CorsikaShowerFileParticleIterator()
io::Corsika::RawFile::PositionType PositionType
const io::Corsika::ParticleData * GetOneParticleRecord()
Low level reader of individual Corsika particles.
utl::Particle fCurrentParticle
io::Corsika::BlockUnthinned fCurrentBlockUnthinned
const io::Corsika::ParticleDataUnthinned * GetOneParticleRecordUnthinned()
Implementation of the VShowerFileParticleIterator for an Corsika generated shower file...
io::Corsika::Block fCurrentBlock
Corsika::RawFile & fRawFile
double GetDepthAtHeight(const double h) const
Return vertical atmospheric depth at the height, according to the parameters stored in the file...
utl::Validated< utl::Particle > fGrandParent
utl::Particle::Source GetEMParticleSource(const float wt, const short int gen) const
CorsikaShowerFileParticleIterator(Corsika::RawFile &rawFile, const io::Corsika::EventHeader &header, const Corsika::AtmosphereParameters ¶ms, const double timeOffset, const PositionType &startPosition, const unsigned int observationLevel, const bool isThinned, const double wmaxEM, const bool CERFIL=false, const double CERwlMin=0, const double CERwlMax=0)