25void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
25void customize(std::vector<o2::framework::CallbacksPolicy>& policies) {
…}
30void customize(std::vector<ConfigParamSpec>& workflowOptions)
33 std::vector<o2::framework::ConfigParamSpec> options{
37 {
"data-sources", VariantType::String, std::string{
GID::ALL}, {
"comma-separated list of sources to use"}},
38 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}}};
40 std::swap(workflowOptions, options);
30void customize(std::vector<ConfigParamSpec>& workflowOptions) {
…}
48 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
49 bool enableSV = !configcontext.
options().
get<
bool>(
"disable-secondary-vertices");
50 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");
65 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 PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
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))