40void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
46void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
49 std::vector<o2::framework::ConfigParamSpec> options{
53 {
"track-sources", VariantType::String, std::string{
GID::ALL}, {
"comma-separated list of sources to use"}},
54 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}}};
57 std::swap(workflowOptions, options);
63void customize(std::vector<o2::framework::CompletionPolicy>& policies)
87 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
88 auto disableRootOut = configcontext.
options().
get<
bool>(
"disable-root-output");
100 if (sclOpt.requestCTPLumi) {
105 if (sclOpt.needTPCScalersWorkflow() && !configcontext.
options().
get<
bool>(
"disable-root-input")) {
112 if (!disableRootOut) {
119 return std::move(specs);
Device to produce TPC clusters sharing map.
Helper class to access load maps from CCDB.
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
static void addGlobalOptions(std::vector< o2::framework::ConfigParamSpec > &options)
static CorrectionMapsLoaderGloOpts parseGlobalOptions(const o2::framework::ConfigParamRegistry &opts)
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
framework::DataProcessorSpec getTrackCosmicsWriterSpec(bool useMC)
framework::DataProcessorSpec getCosmicsMatchingSpec(o2::dataformats::GlobalTrackID::mask_t src, bool useMC, const o2::tpc::CorrectionMapsLoaderGloOpts &sclOpts)
create a processor spec
o2::framework::DataProcessorSpec getTPCScalerSpec(bool enableIDCs, bool enableMShape)
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))