Skip to content

Commit

Permalink
Update configurables and workflow (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
saganatt authored Nov 21, 2023
1 parent 3438952 commit 54f592e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 12 deletions.
12 changes: 5 additions & 7 deletions codeHF/config_tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,6 @@ function AdjustJson {
ReplaceString "\"processNoTrigSel\": \"false\"" "\"processNoTrigSel\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
fi

# hf-track-index-skim-creator-tag-sel-tracks, hf-track-index-skim-creator-cascades
if [ "$INPUT_RUN" -eq 3 ]; then
# do not perform track quality cuts for Run 3 until they are updated
ReplaceString "\"doCutQuality\": \"true\"" "\"doCutQuality\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
fi

# hf-track-index-skim-creator-cascades
if [[ $DOO2_CAND_CASC -eq 1 || $DOO2_SEL_LCK0SP -eq 1 || $DOO2_TASK_LCK0SP -eq 1 || $DOO2_TREE_LCK0SP -eq 1 ]]; then
ReplaceString "\"processCascades\": \"false\"" "\"processCascades\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
Expand Down Expand Up @@ -254,9 +248,13 @@ function AdjustJson {

# tof-event-time
if [ "$INPUT_RUN" -eq 3 ]; then
ReplaceString "\"processNoFT0\": \"false\"" "\"processNoFT0\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
ReplaceString "\"processFT0\": \"false\"" "\"processFT0\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
ReplaceString "\"processNoFT0\": \"true\"" "\"processNoFT0\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
ReplaceString "\"processOnlyFT0\": \"true\"" "\"processOnlyFT0\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
else
ReplaceString "\"processFT0\": \"true\"" "\"processFT0\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
ReplaceString "\"processNoFT0\": \"true\"" "\"processNoFT0\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
ReplaceString "\"processOnlyFT0\": \"true\"" "\"processOnlyFT0\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
fi

# hf-task-flow
Expand Down
6 changes: 5 additions & 1 deletion codeHF/dpl-config_run3.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
"debug": "false",
"doCutQuality": "true",
"useIsGlobalTrack": "false",
"useIsGlobalTrackWoDCA": "false",
"useIsGlobalTrackWoDCA": "true",
"useIsGlobalTrackForSoftPion": "false",
"useIsGlobalTrackWoDCAForSoftPion": "true",
"useIsQualityTrackITSForSoftPion": "false",
"tpcNClsFoundMin": "70",
"binsPtTrack": {
"values": [
Expand Down Expand Up @@ -2972,6 +2975,7 @@
"etaMax": "0.8"
},
"track-propagation": {
"minPropagationDistance": "5",
"processStandard": "false",
"processCovariance": "true"
},
Expand Down
16 changes: 12 additions & 4 deletions codeHF/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -475,22 +475,30 @@ workflows:
executable: o2-analysis-multiplicity-table
dependencies: o2-analysis-event-selection

o2-analysis-ft0-corrected-table: {}

# PID

o2-analysis-pid-tpc-base: {}

o2-analysis-pid-tpc-full:
dependencies: [o2-analysis-pid-tpc-base, o2-analysis-timestamp]

o2-analysis-pid-tof-base:
o2-analysis-pid-tof-base_run2:
executable: o2-analysis-pid-tof-base
dependencies: o2-analysis-event-selection

o2-analysis-pid-tof-full_run2: &tof_full
o2-analysis-pid-tof-base_run3:
executable: o2-analysis-pid-tof-base
dependencies: [o2-analysis-event-selection, o2-analysis-ft0-corrected-table]

o2-analysis-pid-tof-full_run2:
executable: o2-analysis-pid-tof-full
dependencies: [o2-analysis-pid-tof-base, o2-analysis-timestamp]
dependencies: [o2-analysis-pid-tof-base_run2, o2-analysis-timestamp]

o2-analysis-pid-tof-full_run3:
<<: *tof_full
executable: o2-analysis-pid-tof-full
dependencies: [o2-analysis-pid-tof-base_run3, o2-analysis-timestamp]

o2-analysis-pid-tof-full_run5:
executable: o2-analysis-alice3-pid-tof
Expand Down

0 comments on commit 54f592e

Please sign in to comment.