|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
13 #ifndef DDG4_GEANT4UIMANAGER_H
14 #define DDG4_GEANT4UIMANAGER_H
119 #endif // DDG4_GEANT4UIMANAGER_H
void terminate()
Callback on terminate. Callback registered to the Geant4Kernel.
bool m_haveUI
Property: Flag to instantiate UI (default=true)
Callback interface class with argument.
std::vector< std::string > m_initializeCommands
Property: List of commands to be executed when the Geant4Kernel gets initialized.
virtual ~Geant4UIManager()
Default destructor.
G4VisManager * m_vis
Reference to Geant4 visualtion manager.
void start()
Start manager & session.
std::vector< std::string > m_macros
Property: Array of commands to be chained.
G4UIExecutive * m_ui
Reference to Geant4 UI manager.
void forceExit()
Force exiting this process without calling atexit handlers.
std::vector< std::string > m_terminateCommands
Property: List of commands to be executed when the Geant4Kernel gets terminated.
std::string m_visSetup
Property: Name of the visualization macro file.
void initialize()
Initialize the object. Callback registered to the Geant4Kernel.
G4UIExecutive * startUI()
Start UI.
bool m_haveVis
Property: Flag to instantiate Vis manager (default=false, unless m_visSetup set)
void stop()
Stop and release resources.
std::string m_uiSetup
Property: Name of the UI macro file.
void installCommandMessenger()
Install command control messenger to write GDML file from command prompt.
void regularExit()
Regularly exiting this process without calling atexit handlers.
Default base class for all Geant 4 actions and derivates thereof.
const std::string & name() const
Access name of the action.
void applyCommand(const std::string &command)
Apply single command.
void configure()
Configure the object. Callback registered to the Geant4Kernel.
G4VisManager * startVis()
Start visualization.
Namespace for the AIDA detector description toolkit.
virtual void operator()(void *param)
Run UI.
std::string m_sessionType
Name of the default session type (="cmd")
std::vector< std::string > m_preRunCommands
Property: List of commands to be executed BEFORE running.
std::vector< std::string > m_configureCommands
Property: List of commands to be executed when the Geant4Kernel gets configured.
Standard UI interface implementation with configuration using property options.
std::vector< std::string > m_postRunCommands
Property: List of commands to be executed AFTER running.
std::string m_prompt
Property: New prompt if the user wants to change it. (Default is do nothing)
Geant4UIManager(Geant4Context *context, const std::string &name)
Initializing constructor.
Generic context to extend user, run and event information.
Geant4Context * context() const
Access the context.