31void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
37void customize(std::vector<ConfigParamSpec>& workflowOptions)
40 std::vector<o2::framework::ConfigParamSpec> options{
42 {
"track-sources", VariantType::String, std::string{
GID::ALL}, {
"comma-separated list of track sources to use"}},
43 {
"cluster-sources", VariantType::String,
"ITS", {
"comma-separated list of cluster sources to use"}},
44 {
"disable-root-input", VariantType::Bool,
false, {
"disable root-files input reader"}},
45 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}}};
48 std::swap(workflowOptions, options);
65 auto useMC = configcontext.
options().
get<
bool>(
"enable-mc");
77 return std::move(specs);
Helper class to access load maps from CCDB.
Global index for barrel track: provides provenance (detectors combination), index in respective array...
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)
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
o2::framework::DataProcessorSpec getCheckResidSpec(o2::dataformats::GlobalTrackID::mask_t srcTracks, o2::dataformats::GlobalTrackID::mask_t srcClus, 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))