34void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
39void customize(std::vector<CompletionPolicy>& policies)
46void customize(std::vector<ConfigParamSpec>& workflowOptions)
49 workflowOptions.emplace_back(
"disable-root-input", VariantType::Bool,
false,
51 workflowOptions.emplace_back(
"disable-root-output", VariantType::Bool,
false,
53 workflowOptions.emplace_back(
"disable-mc", VariantType::Bool,
false,
55 workflowOptions.emplace_back(
"configKeyValues", VariantType::String,
"",
66 auto disableRootOutput = configcontext.
options().
get<
bool>(
"disable-root-output");
67 auto disableRootInput = configcontext.
options().
get<
bool>(
"disable-root-input");
68 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
72 if (!disableRootInput) {
79 if (!disableRootOutput) {
Definition of a data processor to match MCH and MID tracks.
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
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
o2::framework::DataProcessorSpec getTrackReaderSpec(bool useMC, const char *specName="mch-tracks-reader", bool digits=false, uint32_t subspec=0)
o2::framework::DataProcessorSpec getTrackReaderSpec(bool useMC, const char *specName="mid-tracks-reader")
DataProcessorSpec getTrackWriterSpec(bool useMC, const char *specName, const char *fileName)
DataProcessorSpec getTrackMatcherSpec(bool useMC, const char *name)
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))
WorkflowSpec defineDataProcessing(const ConfigContext &configcontext)
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)