47 {
"dataTPC",
"TPC",
"CLUSTERS"}},
49 {
"TPC",
"CLUSTERS_P"}},
56 {
"dataTPC-sampled",
"TPC",
"CLUSTERS", 0, Lifetime::Timeframe},
66 std::this_thread::sleep_for(std::chrono::seconds(1));
72 for (
auto& cluster : tpcClusters) {
77 cluster.q = rand() % 1000;
86 const FakeCluster* inputDataTpc =
reinterpret_cast<const FakeCluster*
>(ctx.inputs().get(
"dataTPC").payload);
88 auto processedTpcClusters =
92 for (
auto& cluster : processedTpcClusters) {
94 cluster.x = -inputDataTpc[
i].
x;
95 cluster.y = 2 * inputDataTpc[
i].
y;
96 cluster.z = inputDataTpc[
i].
z * inputDataTpc[
i].
q;
97 cluster.q = inputDataTpc[
i].
q;
Defining ITS Vertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
DataProcessorSpec timePipeline(DataProcessorSpec original, size_t count)
std::vector< InputSpec > Inputs
std::vector< OutputSpec > Outputs
std::function< void(ProcessingContext &)> ProcessCallback
size_t collectionChunkSize
void someProcessingStageAlgorithm(ProcessingContext &ctx)
void someDataProducerAlgorithm(ProcessingContext &ctx)
WorkflowSpec defineDataProcessing(ConfigContext const &)
This function hooks up the the workflow specifications into the DPL driver.