28void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
33void customize(std::vector<o2::framework::CompletionPolicy>& policies)
40void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
43 std::vector<o2::framework::ConfigParamSpec> options{
48 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}}};
50 std::swap(workflowOptions, options);
64 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
66 bool disableRootOutput = configcontext.
options().
get<
bool>(
"disable-root-output");
67 bool matchRootOutput = configcontext.
options().
get<
bool>(
"enable-match-output");
77 if (!disableRootOutput) {
81 if (matchRootOutput && (!disableRootOutput)) {
85 if (matchingParam.isMatchUpstream()) {
89 if (matchingParam.useMIDMatch) {
98 return std::move(specs);
Global index for barrel track: provides provenance (detectors combination), index in respective array...
static const GlobalFwdMatchingParam & Instance()
static void writeINI(std::string const &filename, std::string const &keyOnly="")
static void updateFromString(std::string const &)
ConfigParamRegistry & options() const
T get(const char *key) const
WorkflowSpec defineDataProcessing(o2::framework::ConfigContext const &configcontext)
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
framework::DataProcessorSpec getGlobalFwdTrackWriterSpec(bool useMC)
framework::DataProcessorSpec getGlobalFwdMatchingSpec(bool useMC, bool matchRootOutput)
create a processor spec
framework::DataProcessorSpec getMFTMCHMatchesWriterSpec(bool useMC)
static CompletionPolicy consumeWhenAllOrdered(const char *name, CompletionPolicy::Matcher matcher)
as consumeWhenAll, but ensures that records are processed with incremental timeSlice (DataHeader::sta...
static void addNewTimeSliceCallback(std::vector< o2::framework::CallbacksPolicy > &policies)
static void addConfigOption(std::vector< o2::framework::ConfigParamSpec > &opts, const std::string &defOpt=std::string(o2::base::NameConf::DIGITIZATIONCONFIGFILE))