36void customize(std::vector<CallbacksPolicy>& policies)
41void customize(std::vector<CompletionPolicy>& policies)
47void customize(std::vector<ConfigParamSpec>& workflowOptions)
50 std::vector<ConfigParamSpec> options{
51 {
"digits-from-upstream", VariantType::Bool,
false, {
"digits will be provided from upstream, skip digits reader"}},
52 {
"clusters-from-upstream", VariantType::Bool,
false, {
"clusters will be provided from upstream, skip clusterizer"}},
53 {
"disable-root-output", VariantType::Bool,
false, {
"do not write output root files"}},
54 {
"disable-mc", VariantType::Bool,
false, {
"disable MC propagation even if available"}},
57 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings"}}
61 std::swap(workflowOptions, options);
70 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
74 auto extDigits = configcontext.
options().
get<
bool>(
"digits-from-upstream");
75 auto extClusters = configcontext.
options().
get<
bool>(
"clusters-from-upstream");
76 auto disableRootOutput = configcontext.
options().
get<
bool>(
"disable-root-output");
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
o2::framework::WorkflowSpec defineDataProcessing(o2::framework::ConfigContext const &configcontext)
This function hooks up the the workflow specifications into the DPL driver.
void customize(std::vector< CallbacksPolicy > &policies)
Defining ITS Vertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
o2::framework::WorkflowSpec getWorkflow(bool useMC, bool upstreamDigits=false, bool upstreamClusters=false, bool disableRootOutput=false)
static CompletionPolicy consumeWhenAllOrdered(const char *name, CompletionPolicy::Matcher matcher)
as consumeWhenAll, but ensures that records are processed with incremental timeSlice (DataHeader::sta...