Public Member Functions | List of all members
EDepSim::FreeTimeGenerator Class Reference

#include <EDepSimFreeTimeGenerator.hh>

Inheritance diagram for EDepSim::FreeTimeGenerator:
EDepSim::VTimeGenerator

Public Member Functions

 FreeTimeGenerator (G4String name)
 
virtual ~FreeTimeGenerator ()
 
double GetTime (const G4LorentzVector &vertex)
 Return the time of events to generate. More...
 
virtual bool ForceTime ()
 Flag if the time should be forced (returns false). More...
 
- Public Member Functions inherited from EDepSim::VTimeGenerator
 VTimeGenerator (const G4String &name)
 
virtual ~VTimeGenerator ()
 
G4String GetName () const
 Return the name of the generator. More...
 

Detailed Description

Generate a "Free" time. This means that the default time of the vertex will be zero, but it is expected to be overridden by the kinematics generator.

Definition at line 11 of file EDepSimFreeTimeGenerator.hh.

Constructor & Destructor Documentation

EDepSim::FreeTimeGenerator::FreeTimeGenerator ( G4String  name)

Definition at line 4 of file EDepSimFreeTimeGenerator.cc.

EDepSim::FreeTimeGenerator::~FreeTimeGenerator ( )
virtual

Definition at line 7 of file EDepSimFreeTimeGenerator.cc.

7 {}

Member Function Documentation

bool EDepSim::FreeTimeGenerator::ForceTime ( )
virtual

Flag if the time should be forced (returns false).

Implements EDepSim::VTimeGenerator.

Definition at line 13 of file EDepSimFreeTimeGenerator.cc.

13  {
14  return false;
15 }
double EDepSim::FreeTimeGenerator::GetTime ( const G4LorentzVector &  vertex)
virtual

Return the time of events to generate.

Implements EDepSim::VTimeGenerator.

Definition at line 9 of file EDepSimFreeTimeGenerator.cc.

9  {
10  return 0.0;
11 }

The documentation for this class was generated from the following files: