Project
Loading...
Searching...
No Matches
DataProcessorSpec.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11#ifndef O2_FRAMEWORK_DATAPROCESSORSPEC_H_
12#define O2_FRAMEWORK_DATAPROCESSORSPEC_H_
13
17#include "Framework/DataRef.h"
19#include "Framework/InputSpec.h"
22
23#include <string>
24#include <vector>
25
26namespace o2::framework
27{
28
29using Inputs = std::vector<InputSpec>;
30using Outputs = std::vector<OutputSpec>;
31using Options = std::vector<ConfigParamSpec>;
32
34class ServiceRegistry;
35
37 std::string key;
38 std::string value;
39};
40
42 std::string name;
46
61 std::vector<DataProcessorLabel> labels = {};
62
65 std::vector<DataProcessorMetadata> metadata = {};
66
67 // FIXME: for the moment I put them here, but it's a hack
68 // since we do not want to expose this to users...
69 // Maybe we should have a ParallelGroup kind of node
70 // which embdes them and hides them from users.
71 size_t rank = 0;
72 size_t nSlots = 1;
79 size_t inputTimeSliceId = 0;
81};
82
83} // namespace o2::framework
84
85#endif // O2_FRAMEWORK_DATAPROCESSORSPEC_H_
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
std::vector< ConfigParamSpec > Options
std::vector< InputSpec > Inputs
std::vector< OutputSpec > Outputs
static std::vector< ServiceSpec > defaultServices(std::string extraPlugins="", int numWorkers=0)
Split a string into a vector of strings using : as a separator.
std::vector< DataProcessorMetadata > metadata
std::vector< ServiceSpec > requiredServices
std::vector< DataProcessorLabel > labels