Skip to content

Commit 3fbe632

Browse files
authored
Add Ξc+ → Ξ π π workflows. Update TPC. Update Lc selector. (#464)
1 parent 0a574c3 commit 3fbe632

File tree

4 files changed

+348
-42
lines changed

4 files changed

+348
-42
lines changed

codeHF/config_tasks.sh

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ DOO2_CAND_B0=0 # hf-candidate-creator-b0
4949
DOO2_CAND_BPLUS=0 # hf-candidate-creator-bplus
5050
DOO2_CAND_DSTAR=0 # hf-candidate-creator-dstar
5151
DOO2_CAND_XIC0OC0=0 # hf-candidate-creator-xic0-omegac0
52+
DOO2_CAND_XIC_XIPIPI=0 # hf-candidate-creator-xic-to-xi-pi-pi
5253
# Selectors
5354
DOO2_SEL_D0=0 # hf-candidate-selector-d0
5455
DOO2_SEL_DS=0 # hf-candidate-selector-ds-to-k-k-pi
@@ -65,6 +66,7 @@ DOO2_SEL_B0=0 # hf-candidate-selector-b0-to-d-pi
6566
DOO2_SEL_BPLUS=0 # hf-candidate-selector-bplus-to-d0-pi
6667
DOO2_SEL_DSTAR=0 # hf-candidate-selector-dstar
6768
DOO2_SEL_TOXIPI=0 # hf-candidate-selector-to-xi-pi
69+
DOO2_SEL_XIC_XIPIPI=0 # hf-candidate-selector-xic-to-xi-pi-pi
6870
# Analysis tasks
6971
DOO2_TASK_D0=1 # hf-task-d0
7072
DOO2_TASK_DS=0 # hf-task-ds
@@ -80,6 +82,7 @@ DOO2_TASK_XICC=0 # hf-task-xicc
8082
DOO2_TASK_B0=0 # hf-task-b0
8183
DOO2_TASK_BPLUS=0 # hf-task-bplus
8284
DOO2_TASK_DSTAR=0 # hf-task-dstar-to-d0-pi
85+
DOO2_TASK_XIC_XIPIPI=1 # hf-task-xic-to-xi-pi-pi
8386
# Tree creators
8487
DOO2_TREE_D0=0 # hf-tree-creator-d0-to-k-pi
8588
DOO2_TREE_LC=0 # hf-tree-creator-lc-to-p-k-pi (only Run 3)
@@ -90,6 +93,7 @@ DOO2_TREE_CHIC=0 # hf-tree-creator-chic-to-jpsi-gamma
9093
DOO2_TREE_BPLUS=0 # hf-tree-creator-bplus-to-d0-pi
9194
DOO2_TREE_LCK0SP=0 # hf-tree-creator-lc-to-k0s-p
9295
DOO2_TREE_TOXIPI=0 # hf-tree-creator-to-xi-pi
96+
DOO2_TREE_XIC_XIPIPI=0 # hf-tree-creator-xic-to-xi-pi-pi
9397
# Derived-data creators
9498
DOO2_DATA_D0=0 # hf-derived-data-creator-d0-to-k-pi
9599
DOO2_DATA_LC=0 # hf-derived-data-creator-lc-to-p-k-pi
@@ -117,7 +121,7 @@ DOO2_QA_EFF=0 # qa-efficiency
117121
DOO2_QA_EVTRK=0 # qa-event-track
118122
DOO2_MC_VALID=0 # hf-task-mc-validation
119123
# PID
120-
DOO2_PID_TPC=0 # pid-tpc-full
124+
DOO2_PID_TPC=0 # pid-tpc
121125
DOO2_PID_TOF=0 # pid-tof-full/alice3-pid-tof
122126
DOO2_PID_TOF_QA=0 # pid-tof-qa-mc
123127
DOO2_PID_BAYES=0 # pid-bayes
@@ -239,7 +243,7 @@ function AdjustJson {
239243
fi
240244

241245
# hf-track-index-skim-creator-lf-cascades
242-
if [[ $DOO2_CAND_XIC0OC0 -eq 1 || $DOO2_SEL_TOXIPI -eq 1 || $DOO2_TREE_TOXIPI -eq 1 ]]; then
246+
if [[ $DOO2_CAND_XIC0OC0 -eq 1 || $DOO2_SEL_TOXIPI -eq 1 || $DOO2_TREE_TOXIPI -eq 1 || $DOO2_CAND_XIC_XIPIPI -eq 1 || $DOO2_SEL_XIC_XIPIPI -eq 1 || $DOO2_TASK_XIC_XIPIPI -eq 1 || $DOO2_TREE_XIC_XIPIPI -eq 1 ]]; then
243247
ReplaceString "\"processLfCascades\": \"false\"" "\"processLfCascades\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
244248
ReplaceString "\"processNoLfCascades\": \"true\"" "\"processNoLfCascades\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
245249
fi
@@ -412,7 +416,7 @@ function MakeScriptO2 {
412416
# Λc → K0S p cascade reconstruction
413417
[[ $DOO2_CAND_CASC -eq 1 || $DOO2_SEL_LCK0SP -eq 1 || $DOO2_TASK_LCK0SP -eq 1 || $DOO2_TREE_LCK0SP -eq 1 ]] && SUFFIX_SKIM="_v0"
414418
# Ξc0/Ωc0 → Ξ π LF cascade reconstruction
415-
[[ $DOO2_CAND_XIC0OC0 -eq 1 || $DOO2_SEL_TOXIPI -eq 1 || $DOO2_TREE_TOXIPI -eq 1 ]] && SUFFIX_SKIM="_casc-lf"
419+
[[ $DOO2_CAND_XIC0OC0 -eq 1 || $DOO2_SEL_TOXIPI -eq 1 || $DOO2_TREE_TOXIPI -eq 1 || $DOO2_CAND_XIC_XIPIPI -eq 1 || $DOO2_SEL_XIC_XIPIPI -eq 1 || $DOO2_TASK_XIC_XIPIPI -eq 1 || $DOO2_TREE_XIC_XIPIPI -eq 1 ]] && SUFFIX_SKIM="_casc-lf"
416420

417421
# Suffix to distinguish versions of the same workflow for different runs in the workflow database
418422
SUFFIX_RUN_MASK="_runX" # suffix mask to be replaced in the workflow names
@@ -438,6 +442,7 @@ function MakeScriptO2 {
438442
[ $DOO2_CAND_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-bplus"
439443
[ $DOO2_CAND_DSTAR -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-dstar"
440444
[ $DOO2_CAND_XIC0OC0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-xic0-omegac0"
445+
[ $DOO2_CAND_XIC_XIPIPI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-xic-to-xi-pi-pi"
441446
# Selectors
442447
[ $DOO2_SEL_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-d0"
443448
[ $DOO2_SEL_JPSI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-jpsi${SUFFIX_RUN}"
@@ -454,6 +459,7 @@ function MakeScriptO2 {
454459
[ $DOO2_SEL_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-bplus-to-d0-pi"
455460
[ $DOO2_SEL_DSTAR -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-dstar-to-d0-pi"
456461
[ $DOO2_SEL_TOXIPI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-to-xi-pi"
462+
[ $DOO2_SEL_XIC_XIPIPI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-xic-to-xi-pi-pi"
457463
# Analysis tasks
458464
[ $DOO2_TASK_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-d0"
459465
[ $DOO2_TASK_JPSI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-jpsi"
@@ -469,6 +475,7 @@ function MakeScriptO2 {
469475
[ $DOO2_TASK_B0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-b0"
470476
[ $DOO2_TASK_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-bplus"
471477
[ $DOO2_TASK_DSTAR -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-dstar-to-d0-pi"
478+
[ $DOO2_TASK_XIC_XIPIPI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-xic-to-xi-pi-pi"
472479
# Tree creators
473480
[ $DOO2_TREE_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-d0-to-k-pi"
474481
[ $DOO2_TREE_LC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-lc-to-p-k-pi"
@@ -479,6 +486,7 @@ function MakeScriptO2 {
479486
[ $DOO2_TREE_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-bplus-to-d0-pi"
480487
[ $DOO2_TREE_LCK0SP -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-lc-to-k0s-p"
481488
[ $DOO2_TREE_TOXIPI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-to-xi-pi"
489+
[ $DOO2_TREE_XIC_XIPIPI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-xic-to-xi-pi-pi"
482490
# Derive-data creators
483491
[ $DOO2_DATA_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-d0-to-k-pi"
484492
[ $DOO2_DATA_LC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-lc-to-p-k-pi"
@@ -515,7 +523,7 @@ function MakeScriptO2 {
515523
[ $DOO2_QA_EVTRK -eq 1 ] && WORKFLOWS+=" o2-analysis-qa-event-track"
516524
[ $DOO2_MC_VALID -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-mc-validation"
517525
# PID
518-
[ $DOO2_PID_TPC -eq 1 ] && WORKFLOWS+=" o2-analysis-pid-tpc-full"
526+
[ $DOO2_PID_TPC -eq 1 ] && WORKFLOWS+=" o2-analysis-pid-tpc"
519527
[ $DOO2_PID_BAYES -eq 1 ] && WORKFLOWS+=" o2-analysis-pid-bayes"
520528
[ $DOO2_PID_TOF -eq 1 ] && WORKFLOWS+=" o2-analysis-pid-tof-full${SUFFIX_RUN}"
521529
[ $DOO2_PID_TOF_QA -eq 1 ] && WORKFLOWS+=" o2-analysis-pid-tof-qa-mc"

0 commit comments

Comments
 (0)