Project
Loading...
Searching...
No Matches
digits-to-preclusters-workflow.cxx
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
19
22#include "Framework/Task.h"
25
26using namespace o2;
27using namespace o2::framework;
28
29void customize(std::vector<ConfigParamSpec>& workflowOptions)
30{
31 workflowOptions.emplace_back(ConfigParamSpec{"input-digitrofs-data-description", VariantType::String, "TC-F-DIGITROFS", {"description string for the input ROF data"}});
32 workflowOptions.emplace_back(ConfigParamSpec{"input-digits-data-description", VariantType::String, "F-DIGITS", {"description string for the input digits data"}});
33 workflowOptions.emplace_back(ConfigParamSpec{"configKeyValues", VariantType::String, "", {"Semicolon separated key=value strings"}});
34}
35
37
39{
40 o2::conf::ConfigurableParam::updateFromString(cc.options().get<std::string>("configKeyValues"));
41 return {
43 "mch-preclustering",
44 cc.options().get<std::string>("input-digits-data-description"),
45 cc.options().get<std::string>("input-digitrofs-data-description"))};
46}
Definition of a data processor to run the preclusterizer.
static void updateFromString(std::string const &)
WorkflowSpec defineDataProcessing(const ConfigContext &cc)
void customize(std::vector< ConfigParamSpec > &workflowOptions)
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
std::vector< DataProcessorSpec > WorkflowSpec
o2::framework::DataProcessorSpec getPreClusterFinderSpec(const char *specName="PreClusterFinder", std::string_view inputDigitDataDescription="F-DIGITS", std::string_view inputDigitRofDataDescription="TC-F-DIGITROFS")
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::vector< o2::mch::ChannelCode > cc