![]() |
Project
|
#include "DetectorsBase/Propagator.h"
#include "Framework/WorkflowSpec.h"
#include "Framework/ConfigParamSpec.h"
#include "Framework/CompletionPolicy.h"
#include "Framework/DeviceSpec.h"
#include "Algorithm/RangeTokenizer.h"
#include "DetectorsCommonDataFormats/DetID.h"
#include "CommonUtils/ConfigurableParam.h"
#include "Framework/CompletionPolicyHelpers.h"
#include "DetectorsRaw/HBFUtilsInitializer.h"
#include "TRDWorkflow/TRDTrapSimulatorSpec.h"
#include "TRDWorkflowIO/TRDTrackletWriterSpec.h"
#include "TRDWorkflowIO/TRDDigitReaderSpec.h"
#include "DataFormatsParameters/GRPObject.h"
#include <string>
#include "Framework/runDataProcessing.h"
Go to the source code of this file.
Functions | |
void | customize (std::vector< o2::framework::CallbacksPolicy > &policies) |
void | customize (std::vector< o2::framework::CompletionPolicy > &policies) |
void | customize (std::vector< o2::framework::ConfigParamSpec > &workflowoptions) |
WorkflowSpec | defineDataProcessing (ConfigContext const &configcontext) |
This function hooks up the the workflow specifications into the DPL driver. | |
void customize | ( | std::vector< o2::framework::CallbacksPolicy > & | policies | ) |
Definition at line 35 of file TRDTrapSimulatorWorkFlow.cxx.
void customize | ( | std::vector< o2::framework::CompletionPolicy > & | policies | ) |
Definition at line 40 of file TRDTrapSimulatorWorkFlow.cxx.
void customize | ( | std::vector< o2::framework::ConfigParamSpec > & | workflowoptions | ) |
Definition at line 46 of file TRDTrapSimulatorWorkFlow.cxx.
WorkflowSpec defineDataProcessing | ( | ConfigContext const & | configcontext | ) |
This function hooks up the the workflow specifications into the DPL driver.
This function is required to be implemented to define the workflow specifications
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 59 of file TRDTrapSimulatorWorkFlow.cxx.