#include <UserHooksFactory.h>
|
template<> |
std::map< std::string, double > & | userSettings () |
|
|
static UserHooks * | create (const std::string &hookName) |
|
template<typename T > |
static std::map< std::string, T > & | userSettings () |
|
static std::map< std::string, double > & | userParams () |
|
static std::map< std::string, int > & | userModes () |
|
static std::map< std::string, std::string > & | userWords () |
|
|
static std::map< std::string, const ICreator * > & | s_creators () |
| static function to instantiate map of string name Vs. creator object on first use More...
|
|
Definition at line 35 of file UserHooksFactory.h.
◆ UserHooksFactory()
Pythia8_UserHooks::UserHooksFactory::UserHooksFactory |
( |
| ) |
|
|
inlineprivate |
◆ create()
UserHooks * Pythia8_UserHooks::UserHooksFactory::create |
( |
const std::string & |
hookName | ) |
|
|
static |
Definition at line 10 of file UserHooksFactory.cxx.
11 std::map<std::string, const ICreator*>::const_iterator
it =
s_creators().find(
name);
13 throw std::runtime_error(
"Pythia 8 UserHooksFactory: cannot create user hook " +
name);
15 return it->second->create();
◆ s_creators()
static function to instantiate map of string name Vs. creator object on first use
Definition at line 19 of file UserHooksFactory.cxx.
20 static std::map<std::string, const UserHooksFactory::ICreator*> creators;
◆ userModes()
static std::map<std::string, int>& Pythia8_UserHooks::UserHooksFactory::userModes |
( |
| ) |
|
|
static |
◆ userParams()
static std::map<std::string, double>& Pythia8_UserHooks::UserHooksFactory::userParams |
( |
| ) |
|
|
static |
◆ userSettings() [1/2]
template<>
std::map< std::string, std::string > & Pythia8_UserHooks::UserHooksFactory::userSettings |
( |
| ) |
|
◆ userSettings() [2/2]
template<typename T >
static std::map<std::string, T>& Pythia8_UserHooks::UserHooksFactory::userSettings |
( |
| ) |
|
|
static |
◆ userWords()
static std::map<std::string, std::string>& Pythia8_UserHooks::UserHooksFactory::userWords |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following files: