AiresShowerFileParticleIterator.h
Go to the documentation of this file.
1 
9 #ifndef _io_AiresShowerFileParticleIterator_h_
10 #define _io_AiresShowerFileParticleIterator_h_
11 
12 
13 #include <utl/VShowerFileParticleIterator.h>
14 
15 #include <utl/Particle.h>
16 #include <utl/CoordinateSystemPtr.h>
17 
18 #include <cstddef>
19 
20 namespace io {
21 
31  class AiresShowerFile;
32 
35 
36  public:
37 
40 
42  virtual void Rewind();
43 
44  protected:
45 
49 
50  private:
51 
54 
55  // Data we grab from the AiresShowerFile attached to this iterator
56 
59  bool fAltType;
60 
66 
67  int fIntData[99];
68  double fDoubleData[99];
69 
71 
73 
74  };
75 
76 } // namespace
77 
78 #endif // _AiresShowerFileParticleIterator_h_
79 
80 // Configure (x)emacs for this file ...
81 // Local Variables:
82 // mode:c++
83 // compile-command: "cd ..; make -k"
84 // End:
Describes a particle for Simulation.
Definition: Particle.h:26
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.
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
virtual utl::Particle * GetOneParticle(const utl::CoordinateSystemPtr &cs)
Member function to fetch the next particle.
Implementation of the VShowerFileParticleIterator for an Aires generated shower file.
Utility to open an Aires generated shower file on disc.
virtual utl::CoordinateSystemPtr ComputeExternalShowerCoordinateSystem(const utl::CoordinateSystemPtr &ptr)
Compute the coordinate system for the ground particle file.

, generated on Tue Sep 26 2023.