#include <EDepSimVPrimaryFactory.hh>
Public Member Functions | |
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... | |
Protected Member Functions | |
G4String | CommandName (G4String cmd) |
Build a command name with the directory prefix. More... | |
Private Attributes | |
G4String | fName |
The short name of this factory. More... | |
G4String | fSubDirName |
The sub-directory holding this factory. More... | |
EDepSim::UserPrimaryGeneratorMessenger * | fParent |
The messenger that is holding this set of sub-commands. More... | |
G4UIdirectory * | fDir |
Definition at line 21 of file EDepSimVPrimaryFactory.hh.
EDepSim::VPrimaryFactory::VPrimaryFactory | ( | G4String | subdir, |
G4String | name, | ||
EDepSim::UserPrimaryGeneratorMessenger * | parent, | ||
bool | makeDirectory | ||
) |
Definition at line 3 of file EDepSimVPrimaryFactory.cc.
|
virtual |
Definition at line 19 of file EDepSimVPrimaryFactory.cc.
|
inlineprotected |
Build a command name with the directory prefix.
Definition at line 48 of file EDepSimVPrimaryFactory.hh.
G4String EDepSim::VPrimaryFactory::GetName | ( | void | ) | const |
Return the short name of this factory. This is used to identify it in other messenger commands. The full path for the factory is constructed as "<parent>/<subdir>/<name>/".
Definition at line 30 of file EDepSimVPrimaryFactory.cc.
G4String EDepSim::VPrimaryFactory::GetPath | ( | ) | const |
Return the full path for the factory. This returns the full name of the EDepSim::VPrimaryFactory. It should be used as a prefix for any messenger commands. The full path for the factory is constructed as "<parent>/<subdir>/<localname>/".
Definition at line 23 of file EDepSimVPrimaryFactory.cc.
G4String EDepSim::VPrimaryFactory::GetSubDir | ( | ) | const |
Return the subdirectory name for this factory. The full path for the factory is constructed as "<parent>/<subdir>/<name>/".
Definition at line 34 of file EDepSimVPrimaryFactory.cc.
|
inlinevirtual |
Handle messages from the UI processor.
Reimplemented in EDepSim::RooTrackerKinematicsFactory, EDepSim::SpillTimeFactory, EDepSim::VCountFactory, EDepSim::VConstrainedPositionFactory, EDepSim::FixedCountFactory, EDepSim::FixedTimeFactory, EDepSim::MeanCountFactory, EDepSim::DensityPositionFactory, EDepSim::FixedPositionFactory, and EDepSim::UniformPositionFactory.
Definition at line 44 of file EDepSimVPrimaryFactory.hh.
|
private |
The sub-directory for the local commands. The full name of the local subdirectory is "<parent>/<subdir>/<name>/"
Definition at line 65 of file EDepSimVPrimaryFactory.hh.
|
private |
The short name of this factory.
Definition at line 51 of file EDepSimVPrimaryFactory.hh.
|
private |
The messenger that is holding this set of sub-commands.
Definition at line 61 of file EDepSimVPrimaryFactory.hh.
|
private |
The sub-directory holding this factory.
Definition at line 58 of file EDepSimVPrimaryFactory.hh.