32void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
37void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
40 std::vector<o2::framework::ConfigParamSpec> options{
45 {
"track-sources", VariantType::String,
"TPC", {
"comma-separated list of sources to use: TPC,TPC-TOF,TPC-TRD,TPC-TRD-TOF"}},
48 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}}};
51 std::swap(workflowOptions, options);
56void customize(std::vector<o2::framework::CompletionPolicy>& policies)
80 auto useGeom = configcontext.
options().
get<
bool>(
"use-full-geometry");
81 auto useFT0 = configcontext.
options().
get<
bool>(
"use-ft0");
85 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
86 auto calib = configcontext.
options().
get<
bool>(
"produce-calibration-data");
88 if (sclOpt.requestCTPLumi) {
93 if (sclOpt.needTPCScalersWorkflow() && !configcontext.
options().
get<
bool>(
"disable-root-input")) {
98 if (!configcontext.
options().
get<
bool>(
"disable-root-output")) {
108 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...
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 &)
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)
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
framework::DataProcessorSpec getTrackWriterTPCITSSpec(bool useMC)
framework::DataProcessorSpec getTPCITSMatchingSpec(o2::dataformats::GlobalTrackID::mask_t src, bool useFT0, bool calib, bool skipTPCOnly, bool useGeom, 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))
WorkflowSpec defineDataProcessing(o2::framework::ConfigContext const &configcontext)
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)