23void customize(std::vector<CallbacksPolicy>& policies)
28void customize(std::vector<CompletionPolicy>& policies)
34void customize(std::vector<ConfigParamSpec>& workflowOptions)
37 std::vector<ConfigParamSpec> options{
38 {
"digits-from-upstream", VariantType::Bool,
false, {
"digits will be provided from upstream, skip digits reader"}},
39 {
"clusters-from-upstream", VariantType::Bool,
false, {
"clusters will be provided from upstream, skip clusterizer"}},
40 {
"disable-root-output", VariantType::Bool,
false, {
"do not write output root files"}},
41 {
"disable-mc", VariantType::Bool,
false, {
"disable MC propagation even if available"}},
42 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings"}}};
43 std::swap(workflowOptions, options);
52 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
53 auto extDigits = configcontext.
options().
get<
bool>(
"digits-from-upstream");
54 auto extClusters = configcontext.
options().
get<
bool>(
"clusters-from-upstream");
55 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
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...
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
This function hooks up the the workflow specifications into the DPL driver.
void customize(std::vector< CallbacksPolicy > &policies)