ShowerInventorParticleIterator.h
Go to the documentation of this file.
1 #ifndef _ShowerInventorParticleIterator_h_
2 #define _ShowerInventorParticleIterator_h_
3 
4 
5 #include <utl/VShowerFileParticleIterator.h>
6 #include <utl/Particle.h>
7 #include <utl/CoordinateSystemPtr.h>
8 
9 #include <string>
10 #include <vector>
11 
12 namespace fwk {
13  class VModule;
14 }
15 
16 namespace ShowerInventorNS{
17 
30 class ShowerInventor;
31 
33 {
34 public:
35 
38  virtual utl::Particle* GetOneParticle(const utl::CoordinateSystemPtr& groundCS);
39  virtual void Rewind();
40 
41 private:
42 
44  unsigned int fNumParticles;
45  const unsigned int fNumRequested;
46 
48 };
49 
50 }
51 
52 #endif
53 
54 // Configure (x)emacs for this file ...
55 // Local Variables:
56 // mode:c++
57 // compile-command: "make -C .. -k run-testParticleTests"
58 // End:
Describes a particle for Simulation.
Definition: Particle.h:26
Interface class for accessing a list of particles from a shower file.
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
virtual void Rewind()
Rewind the particle list in the shower file to the beginning.
Iterator that generates particles &quot;on-the-fly&quot; . This uses the machinery in ShowerInventor to fetch p...
Generate hypothetical particle distributions in the shower plane.
virtual utl::Particle * GetOneParticle(const utl::CoordinateSystemPtr &groundCS)
Member function to fetch the next particle.
constexpr double m
Definition: AugerUnits.h:121

, generated on Tue Sep 26 2023.