29void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
35void customize(std::vector<ConfigParamSpec>& workflowOptions)
38 std::vector<o2::framework::ConfigParamSpec> options{
40 {
"track-sources", VariantType::String, std::string{
GID::ALL}, {
"comma-separated list of track sources to use"}},
41 {
"disable-root-input", VariantType::Bool,
false, {
"disable root-files input reader"}},
42 {
"ignore-tpc-occ", VariantType::Bool,
false, {
"do not fill TPC occupancy (needs TPC clusters)"}},
43 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}}};
45 std::swap(workflowOptions, options);
61 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
65 bool fillTPCOcc = !configcontext.
options().
get<
bool>(
"ignore-tpc-occ");
77 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
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
o2::framework::DataProcessorSpec getSVStudySpec(o2::dataformats::GlobalTrackID::mask_t srcTracks, o2::dataformats::GlobalTrackID::mask_t srcCls, bool useMC)
create a processor spec
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))
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)