GGS(GenericGEANT4Simulation)Software
2.7.0
|
Manager for MC plugins. More...
#include <GGSMCPluginManager.h>
Public Member Functions | |
~GGSMCPluginManager () | |
Destructor. | |
bool | LoadPlugin (const std::string &libName) |
Loads a plugin library. More... | |
G4VUserPhysicsList * | LoadPhysicsListPlugin (const std::string &libName) |
Loads a physics list plugin library. More... | |
Static Public Member Functions | |
static GGSMCPluginManager & | GetInstance () |
Get the singleton instance. More... | |
Manager for MC plugins.
This singleton dynamically loads MC plugin libraries.
Definition at line 24 of file GGSMCPluginManager.h.
|
static |
Get the singleton instance.
Definition at line 22 of file GGSMCPluginManager.cpp.
G4VUserPhysicsList * GGSMCPluginManager::LoadPhysicsListPlugin | ( | const std::string & | libName | ) |
Loads a physics list plugin library.
This method opens the library and creates the physics list it contains.
libName | Full path to the library file. |
Definition at line 57 of file GGSMCPluginManager.cpp.
bool GGSMCPluginManager::LoadPlugin | ( | const std::string & | libName | ) |
Loads a plugin library.
This method opens the library and gives access to the plugin objects (user actions and sensitive detectors) inside it.
libName | Full path to the library file. |
Definition at line 37 of file GGSMCPluginManager.cpp.