Project
Loading...
Searching...
No Matches
test_SimpleCondition.cxx File Reference
#include "Framework/DataRefUtils.h"
#include "Framework/AlgorithmSpec.h"
#include "Framework/ServiceRegistry.h"
#include "Framework/runDataProcessing.h"
#include <Monitoring/Monitoring.h>
#include "Framework/ControlService.h"
#include "Framework/CallbackService.h"
#include "Framework/Logger.h"

Go to the source code of this file.

Typedefs

using DataHeader = o2::header::DataHeader
 

Functions

WorkflowSpec defineDataProcessing (ConfigContext const &)
 This function hooks up the the workflow specifications into the DPL driver.
 

Typedef Documentation

◆ DataHeader

Definition at line 21 of file test_SimpleCondition.cxx.

Function Documentation

◆ defineDataProcessing()

WorkflowSpec defineDataProcessing ( ConfigContext const &  configcontext)

This function hooks up the the workflow specifications into the DPL driver.

This shows how to get a condition for the origin "TES" and the description "STRING".

We define at run time the number of devices to be attached to the workflow and the input matching string of the device. This is is done with a configuration string like the following one, where the input matching for each device is provide in comma-separated strings. For instance

A:TOF/RAWDATA/768;B:TOF/RAWDATA/1024,C:TOF/RAWDATA/1280;D:TOF/RAWDATA/1536

will lead to a workflow with 2 devices which will input match

tof-compressor-0 --> A:TOF/RAWDATA/768;B:TOF/RAWDATA/1024 tof-compressor-1 --> C:TOF/RAWDATA/1280;D:TOF/RAWDATA/1536

Definition at line 25 of file test_SimpleCondition.cxx.