QualityControl
1.5.1
O2 Data Quality Control Framework
|
Factory in charge of creating DataProcessorSpec of QC task. More...
#include <TaskRunnerFactory.h>
Public Member Functions | |
o2::framework::DataProcessorSpec | create (std::string taskName, std::string configurationSource, size_t id=0, bool resetAfterPublish=false) |
Creator of tasks. More... | |
Static Public Member Functions | |
static void | customizeInfrastructure (std::vector< framework::CompletionPolicy > &policies) |
Provides necessary customization of the TaskRunners. More... | |
Factory in charge of creating DataProcessorSpec of QC task.
o2::framework::DataProcessorSpec o2::quality_control::core::TaskRunnerFactory::create | ( | std::string | taskName, |
std::string | configurationSource, | ||
size_t | id = 0 , |
||
bool | resetAfterPublish = false |
||
) |
Creator of tasks.
taskName | - name of the task, which exists in tasks list in the configuration file |
configurationSource | - absolute path to configuration file, preceded with backend (f.e. "json://") |
id | - subSpecification for taskRunner's OutputSpec, useful to avoid outputs collisions one more complex topologies |
resetAfterPublish | - should taskRunner reset the user's task after each MO publication |
|
static |
Provides necessary customization of the TaskRunners.
Provides necessary customization of the Completion Policies of the TaskRunners. This is necessary to make them work. Put it inside customize() function before including <Framework/runDataProcessing.cxx>.
policies | - completion policies vector |