32 std::once_flag pluginFlag;
33 int setupPluginSystem() {
38 std::shared_ptr<edm::ProcessDesc> addDefaultServicesToProcessDesc(std::shared_ptr<edm::ProcessDesc> iDesc) {
46 std::make_unique<edm::JobReport>(
nullptr)));
62 : forcePluginSetupFirst_(setupPluginSystem()),
63 processor_(addDefaultServicesToProcessDesc(iDesc.processDesc()),
68 auto gil = PyEval_SaveThread();
73 PyEval_RestoreThread(gil);
77 auto gil = PyEval_SaveThread();
82 PyEval_RestoreThread(gil);
std::vector< std::string > defaultCmsRunServices()
static PluginManager & configure(const Config &)
edm::EventProcessor processor_
PythonEventProcessor(PyBind11ProcessDesc const &)
PluginManager::Config config()
StatusCode runToCompletion()
static ServiceToken createContaining(std::unique_ptr< T > iService)
create a service token that holds the service defined by iService