Skip to content

Commit 8c44efc

Browse files
authored
Update configuration (#461)
* Update JSON * Update JSON cascades * Fix strings * Update JSON * Fix ONNX paths * Update JSON for B+ * Update JSON for tree creators * Update JSON for D* * Update D* workflows * Update HF jet config * Fix values
1 parent 72e1d68 commit 8c44efc

File tree

3 files changed

+5015
-1435
lines changed

3 files changed

+5015
-1435
lines changed

codeHF/config_tasks.sh

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,11 @@ DOO2_TASK_LCK0SP=0 # hf-task-lc-to-k0s-p
7777
DOO2_TASK_XICC=0 # hf-task-xicc
7878
DOO2_TASK_B0=0 # hf-task-b0
7979
DOO2_TASK_BPLUS=0 # hf-task-bplus
80+
DOO2_TASK_DSTAR=1 # hf-task-dstar-to-d0-pi
8081
# Tree creators
8182
DOO2_TREE_D0=0 # hf-tree-creator-d0-to-k-pi
82-
DOO2_TREE_LC=0 # hf-tree-creator-lc-to-p-k-pi
83-
DOO2_TREE_LB=0 # hf-tree-creator-lb-to-lc-pi
83+
DOO2_TREE_LC=0 # hf-tree-creator-lc-to-p-k-pi (only Run 3)
84+
DOO2_TREE_LB=0 # hf-tree-creator-lb-to-lc-pi (only Run 5)
8485
DOO2_TREE_X=0 # hf-tree-creator-x-to-jpsi-pi-pi
8586
DOO2_TREE_XICC=0 # hf-tree-creator-xicc-to-p-k-pi-pi
8687
DOO2_TREE_CHIC=0 # hf-tree-creator-chic-to-jpsi-gamma
@@ -192,14 +193,23 @@ function AdjustJson {
192193
if [ "$INPUT_IS_MC" -eq 1 ]; then
193194
MsgWarn "Using MC data"
194195
ReplaceString "\"processMc\": \"false\"" "\"processMc\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
196+
ReplaceString "\"processMcStd\": \"false\"" "\"processMcStd\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
197+
ReplaceString "\"processMcWithDCAFitterAll\": \"false\"" "\"processMcWithDCAFitterAll\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
195198
ReplaceString "\"processMC\": \"false\"" "\"processMC\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
196199
ReplaceString "\"isMC\": \"false\"" "\"isMC\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
200+
ReplaceString "\"processData\": \"true\"" "\"processData\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
201+
ReplaceString "\"processDataStd\": \"true\"" "\"processDataStd\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
202+
ReplaceString "\"processDataWithDCAFitterN\": \"true\"" "\"processDataWithDCAFitterN\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
197203
else
198204
MsgWarn "Using real data"
199205
ReplaceString "\"processMc\": \"true\"" "\"processMc\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
206+
ReplaceString "\"processMcStd\": \"true\"" "\"processMcStd\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
207+
ReplaceString "\"processMcWithDCAFitterAll\": \"true\"" "\"processMcWithDCAFitterAll\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
200208
ReplaceString "\"processMC\": \"true\"" "\"processMC\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
201209
ReplaceString "\"isMC\": \"true\"" "\"isMC\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
202210
ReplaceString "\"processData\": \"false\"" "\"processData\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
211+
ReplaceString "\"processDataStd\": \"false\"" "\"processDataStd\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
212+
ReplaceString "\"processDataWithDCAFitterN\": \"false\"" "\"processDataWithDCAFitterN\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
203213
fi
204214

205215
# event-selection
@@ -428,7 +438,7 @@ function MakeScriptO2 {
428438
[ $DOO2_SEL_XICC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-xicc-to-p-k-pi-pi"
429439
[ $DOO2_SEL_B0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-b0-to-d-pi"
430440
[ $DOO2_SEL_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-bplus-to-d0-pi"
431-
[ $DOO2_SEL_DSTAR -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-dstar"
441+
[ $DOO2_SEL_DSTAR -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-dstar-to-d0-pi"
432442
# Analysis tasks
433443
[ $DOO2_TASK_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-d0"
434444
[ $DOO2_TASK_JPSI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-jpsi"
@@ -443,6 +453,7 @@ function MakeScriptO2 {
443453
[ $DOO2_TASK_XICC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-xicc"
444454
[ $DOO2_TASK_B0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-b0"
445455
[ $DOO2_TASK_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-bplus"
456+
[ $DOO2_TASK_DSTAR -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-dstar-to-d0-pi"
446457
# Tree creators
447458
[ $DOO2_TREE_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-d0-to-k-pi"
448459
[ $DOO2_TREE_LC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-lc-to-p-k-pi"

0 commit comments

Comments
 (0)