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

#include <EDepSimVPositionGenerator.hh>

Inheritance diagram for EDepSim::VPositionGenerator:
EDepSim::FixedPositionGenerator EDepSim::FreePositionGenerator EDepSim::VConstrainedPositionGenerator EDepSim::DensityPositionGenerator EDepSim::UniformPositionGenerator

Public Member Functions

 VPositionGenerator (const G4String &name)
 
virtual ~VPositionGenerator ()
 
virtual G4LorentzVector GetPosition ()=0
 Return the candidate position for the primary vertex. More...
 
virtual bool ForcePosition ()=0
 
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 EDepSimVPositionGenerator.hh.

Constructor & Destructor Documentation

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

Definition at line 25 of file EDepSimVPositionGenerator.hh.

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

Definition at line 26 of file EDepSimVPositionGenerator.hh.

26 {}

Member Function Documentation

virtual bool EDepSim::VPositionGenerator::ForcePosition ( )
pure virtual

Return true if this position should be forced for the primary vertex (should generally return true).

Implemented in EDepSim::FixedPositionGenerator, EDepSim::VConstrainedPositionGenerator, EDepSim::FreePositionGenerator, EDepSim::DensityPositionGenerator, and EDepSim::UniformPositionGenerator.

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

Return the name of the generator.

Definition at line 36 of file EDepSimVPositionGenerator.hh.

36 {return fName;}
G4String fName
The name of the generator.
virtual G4LorentzVector EDepSim::VPositionGenerator::GetPosition ( )
pure virtual

Member Data Documentation

G4String EDepSim::VPositionGenerator::fName
private

The name of the generator.

Definition at line 40 of file EDepSimVPositionGenerator.hh.


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