4 #ifndef EDepSim_UserPrimaryGeneratorMessenger_h 5 #define EDepSim_UserPrimaryGeneratorMessenger_h 1 9 #include "G4UImessenger.hh" 12 namespace EDepSim {
class UserPrimaryGeneratorAction;}
13 namespace EDepSim {
class VKinematicsFactory;}
14 namespace EDepSim {
class VCountFactory;}
15 namespace EDepSim {
class VPositionFactory;}
16 namespace EDepSim {
class VTimeFactory;}
17 namespace EDepSim {
class PrimaryGenerator;}
20 class G4UIcmdWithoutParameter;
21 class G4UIcmdWithAString;
22 class G4UIcmdWithABool;
24 namespace EDepSim {
class UserPrimaryGeneratorMessenger;}
G4UIcmdWithABool * fAllowPartialEventsCMD
void SetTimeFactory(const G4String &factory)
Set the current time factory for the messenger.
std::map< G4String, EDepSim::VTimeFactory * > fTimeFactories
The list of available time factories;.
G4UIcmdWithAString * fSetTimeCMD
std::map< G4String, EDepSim::VPositionFactory * > fPositionFactories
The list of available position factories;.
G4UIcmdWithABool * fAllowEmptyEventsCMD
void SetPositionFactory(const G4String &factory)
Set the current position factory for the messenger.
G4String GetTimeFactories()
Get the list of time factories available to the messenger.
EDepSim::VTimeFactory * fTime
The current time factory.
EDepSim::VCountFactory * fCount
The current count factory.
EDepSim::PrimaryGenerator * CreateGenerator()
Create a new generator using the current generator factories.
void SetKinematicsFactory(const G4String &factory)
Set the current kinematics factory for the messenger.
G4String GetCountFactories()
Get the list of count factories available to the messenger.
G4UIcommand * fCombineCMD
G4String GetPositionFactories()
Get the list of position factories available to the messenger.
G4UIcmdWithAString * fSetCountCMD
void SetNewValue(G4UIcommand *, G4String)
Handle messages from the UI processor.
Construct a module from components.
void AddTimeFactory(EDepSim::VTimeFactory *factory)
Add a new time factory to the messenger.
UserPrimaryGeneratorMessenger(EDepSim::UserPrimaryGeneratorAction *)
G4String GetKinematicsFactories()
Get the list of kinematics factories available to the messenger.
G4String GetPath()
Get the base directory for the messenger commands.
void AddCountFactory(EDepSim::VCountFactory *factory)
Add a new count factory to the messenger.
std::map< G4String, EDepSim::VCountFactory * > fCountFactories
The list of available count factories;.
G4UIcmdWithAString * fSetKinematicsCMD
std::map< G4String, EDepSim::VKinematicsFactory * > fKinematicsFactories
The list of available kinematics factories;.
void SetCountFactory(const G4String &factory)
Set the current count factory for the messenger.
G4UIdirectory * fCountDir
G4UIcmdWithoutParameter * fClearCMD
G4UIdirectory * fPositionDir
void AddPositionFactory(EDepSim::VPositionFactory *factory)
Add a new position factory to the messenger.
EDepSim::VKinematicsFactory * fKinematics
The current kinematics factory.
G4UIcmdWithoutParameter * fAddCMD
void AddKinematicsFactory(EDepSim::VKinematicsFactory *factory)
Add a new kinematics factory to the messenger.
G4UIdirectory * fKinematicsDir
EDepSim::VPositionFactory * fPosition
The current position factory.
EDepSim::UserPrimaryGeneratorAction * fAction
G4UIcmdWithAString * fSetPositionCMD
virtual ~UserPrimaryGeneratorMessenger()
G4UIcmdWithABool * fAddFakeGeantinoCMD