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

#include <EDepSimFreePositionGenerator.hh>

Inheritance diagram for EDepSim::FreePositionGenerator:
EDepSim::VPositionGenerator

Public Member Functions

 FreePositionGenerator (const G4String &name)
 
virtual ~FreePositionGenerator ()
 
virtual G4LorentzVector GetPosition ()
 
virtual bool ForcePosition ()
 
- Public Member Functions inherited from EDepSim::VPositionGenerator
 VPositionGenerator (const G4String &name)
 
virtual ~VPositionGenerator ()
 
G4String GetName () const
 Return the name of the generator. More...
 

Detailed Description

Definition at line 8 of file EDepSimFreePositionGenerator.hh.

Constructor & Destructor Documentation

EDepSim::FreePositionGenerator::FreePositionGenerator ( const G4String &  name)
EDepSim::FreePositionGenerator::~FreePositionGenerator ( )
virtual

Definition at line 6 of file EDepSimFreePositionGenerator.cc.

6 {}

Member Function Documentation

bool EDepSim::FreePositionGenerator::ForcePosition ( )
virtual

Flag if the vertex should be forced to the candidate vertex returned by GetPosition().

Implements EDepSim::VPositionGenerator.

Definition at line 12 of file EDepSimFreePositionGenerator.cc.

12  {
13  return false;
14 }
G4LorentzVector EDepSim::FreePositionGenerator::GetPosition ( )
virtual

Return a candidate vertex (a dummy routine for EDepSim::FreePositionGenerator).

Implements EDepSim::VPositionGenerator.

Definition at line 8 of file EDepSimFreePositionGenerator.cc.

8  {
9  return G4LorentzVector(0,0,0,0);
10 }

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