41void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
47void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
50 std::vector<o2::framework::ConfigParamSpec> options{
55 {
"track-sources", VariantType::String, std::string{
GID::ALL}, {
"comma-separated list of sources to use"}},
56 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}}};
60 std::swap(workflowOptions, options);
66void customize(std::vector<o2::framework::CompletionPolicy>& policies)
90 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
91 auto disableRootOut = configcontext.
options().
get<
bool>(
"disable-root-output");
103 if (sclOpt.requestCTPLumi) {
109 if (!configcontext.
options().
get<
bool>(
"disable-root-input")) {
112 bool usePV = configcontext.
options().
get<
bool>(
"use-pv-info");
120 if (!disableRootOut) {
127 return std::move(specs);
Device to produce TPC clusters sharing map.
Helper class to parse options for correction maps.
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 CorrectionMapsGloOpts parseGlobalOptions(const o2::framework::ConfigParamRegistry &opts)
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)
Defining ITS Vertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
framework::DataProcessorSpec getTrackCosmicsWriterSpec(bool useMC)
framework::DataProcessorSpec getCosmicsMatchingSpec(o2::dataformats::GlobalTrackID::mask_t src, bool usePV, bool useMC)
create a processor spec
@ TPCScaler
use TPC scaler for scaling
o2::framework::DataProcessorSpec getTPCScalerSpec(bool enableIDCs, bool enableMShape, const o2::tpc::CorrectionMapsGloOpts &sclOpts)
static CompletionPolicy consumeWhenAllOrdered(const char *name, CompletionPolicy::Matcher matcher)
as consumeWhenAll, but ensures that records are processed with incremental timeSlice (DataHeader::sta...
static void addITSConfigOption(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))