Skip to content

Commit

Permalink
Set default ED options depending on RUNTYPE
Browse files Browse the repository at this point in the history
  • Loading branch information
martenole committed Feb 20, 2024
1 parent a7f1ef5 commit 1bcb728
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion prodtests/full-system-test/dpl-workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,12 @@ if [[ ! -z ${EVE_NTH_EVENT:-} ]]; then
EVE_CONFIG+=" --only-nth-event=$EVE_NTH_EVENT"
fi

if [[ $RUNTYPE == "SYNTHETIC" ]]; then
EVE_CONFIG+=" --number-of_files 20"
elif [[ $RUNTYPE == "PHYSICS" ]]; then
EVE_CONFIG+=" --primary-vertex-triggers"
fi

if [[ $GPUTYPE != "CPU" && $NUMAGPUIDS != 0 ]] && [[ -z ${ROCR_VISIBLE_DEVICES:-} || ${ROCR_VISIBLE_DEVICES:-} = "0,1,2,3,4,5,6,7" || ${ROCR_VISIBLE_DEVICES:-} = "0,1,2,3" || ${ROCR_VISIBLE_DEVICES:-} = "4,5,6,7" ]]; then
GPU_CONFIG_KEY+="GPU_global.registerSelectedSegmentIds=$NUMAID;"
fi
Expand Down Expand Up @@ -334,7 +340,7 @@ if has_processing_step MUON_SYNC_RECO; then
fi
[[ $RUNTYPE == "COSMICS" ]] && [[ -z ${CONFIG_EXTRA_PROCESS_o2_mft_reco_workflow:-} ]] && CONFIG_EXTRA_PROCESS_o2_mft_reco_workflow="MFTTracking.FullClusterScan=true"
fi
[[ "${ED_VERTEX_MODE:-}" == "1" ]] && has_detectors_reco ITS && has_detector_matching PRIMVTX && [[ ! -z "$VERTEXING_SOURCES" ]] && EVE_CONFIG+=" --primary-vertex-mode"
[[ $RUNTYPE != "COSMICS" ]] && [[ $RUNTYPE != "TECHNICAL" ]] && has_detectors_reco ITS && has_detector_matching PRIMVTX && [[ ! -z "$VERTEXING_SOURCES" ]] && EVE_CONFIG+=" --primary-vertex-mode"
[[ $SYNCRAWMODE == 1 ]] && [[ -z ${CONFIG_EXTRA_PROCESS_o2_trd_global_tracking:-} ]] && CONFIG_EXTRA_PROCESS_o2_trd_global_tracking='GPU_rec_trd.maxChi2=25;GPU_rec_trd.penaltyChi2=20;GPU_rec_trd.extraRoadY=4;GPU_rec_trd.extraRoadZ=10;GPU_rec_trd.applyDeflectionCut=0;GPU_rec_trd.trkltResRPhiIdeal=1'
[[ $SYNCRAWMODE == 1 ]] && [[ -z ${ARGS_EXTRA_PROCESS_o2_phos_reco_workflow:-} ]] && ARGS_EXTRA_PROCESS_o2_phos_reco_workflow='--presamples 2 --fitmethod semigaus'

Expand Down

0 comments on commit 1bcb728

Please sign in to comment.