Public Member Functions | Private Attributes | List of all members
EDepSim::GPSKinematicsFactory Class Reference

#include <EDepSimGPSKinematicsFactory.hh>

Inheritance diagram for EDepSim::GPSKinematicsFactory:
EDepSim::VKinematicsFactory EDepSim::VPrimaryFactory

Public Member Functions

 GPSKinematicsFactory (EDepSim::UserPrimaryGeneratorMessenger *fParent)
 
virtual ~GPSKinematicsFactory ()
 
virtual EDepSim::VKinematicsGeneratorGetGenerator ()
 
- Public Member Functions inherited from EDepSim::VKinematicsFactory
 VKinematicsFactory (G4String name, EDepSim::UserPrimaryGeneratorMessenger *fParent, bool makeDirectory=true)
 
virtual ~VKinematicsFactory ()
 
- Public Member Functions inherited from EDepSim::VPrimaryFactory
 VPrimaryFactory (G4String subdir, G4String name, EDepSim::UserPrimaryGeneratorMessenger *parent, bool makeDirectory)
 
virtual ~VPrimaryFactory ()
 
G4String GetPath () const
 
G4String GetName () const
 
G4String GetSubDir () const
 
virtual void SetNewValue (G4UIcommand *, G4String)
 Handle messages from the UI processor. More...
 

Private Attributes

G4VPrimaryGenerator * fGenerator
 

Additional Inherited Members

- Protected Member Functions inherited from EDepSim::VPrimaryFactory
G4String CommandName (G4String cmd)
 Build a command name with the directory prefix. More...
 

Detailed Description

Definition at line 10 of file EDepSimGPSKinematicsFactory.hh.

Constructor & Destructor Documentation

EDepSim::GPSKinematicsFactory::GPSKinematicsFactory ( EDepSim::UserPrimaryGeneratorMessenger fParent)

Definition at line 6 of file EDepSimGPSKinematicsFactory.cc.

8  : EDepSim::VKinematicsFactory("gps",parent,false) {
9  fGenerator = new G4GeneralParticleSource();
10 }
def parent(G, child, parent_type)
Definition: graph.py:67
EDepSim::GPSKinematicsFactory::~GPSKinematicsFactory ( )
virtual

Definition at line 12 of file EDepSimGPSKinematicsFactory.cc.

12  {
13  delete fGenerator;
14 }

Member Function Documentation

EDepSim::VKinematicsGenerator * EDepSim::GPSKinematicsFactory::GetGenerator ( )
virtual

Return a new generator enclosing the current factory state. The new generator method is pure virtual so it must be implemented by derived classes.

Implements EDepSim::VKinematicsFactory.

Definition at line 16 of file EDepSimGPSKinematicsFactory.cc.

Member Data Documentation

G4VPrimaryGenerator* EDepSim::GPSKinematicsFactory::fGenerator
private

The GPS G4VPrimaryGenerator that will be used for this kinematics generator. This must be created when the factory is constructed so that the GPS can add it's commands to the UI. There can be only one.

Definition at line 24 of file EDepSimGPSKinematicsFactory.hh.


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