19 using ROOT::Reflex::PluginService;
59 algorithm = PluginService::Create<IAlgorithm*>(algtype, algname,
serviceLocator().
get());
61 algorithm = PluginService::CreateWithId<IAlgorithm*>(algtype, algname,
serviceLocator().
get());
66 fatal() <<
"Incompatible interface IAlgorithm version for " << algtype <<
endmsg;
83 this->
error() <<
"Failed to initialize algorithm: [" << algname <<
"]" <<
endmsg;
88 this->
error() <<
"Algorithm of type " << algtype
89 <<
" is unknown (No factory available)." <<
endmsg;
97 this->
error() <<
"More information may be available by setting the global jobOpt \"ReflexPluginDebugLevel\" to 1" <<
endmsg;
105 return it->algorithm;
109 if (
createAlgorithm(typeName.type(), typeName.name(), alg,
true).isSuccess()) {
136 if (!it->managed)
continue;
137 rc = it->algorithm->sysInitialize();
147 if (!it->managed)
continue;
148 rc = it->algorithm->sysStart();
158 if (!it->managed)
continue;
159 rc = it->algorithm->sysStop();
170 rc = it->algorithm->sysFinalize();
184 if (!it->managed)
continue;
185 rc = it->algorithm->sysReinitialize();
187 this->
error() <<
"Unable to re-initialize algorithm: " << it->algorithm->name() <<
endmsg;
198 if (!it->managed)
continue;
199 rc = it->algorithm->sysRestart();
201 this->
error() <<
"Unable to re-initialize algorithm: " << it->algorithm->name() <<
endmsg;