24void customize(std::vector<o2::framework::CompletionPolicy>& policies)
31void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
34 workflowOptions.push_back(
38 {
"in case of extended TCM mode (1 header + 1 TCMdata + 8 "
39 "TCMdataExtended)"}});
41 workflowOptions.push_back(
45 {
"enable dumping of event blocks at reader side"}});
46 workflowOptions.push_back(
50 {
"disable root-files output writers"}});
51 workflowOptions.push_back(
55 {
"Semicolon separated key=value strings"}});
56 workflowOptions.push_back(
60 {
"do not subscribe to FLP/DISTSUBTIMEFRAME/0 message (no lost TF recovery)"}});
61 workflowOptions.push_back(
65 {
"SUB_RAWDATA DPL channel will be used as input, in case of dispatcher usage"}});
66 workflowOptions.push_back(
70 {
"Disable DPL CCDB fetcher, channel map will be uploaded during initialization by taking last entry in CCDB"}});
79 LOG(info) <<
"WorkflowSpec defineDataProcessing";
80 auto dumpReader = configcontext.
options().
get<
bool>(
"dump-blocks-reader");
81 auto isExtendedMode = configcontext.
options().
get<
bool>(
"tcm-extended-mode");
82 auto disableRootOut = configcontext.
options().
get<
bool>(
"disable-root-output");
83 auto askSTFDist = !configcontext.
options().
get<
bool>(
"ignore-dist-stf");
84 const auto isSubSampled = configcontext.
options().
get<
bool>(
"input-sub-sampled");
85 const auto disableDplCcdbFetcher = configcontext.
options().
get<
bool>(
"disable-dpl-ccdb-fetcher");
87 LOG(info) <<
"WorkflowSpec FLPWorkflow";
99 if (!disableRootOut) {
104 if (!disableRootOut) {
108 return std::move(specs);
Definition of a container to keep Monte Carlo truth external to simulation objects.
static void updateFromString(std::string const &)
ConfigParamRegistry & options() const
T get(const char *key) const
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
void customize(std::vector< o2::framework::CompletionPolicy > &policies)
constexpr o2::header::DataOrigin gDataOriginFV0
framework::DataProcessorSpec getFITDataReaderDPLSpec(const RawReaderType &rawReader, bool askSTFDist, bool isSubSampled, bool disableDplCcdbFetcher)
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
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"