EDepSimFreeTimeGenerator.hh
Go to the documentation of this file.
1 #ifndef EDepSim_FreeTimeGenerator_hh_seen
2 #define EDepSim_FreeTimeGenerator_hh_seen
3 
5 
6 namespace EDepSim {class FreeTimeGenerator;}
7 
8 /// Generate a "Free" time. This means that the default time of the vertex
9 /// will be zero, but it is expected to be overridden by the kinematics
10 /// generator.
12 public:
13  FreeTimeGenerator(G4String name);
14  virtual ~FreeTimeGenerator();
15 
16  /// Return the time of events to generate.
17  double GetTime(const G4LorentzVector& vertex);
18 
19  /// Flag if the time should be forced (returns false).
20  virtual bool ForceTime();
21 
22 };
23 #endif
static QCString name
Definition: declinfo.cpp:673
double GetTime(const G4LorentzVector &vertex)
Return the time of events to generate.
Construct a module from components.
Definition: TG4HitSegment.h:10
virtual bool ForceTime()
Flag if the time should be forced (returns false).
vertex reconstruction