26void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
31void customize(std::vector<ConfigParamSpec>& workflowOptions)
34 std::vector<o2::framework::ConfigParamSpec> options{
38 {
"data-sources", VariantType::String, std::string{
GID::ALL}, {
"comma-separated list of sources to use"}},
39 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}}};
42 std::swap(workflowOptions, options);
50 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
51 bool enableSV = !configcontext.
options().
get<
bool>(
"disable-secondary-vertices");
52 GID::mask_t allowedSrc =
GID::getSourcesMask(
"ITS,TPC,ITS-TPC,ITS-TPC-TOF,TPC-TOF,FT0,FV0,FDD,TPC-TRD,ITS-TPC-TRD,FT0,FV0,FDD,CTP");
67 return std::move(specs);
Global index for barrel track: provides provenance (detectors combination), index in respective array...
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
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)
DataProcessorSpec getDataFilteringSpec(GID::mask_t src, bool enableSV, bool useMC)
create a processor spec
Defining ITS Vertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
static void addConfigOption(std::vector< o2::framework::ConfigParamSpec > &opts)
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))