#include <EDepSimUserPrimaryGeneratorMessenger.hh>
Public Member Functions | |
UserPrimaryGeneratorMessenger (EDepSim::UserPrimaryGeneratorAction *) | |
virtual | ~UserPrimaryGeneratorMessenger () |
void | SetNewValue (G4UIcommand *, G4String) |
Handle messages from the UI processor. More... | |
G4String | GetPath () |
Get the base directory for the messenger commands. More... | |
void | AddKinematicsFactory (EDepSim::VKinematicsFactory *factory) |
Add a new kinematics factory to the messenger. More... | |
void | SetKinematicsFactory (const G4String &factory) |
Set the current kinematics factory for the messenger. More... | |
G4String | GetKinematicsFactories () |
Get the list of kinematics factories available to the messenger. More... | |
void | AddCountFactory (EDepSim::VCountFactory *factory) |
Add a new count factory to the messenger. More... | |
void | SetCountFactory (const G4String &factory) |
Set the current count factory for the messenger. More... | |
G4String | GetCountFactories () |
Get the list of count factories available to the messenger. More... | |
void | AddPositionFactory (EDepSim::VPositionFactory *factory) |
Add a new position factory to the messenger. More... | |
void | SetPositionFactory (const G4String &factory) |
Set the current position factory for the messenger. More... | |
G4String | GetPositionFactories () |
Get the list of position factories available to the messenger. More... | |
void | AddTimeFactory (EDepSim::VTimeFactory *factory) |
Add a new time factory to the messenger. More... | |
void | SetTimeFactory (const G4String &factory) |
Set the current time factory for the messenger. More... | |
G4String | GetTimeFactories () |
Get the list of time factories available to the messenger. More... | |
EDepSim::PrimaryGenerator * | CreateGenerator () |
Create a new generator using the current generator factories. More... | |
Private Attributes | |
EDepSim::UserPrimaryGeneratorAction * | fAction |
std::map< G4String, EDepSim::VKinematicsFactory * > | fKinematicsFactories |
The list of available kinematics factories;. More... | |
EDepSim::VKinematicsFactory * | fKinematics |
The current kinematics factory. More... | |
std::map< G4String, EDepSim::VCountFactory * > | fCountFactories |
The list of available count factories;. More... | |
EDepSim::VCountFactory * | fCount |
The current count factory. More... | |
std::map< G4String, EDepSim::VPositionFactory * > | fPositionFactories |
The list of available position factories;. More... | |
EDepSim::VPositionFactory * | fPosition |
The current position factory. More... | |
std::map< G4String, EDepSim::VTimeFactory * > | fTimeFactories |
The list of available time factories;. More... | |
EDepSim::VTimeFactory * | fTime |
The current time factory. More... | |
G4UIdirectory * | fDir |
G4UIdirectory * | fKinematicsDir |
G4UIdirectory * | fCountDir |
G4UIdirectory * | fPositionDir |
G4UIdirectory * | fTimeDir |
G4UIcmdWithoutParameter * | fClearCMD |
G4UIcmdWithoutParameter * | fAddCMD |
G4UIcommand * | fCombineCMD |
G4UIcmdWithAString * | fSetKinematicsCMD |
G4UIcmdWithAString * | fSetCountCMD |
G4UIcmdWithAString * | fSetPositionCMD |
G4UIcmdWithAString * | fSetTimeCMD |
G4UIcmdWithABool * | fAllowEmptyEventsCMD |
G4UIcmdWithABool * | fAddFakeGeantinoCMD |
G4UIcmdWithABool * | fAllowPartialEventsCMD |
Definition at line 25 of file EDepSimUserPrimaryGeneratorMessenger.hh.
EDepSim::UserPrimaryGeneratorMessenger::UserPrimaryGeneratorMessenger | ( | EDepSim::UserPrimaryGeneratorAction * | gen | ) |
Definition at line 40 of file EDepSimUserPrimaryGeneratorMessenger.cc.
|
virtual |
Definition at line 149 of file EDepSimUserPrimaryGeneratorMessenger.cc.
void EDepSim::UserPrimaryGeneratorMessenger::AddCountFactory | ( | EDepSim::VCountFactory * | factory | ) |
Add a new count factory to the messenger.
Definition at line 264 of file EDepSimUserPrimaryGeneratorMessenger.cc.
void EDepSim::UserPrimaryGeneratorMessenger::AddKinematicsFactory | ( | EDepSim::VKinematicsFactory * | factory | ) |
Add a new kinematics factory to the messenger.
Definition at line 235 of file EDepSimUserPrimaryGeneratorMessenger.cc.
void EDepSim::UserPrimaryGeneratorMessenger::AddPositionFactory | ( | EDepSim::VPositionFactory * | factory | ) |
Add a new position factory to the messenger.
Definition at line 293 of file EDepSimUserPrimaryGeneratorMessenger.cc.
void EDepSim::UserPrimaryGeneratorMessenger::AddTimeFactory | ( | EDepSim::VTimeFactory * | factory | ) |
Add a new time factory to the messenger.
Definition at line 322 of file EDepSimUserPrimaryGeneratorMessenger.cc.
EDepSim::PrimaryGenerator * EDepSim::UserPrimaryGeneratorMessenger::CreateGenerator | ( | ) |
Create a new generator using the current generator factories.
Definition at line 217 of file EDepSimUserPrimaryGeneratorMessenger.cc.
G4String EDepSim::UserPrimaryGeneratorMessenger::GetCountFactories | ( | ) |
Get the list of count factories available to the messenger.
Definition at line 282 of file EDepSimUserPrimaryGeneratorMessenger.cc.
G4String EDepSim::UserPrimaryGeneratorMessenger::GetKinematicsFactories | ( | ) |
Get the list of kinematics factories available to the messenger.
Definition at line 253 of file EDepSimUserPrimaryGeneratorMessenger.cc.
G4String EDepSim::UserPrimaryGeneratorMessenger::GetPath | ( | ) |
Get the base directory for the messenger commands.
Definition at line 231 of file EDepSimUserPrimaryGeneratorMessenger.cc.
G4String EDepSim::UserPrimaryGeneratorMessenger::GetPositionFactories | ( | ) |
Get the list of position factories available to the messenger.
Definition at line 311 of file EDepSimUserPrimaryGeneratorMessenger.cc.
G4String EDepSim::UserPrimaryGeneratorMessenger::GetTimeFactories | ( | ) |
Get the list of time factories available to the messenger.
Definition at line 340 of file EDepSimUserPrimaryGeneratorMessenger.cc.
void EDepSim::UserPrimaryGeneratorMessenger::SetCountFactory | ( | const G4String & | factory | ) |
Set the current count factory for the messenger.
Definition at line 269 of file EDepSimUserPrimaryGeneratorMessenger.cc.
void EDepSim::UserPrimaryGeneratorMessenger::SetKinematicsFactory | ( | const G4String & | factory | ) |
Set the current kinematics factory for the messenger.
Definition at line 240 of file EDepSimUserPrimaryGeneratorMessenger.cc.
void EDepSim::UserPrimaryGeneratorMessenger::SetNewValue | ( | G4UIcommand * | command, |
G4String | newValue | ||
) |
Handle messages from the UI processor.
Definition at line 167 of file EDepSimUserPrimaryGeneratorMessenger.cc.
void EDepSim::UserPrimaryGeneratorMessenger::SetPositionFactory | ( | const G4String & | factory | ) |
Set the current position factory for the messenger.
Definition at line 298 of file EDepSimUserPrimaryGeneratorMessenger.cc.
void EDepSim::UserPrimaryGeneratorMessenger::SetTimeFactory | ( | const G4String & | factory | ) |
Set the current time factory for the messenger.
Definition at line 327 of file EDepSimUserPrimaryGeneratorMessenger.cc.
|
private |
Definition at line 76 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 109 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 116 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 115 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 117 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 108 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 110 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
The current count factory.
Definition at line 88 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 104 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
The list of available count factories;.
Definition at line 85 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 102 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
The current kinematics factory.
Definition at line 82 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 103 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
The list of available kinematics factories;.
Definition at line 79 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
The current position factory.
Definition at line 94 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 105 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
The list of available position factories;.
Definition at line 91 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 112 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 111 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 113 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 114 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
The current time factory.
Definition at line 100 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
Definition at line 106 of file EDepSimUserPrimaryGeneratorMessenger.hh.
|
private |
The list of available time factories;.
Definition at line 97 of file EDepSimUserPrimaryGeneratorMessenger.hh.