Skip to content

Commit 9cb3870

Browse files
authored
Add D* (#427)
1 parent f3c4bc7 commit 9cb3870

File tree

3 files changed

+451
-5
lines changed

3 files changed

+451
-5
lines changed

codeHF/config_tasks.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ DOO2_SEL_LCK0SP=0 # hf-candidate-selector-lc-to-k0s-p
6262
DOO2_SEL_XICC=0 # hf-candidate-selector-xicc-to-p-k-pi-pi
6363
DOO2_SEL_B0=0 # hf-candidate-selector-b0-to-d-pi
6464
DOO2_SEL_BPLUS=0 # hf-candidate-selector-bplus-to-d0-pi
65+
DOO2_SEL_DSTAR=0 # hf-candidate-selector-dstar
6566
# Analysis tasks
6667
DOO2_TASK_D0=1 # hf-task-d0
6768
DOO2_TASK_DS=0 # hf-task-ds
@@ -212,6 +213,11 @@ function AdjustJson {
212213
ReplaceString "\"processNoTrigSel\": \"false\"" "\"processNoTrigSel\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
213214
fi
214215

216+
# hf-track-index-skim-creator
217+
if [[ $DOO2_CAND_DSTAR -eq 11 ]]; then
218+
ReplaceString "\"doDstar\": \"false\"" "\"doDstar\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
219+
fi
220+
215221
# hf-track-index-skim-creator-cascades
216222
if [[ $DOO2_CAND_CASC -eq 1 || $DOO2_SEL_LCK0SP -eq 1 || $DOO2_TASK_LCK0SP -eq 1 || $DOO2_TREE_LCK0SP -eq 1 ]]; then
217223
ReplaceString "\"processCascades\": \"false\"" "\"processCascades\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
@@ -423,6 +429,7 @@ function MakeScriptO2 {
423429
[ $DOO2_SEL_XICC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-xicc-to-p-k-pi-pi"
424430
[ $DOO2_SEL_B0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-b0-to-d-pi"
425431
[ $DOO2_SEL_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-bplus-to-d0-pi"
432+
[ $DOO2_SEL_DSTAR -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-dstar"
426433
# Analysis tasks
427434
[ $DOO2_TASK_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-d0"
428435
[ $DOO2_TASK_JPSI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-jpsi"

0 commit comments

Comments
 (0)