20void customize(std::vector<ConfigParamSpec>& workflowOptions)
23 std::vector<ConfigParamSpec> options{
24 {
"use-process", VariantType::Bool,
false, {
"enable processor for data taking/dumping"}},
25 {
"dump-blocks-process", VariantType::Bool,
false, {
"enable dumping of event blocks at processor side"}},
26 {
"dump-blocks-reader", VariantType::Bool,
false, {
"enable dumping of event blocks at reader side"}},
27 {
"disable-root-output", VariantType::Bool,
false, {
"disable root-files output writers"}},
28 {
"ignore-dist-stf", VariantType::Bool,
false, {
"do not subscribe to FLP/DISTSUBTIMEFRAME/0 message (no lost TF recovery)"}},
29 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}}};
30 std::swap(workflowOptions, options);
33void customize(std::vector<o2::framework::CompletionPolicy>& policies)
47 auto useProcessor = configcontext.
options().
get<
bool>(
"use-process");
48 auto dumpProcessor = configcontext.
options().
get<
bool>(
"dump-blocks-process");
49 auto dumpReader = configcontext.
options().
get<
bool>(
"dump-blocks-reader");
50 auto disableRootOut = configcontext.
options().
get<
bool>(
"disable-root-output");
51 auto askSTFDist =
true;
52 auto notaskSTFDist = configcontext.
options().
get<
bool>(
"ignore-dist-stf");
54 LOG(info) <<
"Not subscribing to FLP/DISTSUBTIMEFRAME/0 message (no lost TF recovery)";
64 if (!disableRootOut) {
67 return std::move(specs);
static void updateFromString(std::string const &)
ConfigParamRegistry & options() const
T get(const char *key) const
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
framework::DataProcessorSpec getZDCDigitWriterDPLSpec(bool mctruth, bool simVersion)
create a processor spec
framework::DataProcessorSpec getZDCDataReaderDPLSpec(const RawReaderZDC &rawReader, const bool askSTFDist)
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
This function hooks up the the workflow specifications into the DPL driver.
void customize(std::vector< ConfigParamSpec > &workflowOptions)
static CompletionPolicy consumeWhenAllOrdered(const char *name, CompletionPolicy::Matcher matcher)
as consumeWhenAll, but ensures that records are processed with incremental timeSlice (DataHeader::sta...
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"