35void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
40void customize(std::vector<o2::framework::CompletionPolicy>& policies)
47void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
50 std::vector<o2::framework::ConfigParamSpec> options{
54 {
"track-sources", VariantType::String, std::string{
GID::ALL}, {
"comma-separated list of sources to use: allowed TPC-TOF,ITS-TPC-TOF,TPC-TRD-TOF,ITS-TPC-TRD-TOF (all)"}},
55 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}}};
57 std::swap(workflowOptions, options);
73 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
75 LOG(
debug) <<
"TOF MATCHER WORKFLOW configuration";
76 LOG(
debug) <<
"TOF track inputs = " << configcontext.
options().
get<std::string>(
"track-sources");
77 LOG(
debug) <<
"TOF disable-mc = " << configcontext.
options().
get<std::string>(
"disable-mc");
87 mcmaskcl |= GID::getSourceMask(
GID::TOF);
96 return std::move(specs);
Global index for barrel track: provides provenance (detectors combination), index in respective array...
Helper function to tokenize sequences and ranges of integral numbers.
DPL completion policy helper for TPC scetor data.
static void writeINI(std::string const &filename, std::string const &keyOnly="")
static void updateFromString(std::string const &)
Static class with identifiers, bitmasks and names for ALICE detectors.
ConfigParamRegistry & options() const
T get(const char *key) const
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
framework::DataProcessorSpec getTOFMatchCheckerSpec(o2::dataformats::GlobalTrackID::mask_t src, bool useMC)
create a processor spec
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"
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)