29 std::this_thread::sleep_for(std::chrono::seconds((rand() % 5) + minDelay));
30 auto& bData = ctx.outputs().make<
int>(
OutputRef{what, subSpec}, 1);
47 std::this_thread::sleep_for(std::chrono::seconds(rand() % 2));
48 auto& aData = ctx.outputs().make<
int>(
OutputRef{
"a1"}, 1);
49 auto& bData = ctx.outputs().make<
int>(
OutputRef{
"a2"}, 1);
64 auto&
x = ctx.inputs().get<
int>(
"x");
65 std::cout <<
x << std::endl;
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
std::vector< InputSpec > select(char const *matcher="")
std::vector< OutputSpec > Outputs
WorkflowSpec defineDataProcessing(ConfigContext const &specs)
This function hooks up the the workflow specifications into the DPL driver.
AlgorithmSpec simplePipe(std::string const &what, o2::header::DataHeader::SubSpecificationType subSpec, int minDelay)