Belle II Software development
|
Helper utils for path arithmetics needed in the pEventProcessor. More...
#include <PathUtils.h>
Static Public Member Functions | |
static std::tuple< PathPtr, PathPtr, PathPtr > | splitPath (const PathPtr &path) |
Split the given part into the input, main and output path (in this order) by looking onto the parallel certificate of the modules. | |
static ModulePtrList | preparePaths (PathPtr &inputPath, PathPtr &mainPath, PathPtr &outputPath) |
Adds internal zmq modules to the paths. | |
static ModulePtr | getHistogramManager (PathPtr &inputPath) |
Find the histogram manager in the paths and return it. | |
static ModulePtrList | getTerminateGloballyModules (const ModulePtrList &modules) |
Return only modules which have the TerminateGlobally Module flag set. | |
static void | prependModulesIfNotPresent (ModulePtrList *modules, const ModulePtrList &prependModules) |
Prepend given 'prependModules' to 'modules', if they're not already present. | |
static void | appendModule (PathPtr &path, const ModulePtr &module) |
Prepend given modules to the path. | |
static void | prependModule (PathPtr &path, const ModulePtr &module) |
Append given modules to the path. | |
Helper utils for path arithmetics needed in the pEventProcessor.
Definition at line 19 of file PathUtils.h.
Prepend given modules to the path.
Definition at line 216 of file PathUtils.cc.
Find the histogram manager in the paths and return it.
Definition at line 98 of file PathUtils.cc.
|
static |
Return only modules which have the TerminateGlobally Module flag set.
Definition at line 197 of file PathUtils.cc.
|
static |
Adds internal zmq modules to the paths.
Definition at line 113 of file PathUtils.cc.
Append given modules to the path.
Definition at line 221 of file PathUtils.cc.
|
static |
Prepend given 'prependModules' to 'modules', if they're not already present.
Definition at line 207 of file PathUtils.cc.
Split the given part into the input, main and output path (in this order) by looking onto the parallel certificate of the modules.
Definition at line 16 of file PathUtils.cc.