Project
Loading...
Searching...
No Matches
FileReaderWorkflow.cxx File Reference

Go to the source code of this file.

Enumerations

enum struct  InputType { Clusters , Tracks }
 

Functions

void customize (std::vector< o2::framework::CallbacksPolicy > &policies)
 
void customize (std::vector< o2::framework::ConfigParamSpec > &workflowOptions)
 
WorkflowSpec defineDataProcessing (ConfigContext const &cfgc)
 This function hooks up the the workflow specifications into the DPL driver.
 

Variables

const std::unordered_map< std::string, InputTypeInputMap
 

Enumeration Type Documentation

◆ InputType

enum struct InputType
strong
Enumerator
Clusters 
Tracks 

Definition at line 49 of file FileReaderWorkflow.cxx.

Function Documentation

◆ customize() [1/2]

void customize ( std::vector< o2::framework::CallbacksPolicy > &  policies)

Definition at line 26 of file FileReaderWorkflow.cxx.

◆ customize() [2/2]

void customize ( std::vector< o2::framework::ConfigParamSpec > &  workflowOptions)

Definition at line 33 of file FileReaderWorkflow.cxx.

◆ defineDataProcessing()

WorkflowSpec defineDataProcessing ( ConfigContext const &  cfgc)

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

MC info is processed by default, disabled by using command line option --disable-mc

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

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 60 of file FileReaderWorkflow.cxx.

Variable Documentation

◆ InputMap

const std::unordered_map<std::string, InputType> InputMap
Initial value:
{
{"clusters", InputType::Clusters},
{"tracks", InputType::Tracks}}

Definition at line 53 of file FileReaderWorkflow.cxx.