QualityControl  1.5.1
O2 Data Quality Control Framework
o2::quality_control::core::TaskRunnerFactory Class Reference

Factory in charge of creating DataProcessorSpec of QC task. More...

#include <TaskRunnerFactory.h>

Collaboration diagram for o2::quality_control::core::TaskRunnerFactory:

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...

Detailed Description

Factory in charge of creating DataProcessorSpec of QC task.

Member Function Documentation

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
void o2::quality_control::core::TaskRunnerFactory::customizeInfrastructure ( std::vector< framework::CompletionPolicy > &  policies)

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

The documentation for this class was generated from the following files: