Skip to content

Commit 7225bc1

Browse files
committed
uniform disable-strangeness-tracker opt., enable str.tracker by default
1 parent 7c20c6b commit 7225bc1

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Detectors/AOD/src/aod-producer-workflow.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void customize(std::vector<ConfigParamSpec>& workflowOptions)
3636
{"disable-root-output", o2::framework::VariantType::Bool, false, {"disable root-files output writer"}},
3737
{"disable-mc", o2::framework::VariantType::Bool, false, {"disable MC propagation"}},
3838
{"disable-secondary-vertices", o2::framework::VariantType::Bool, false, {"disable filling secondary vertices"}},
39-
{"disable-strangeness-tracking", o2::framework::VariantType::Bool, false, {"disable filling strangeness tracking"}},
39+
{"disable-strangeness-tracker", o2::framework::VariantType::Bool, false, {"disable filling strangeness tracking"}},
4040
{"info-sources", VariantType::String, std::string{GID::ALL}, {"comma-separated list of sources to use"}},
4141
{"configKeyValues", VariantType::String, "", {"Semicolon separated key=value strings ..."}},
4242
{"combine-source-devices", o2::framework::VariantType::Bool, false, {"merge DPL source devices"}},
@@ -52,7 +52,7 @@ WorkflowSpec defineDataProcessing(ConfigContext const& configcontext)
5252
o2::conf::ConfigurableParam::updateFromString(configcontext.options().get<std::string>("configKeyValues"));
5353
auto useMC = !configcontext.options().get<bool>("disable-mc");
5454
bool enableSV = !configcontext.options().get<bool>("disable-secondary-vertices");
55-
bool enableST = !configcontext.options().get<bool>("disable-strangeness-tracking");
55+
bool enableST = !configcontext.options().get<bool>("disable-strangeness-tracker");
5656
bool ctpcfgperrun = !configcontext.options().get<bool>("ctpconfig-run-independent");
5757

5858
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");

prodtests/full-system-test/dpl-workflow.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ EMCRAW2C_CONFIG=
8787
PHS_CONFIG=
8888
MCH_CONFIG_KEY=
8989
CTP_CONFIG=
90+
: ${STRTRACKING:=}
9091
: ${ITSEXTRAERR:=}
9192
: ${TRACKTUNETPCINNER:=}
9293
: ${ITSTPC_CONFIG_KEY:=}
@@ -145,17 +146,13 @@ fi
145146

146147
if [[ $BEAMTYPE == "PbPb" ]]; then
147148
PVERTEXING_CONFIG_KEY+="pvertexer.maxChi2TZDebris=2000;"
148-
: ${STRTRACKING:=" --disable-strangeness-tracker "}
149-
AODPROD_OPT+=" --disable-strangeness-tracking "
150149
elif [[ $BEAMTYPE == "pp" ]]; then
151150
PVERTEXING_CONFIG_KEY+="pvertexer.maxChi2TZDebris=10;"
152-
: ${STRTRACKING:=" "}
153151
fi
154152

155153
if [[ $BEAMTYPE == "cosmic" ]]; then
156154
[[ -z ${ITS_CONFIG+x} ]] && ITS_CONFIG=" --tracking-mode cosmics"
157155
: ${STRTRACKING:=" --disable-strangeness-tracker "}
158-
AODPROD_OPT+=" --disable-strangeness-tracking "
159156
elif [[ $SYNCMODE == 1 ]]; then
160157
[[ -z ${ITS_CONFIG+x} ]] && ITS_CONFIG=" --tracking-mode sync"
161158
else
@@ -566,6 +563,7 @@ workflow_has_parameter GPU_DISPLAY && [[ $NUMAID == 0 ]] && add_W o2-gpu-display
566563
# ---------------------------------------------------------------------------------------------------------------------
567564
# AOD
568565
[[ ${SECTVTX_ON:-} != "1" ]] && AODPROD_OPT+=" --disable-secondary-vertices "
566+
AODPROD_OPT+=" $STRTRACKING "
569567
workflow_has_parameter AOD && [[ ! -z "$AOD_INPUT" ]] && add_W o2-aod-producer-workflow "$AODPROD_OPT --info-sources $AOD_INPUT $DISABLE_ROOT_INPUT --aod-writer-keep dangling --aod-writer-resfile \"AO2D\" --aod-writer-resmode UPDATE $DISABLE_MC --pipeline $(get_N aod-producer-workflow AOD REST 1 AODPROD)"
570568

571569
# ---------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)