Skip to content

Commit 51555dc

Browse files
authored
Update configuration (#449)
1 parent 7c8bbb3 commit 51555dc

File tree

3 files changed

+208
-162
lines changed

3 files changed

+208
-162
lines changed

codeHF/config_tasks.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ DOO2_TREE_XICC=0 # hf-tree-creator-xicc-to-p-k-pi-pi
8686
DOO2_TREE_CHIC=0 # hf-tree-creator-chic-to-jpsi-gamma
8787
DOO2_TREE_BPLUS=0 # hf-tree-creator-bplus-to-d0-pi
8888
DOO2_TREE_LCK0SP=0 # hf-tree-creator-lc-to-k0s-p
89+
# Derived-data creators
90+
DOO2_DATA_D0=0 # hf-derived-data-creator-d0-to-k-pi
91+
DOO2_DATA_LC=0 # hf-derived-data-creator-lc-to-p-k-pi
8992
# Correlations
9093
DOO2_CORR_D0D0BAR_DATA=0 # hf-correlator-d0-d0bar
9194
DOO2_CORR_D0D0BAR_MCREC=0 # hf-correlator-d0-d0bar_mc-rec
@@ -121,6 +124,7 @@ DOO2_CONV_COLL=0 # collision-converter
121124
DOO2_CONV_ZDC=1 # zdc-converter
122125
DOO2_CONV_BC=1 # bc-converter
123126
DOO2_CONV_TRKEX=1 # tracks-extra-converter
127+
DOO2_CONV_V0=0 # v0converter
124128

125129
# Selection cuts
126130
APPLYCUTS_D0=1 # Apply D0 selection cuts.
@@ -207,11 +211,6 @@ function AdjustJson {
207211
ReplaceString "\"processTrigSel\": \"false\"" "\"processTrigSel\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
208212
ReplaceString "\"processNoTrigSel\": \"true\"" "\"processNoTrigSel\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
209213
fi
210-
if [ "$INPUT_RUN" -eq 3 ]; then
211-
# do not use trigger selection for Run 3
212-
ReplaceString "\"processTrigSel\": \"true\"" "\"processTrigSel\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
213-
ReplaceString "\"processNoTrigSel\": \"false\"" "\"processNoTrigSel\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
214-
fi
215214

216215
# hf-track-index-skim-creator
217216
if [[ $DOO2_CAND_DSTAR -eq 11 ]]; then
@@ -453,6 +452,9 @@ function MakeScriptO2 {
453452
[ $DOO2_TREE_CHIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-chic-to-jpsi-gamma"
454453
[ $DOO2_TREE_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-bplus-to-d0-pi"
455454
[ $DOO2_TREE_LCK0SP -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-lc-to-k0s-p"
455+
# Derive-data creators
456+
[ $DOO2_DATA_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-d0-to-k-pi"
457+
[ $DOO2_DATA_LC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-lc-to-p-k-pi"
456458
# Correlations
457459
WF_CORR=""
458460
[ $DOO2_CORR_D0D0BAR_DATA -eq 1 ] && WF_CORR="o2-analysis-hf-correlator-d0-d0bar o2-analysis-hf-task-correlation-d-dbar"
@@ -497,6 +499,7 @@ function MakeScriptO2 {
497499
[ $DOO2_CONV_ZDC -eq 1 ] && WORKFLOWS+=" o2-analysis-zdc-converter"
498500
[ $DOO2_CONV_BC -eq 1 ] && WORKFLOWS+=" o2-analysis-bc-converter"
499501
[ $DOO2_CONV_TRKEX -eq 1 ] && WORKFLOWS+=" o2-analysis-tracks-extra-converter"
502+
[ $DOO2_CONV_V0 -eq 1 ] && WORKFLOWS+=" o2-analysis-v0converter"
500503

501504
# Translate options into arguments of the generating script.
502505
OPT_MAKECMD=""

0 commit comments

Comments
 (0)