27void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
32void customize(std::vector<ConfigParamSpec>& workflowOptions)
35 std::vector<o2::framework::ConfigParamSpec> options{
43 {
"info-sources", VariantType::String, std::string{
GID::ALL}, {
"comma-separated list of sources to use"}},
44 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}},
49 std::swap(workflowOptions, options);
57 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
58 bool enableSV = !configcontext.
options().
get<
bool>(
"disable-secondary-vertices");
59 bool enableST = !configcontext.
options().
get<
bool>(
"disable-strangeness-tracker");
60 bool ctpcfgperrun = !configcontext.
options().
get<
bool>(
"ctpconfig-run-independent");
61 bool enableFITextra = configcontext.
options().
get<
bool>(
"enable-FIT-extra");
62 bool enableTRDextra = configcontext.
options().
get<
bool>(
"enable-TRD-extra");
64 GID::mask_t allowedSrc =
GID::getSourcesMask(
"ITS,MFT,MCH,MID,MCH-MID,TPC,TRD,ITS-TPC,TPC-TOF,TPC-TRD,ITS-TPC-TOF,ITS-TPC-TRD,TPC-TRD-TOF,ITS-TPC-TRD-TOF,MFT-MCH,FT0,FV0,FDD,ZDC,EMC,CTP,PHS,CPV,HMP");
69 src.set(o2::detectors::DetID::TOF);
87 if (configcontext.
options().
get<
bool>(
"combine-source-devices")) {
88 std::vector<DataProcessorSpec> unmerged;
89 specs.push_back(
specCombiner(
"AOD-input-reader", inputspecs, unmerged));
90 for (
auto& is : unmerged) {
94 for (
auto&
s : inputspecs) {
102 return std::move(specs);
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error s
Global index for barrel track: provides provenance (detectors combination), index in respective array...
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)
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
framework::DataProcessorSpec getAODProducerWorkflowSpec(GID::mask_t src, bool enableSV, bool enableST, bool useMC, bool CTPConfigPerRun, bool enableFITextra, bool enableTRDextra)
create a processor spec
Defining ITS Vertex explicitly as messageable.
o2::framework::DataProcessorSpec specCombiner(std::string const &name, std::vector< DataProcessorSpec > const &speccollection, std::vector< DataProcessorSpec > &remaining)
std::vector< DataProcessorSpec > WorkflowSpec
static void addConfigOption(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))