EDepSimUniformPositionGenerator.hh
Go to the documentation of this file.
1 #ifndef EDepSim_UniformPositionGenerator_hh_seen
2 #define EDepSim_UniformPositionGenerator_hh_seen
3 
5 
6 /// Select a position and time to be used as the vertex of a primary particle.
7 namespace EDepSim {class UniformPositionGenerator;}
9 public:
10  UniformPositionGenerator(const G4String& name);
11  virtual ~UniformPositionGenerator();
12 
13  /// Return a candidate vertex.
14  virtual G4LorentzVector GetPosition();
15 
16  /// Flag if the vertex should be forced to the candidate vertex returned
17  /// by GetPosition().
18  virtual bool ForcePosition();
19 };
20 #endif
static QCString name
Definition: declinfo.cpp:673
Construct a module from components.
Definition: TG4HitSegment.h:10
virtual G4LorentzVector GetPosition()
Return a candidate vertex.