EDepSimFixedTimeGenerator.cc
Go to the documentation of this file.
3 
5  : EDepSim::VTimeGenerator(name), fTime(time) {}
6 
8 
9 double EDepSim::FixedTimeGenerator::GetTime(const G4LorentzVector& /* vtx */) {
10  return fTime;
11 }
12 
14  return true;
15 }
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.