EDepSimFixedTimeGenerator.hh
Go to the documentation of this file.
1 #ifndef EDepSim_FixedTimeGenerator_hh_seen
2 #define EDepSim_FixedTimeGenerator_hh_seen
3 
5 
6 namespace EDepSim {class FixedTimeGenerator;}
8 public:
9  FixedTimeGenerator(G4String name, double time);
10  virtual ~FixedTimeGenerator();
11 
12  /// Return the number of events to generate.
13  double GetTime(const G4LorentzVector& vertex);
14 
15  /// Flag if the time should be forced.
16  virtual bool ForceTime();
17 
18 private:
19  /// The number of events to generate.
20  double fTime;
21 };
22 #endif
static QCString name
Definition: declinfo.cpp:673
double fTime
The number of events to generate.
Construct a module from components.
Definition: TG4HitSegment.h:10
FixedTimeGenerator(G4String name, double time)
virtual bool ForceTime()
Flag if the time should be forced.
double GetTime(const G4LorentzVector &vertex)
Return the number of events to generate.
vertex reconstruction