diff --git a/DATA/common/setenv.sh b/DATA/common/setenv.sh index 2f11efdf8..3cefedeca 100755 --- a/DATA/common/setenv.sh +++ b/DATA/common/setenv.sh @@ -169,6 +169,9 @@ ITSMFT_STROBES="" [[ ! -z ${ITS_STROBE:-} ]] && ITSMFT_STROBES+="ITSAlpideParam.roFrameLengthInBC=$ITS_STROBE;" [[ ! -z ${MFT_STROBE:-} ]] && ITSMFT_STROBES+="MFTAlpideParam.roFrameLengthInBC=$MFT_STROBE;" +MFTMCH_NCANDIDATES_OPT= +[[ ! -z ${MUON_MATCHING_NCANDIDATES:-} ]] && MFTMCH_NCANDIDATES_OPT+="FwdMatching.saveMode=3;FwdMatching.nCandidates=${MUON_MATCHING_NCANDIDATES};" + # Set active reconstruction steps (defaults added according to SYNCMODE) for i in `echo $LIST_OF_GLORECO | sed "s/,/ /g"`; do diff --git a/DATA/production/configurations/asyncReco/setenv_extra.sh b/DATA/production/configurations/asyncReco/setenv_extra.sh index 987819c2f..067c66cd3 100644 --- a/DATA/production/configurations/asyncReco/setenv_extra.sh +++ b/DATA/production/configurations/asyncReco/setenv_extra.sh @@ -608,10 +608,6 @@ if [[ -z "${MUON_MATCHING_NCANDIDATES:-}" ]]; then if [[ $BEAMTYPE == "pp" ]]; then MUON_MATCHING_NCANDIDATES=5; fi if [[ $BEAMTYPE == "PbPb" ]]; then MUON_MATCHING_NCANDIDATES=20; fi fi -if [[ "x${MUON_MATCHING_NCANDIDATES}" != "x0" ]]; then - export CONFIG_EXTRA_PROCESS_o2_globalfwd_matcher_workflow+=";FwdMatching.saveMode=3;FwdMatching.nCandidates=${MUON_MATCHING_NCANDIDATES};" -fi - # possibly adding calib steps as done online # could be done better, so that more could be enabled in one go