23void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
28void customize(std::vector<o2::framework::CompletionPolicy>& policies)
35void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
38 std::vector<o2::framework::ConfigParamSpec> options{
43 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings"}}};
45 std::swap(workflowOptions, options);
54 LOG(info) <<
"WorkflowSpec defineDataProcessing";
60 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
61 auto disableRootInp = configcontext.
options().
get<
bool>(
"disable-root-input");
62 auto disableRootOut = configcontext.
options().
get<
bool>(
"disable-root-output");
63 bool useDeadChannelMap = !configcontext.
options().
get<
bool>(
"disable-dead-channel-map");
65 LOG(info) <<
"WorkflowSpec getRecoWorkflow useMC " << useMC;
Definition of the Names Generator class.
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
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
framework::WorkflowSpec getRecoWorkflow(bool useMC, bool disableRootInp, bool disableRootOut, bool useDeadChannelMap)
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))
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"