Public Member Functions | Private Attributes | List of all members
EDepSim::VTimeGenerator Class Referenceabstract

#include <EDepSimVTimeGenerator.hh>

Inheritance diagram for EDepSim::VTimeGenerator:
EDepSim::FixedTimeGenerator EDepSim::FreeTimeGenerator EDepSim::SpillTimeGenerator

Public Member Functions

 VTimeGenerator (const G4String &name)
 
virtual ~VTimeGenerator ()
 
virtual double GetTime (const G4LorentzVector &vertex)=0
 Return the time of the primary vertex. More...
 
virtual bool ForceTime ()=0
 Return true if this time should be forced for the primary vertex. More...
 
G4String GetName () const
 Return the name of the generator. More...
 

Private Attributes

G4String fName
 The name of the generator. More...
 

Detailed Description

Definition at line 23 of file EDepSimVTimeGenerator.hh.

Constructor & Destructor Documentation

EDepSim::VTimeGenerator::VTimeGenerator ( const G4String &  name)
inline

Definition at line 25 of file EDepSimVTimeGenerator.hh.

25 : fName(name) {}
static QCString name
Definition: declinfo.cpp:673
G4String fName
The name of the generator.
virtual EDepSim::VTimeGenerator::~VTimeGenerator ( )
inlinevirtual

Definition at line 26 of file EDepSimVTimeGenerator.hh.

26 {}

Member Function Documentation

virtual bool EDepSim::VTimeGenerator::ForceTime ( )
pure virtual

Return true if this time should be forced for the primary vertex.

Implemented in EDepSim::SpillTimeGenerator, EDepSim::FreeTimeGenerator, and EDepSim::FixedTimeGenerator.

G4String EDepSim::VTimeGenerator::GetName ( void  ) const
inline

Return the name of the generator.

Definition at line 35 of file EDepSimVTimeGenerator.hh.

35 {return fName;}
G4String fName
The name of the generator.
virtual double EDepSim::VTimeGenerator::GetTime ( const G4LorentzVector &  vertex)
pure virtual

Return the time of the primary vertex.

Implemented in EDepSim::SpillTimeGenerator, EDepSim::FreeTimeGenerator, and EDepSim::FixedTimeGenerator.

Member Data Documentation

G4String EDepSim::VTimeGenerator::fName
private

The name of the generator.

Definition at line 39 of file EDepSimVTimeGenerator.hh.


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