32void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
38void customize(std::vector<ConfigParamSpec>& workflowOptions)
41 std::vector<o2::framework::ConfigParamSpec> options{
43 {
"track-sources", VariantType::String, std::string{
GID::ALL}, {
"comma-separated list of track sources to use"}},
44 {
"cluster-sources", VariantType::String,
"TPC,TOF", {
"comma-separated list of cluster sources to use"}},
45 {
"disable-root-input", VariantType::Bool,
false, {
"disable root-files input reader"}},
46 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}}};
50 std::swap(workflowOptions, options);
61 GID::mask_t allowedSourcesTrc =
GID::getSourcesMask(
"ITS,MFT,TPC,MCH,MCH-MID,MFT-MCH,ITS-TPC,TPC-TOF,TPC-TRD,ITS-TPC-TRD,TPC-TRD-TOF,ITS-TPC-TOF,ITS-TPC-TRD-TOF,EMC,PHS,CPV,FT0,FV0,FDD");
62 GID::mask_t allowedSourcesClus =
GID::getSourcesMask(
"ITS,MFT,TPC,MCH,MCH-MID,MFT-MCH,ITS-TPC,TPC-TOF,TPC-TRD,ITS-TPC-TRD,TPC-TRD-TOF,ITS-TPC-TOF,ITS-TPC-TRD-TOF,EMC,PHS,CPV,FT0,FV0,FDD");
67 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
71 if (sclOpt.requestCTPLumi) {
74 if (!configcontext.
options().
get<
bool>(
"disable-root-input")) {
85 return std::move(specs);
Helper class to parse options for correction maps.
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
static void addGlobalOptions(std::vector< o2::framework::ConfigParamSpec > &options)
static CorrectionMapsGloOpts parseGlobalOptions(const o2::framework::ConfigParamRegistry &opts)
Defining ITS Vertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
@ TPCScaler
use TPC scaler for scaling
o2::framework::DataProcessorSpec getTPCScalerSpec(bool enableIDCs, bool enableMShape, const o2::tpc::CorrectionMapsGloOpts &sclOpts)
o2::framework::DataProcessorSpec getTrackingStudySpec(o2::dataformats::GlobalTrackID::mask_t srcTracks, o2::dataformats::GlobalTrackID::mask_t srcClus, bool useMC)
create a processor spec
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))
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)