16 #ifndef JETSCAPEMODULEBASE_H
17 #define JETSCAPEMODULEBASE_H
93 bool isRequired =
true) {
97 bool isRequired =
true) {
101 bool isRequired =
true) {
105 bool isRequired =
true) {
131 return std::make_shared<T>();
139 typedef std::map<std::string, shared_ptr<JetScapeModuleBase> (*)()>
map_type;
143 map_type::iterator
it =
getMap()->find(s);
169 template <
typename T>
175 getMap()->insert(std::make_pair(s, &createT<T>));