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