@@ -48,6 +48,7 @@ DOO2_CAND_XICC=0 # hf-candidate-creator-xicc
4848DOO2_CAND_B0=0 # hf-candidate-creator-b0
4949DOO2_CAND_BPLUS=0 # hf-candidate-creator-bplus
5050DOO2_CAND_DSTAR=0 # hf-candidate-creator-dstar
51+ DOO2_CAND_XIC0OC0=0 # hf-candidate-creator-xic0-omegac0
5152# Selectors
5253DOO2_SEL_D0=0 # hf-candidate-selector-d0
5354DOO2_SEL_DS=0 # hf-candidate-selector-ds-to-k-k-pi
@@ -63,6 +64,7 @@ DOO2_SEL_XICC=0 # hf-candidate-selector-xicc-to-p-k-pi-pi
6364DOO2_SEL_B0=0 # hf-candidate-selector-b0-to-d-pi
6465DOO2_SEL_BPLUS=0 # hf-candidate-selector-bplus-to-d0-pi
6566DOO2_SEL_DSTAR=0 # hf-candidate-selector-dstar
67+ DOO2_SEL_TOXIPI=0 # hf-candidate-selector-to-xi-pi
6668# Analysis tasks
6769DOO2_TASK_D0=1 # hf-task-d0
6870DOO2_TASK_DS=0 # hf-task-ds
@@ -77,7 +79,7 @@ DOO2_TASK_LCK0SP=0 # hf-task-lc-to-k0s-p
7779DOO2_TASK_XICC=0 # hf-task-xicc
7880DOO2_TASK_B0=0 # hf-task-b0
7981DOO2_TASK_BPLUS=0 # hf-task-bplus
80- DOO2_TASK_DSTAR=1 # hf-task-dstar-to-d0-pi
82+ DOO2_TASK_DSTAR=0 # hf-task-dstar-to-d0-pi
8183# Tree creators
8284DOO2_TREE_D0=0 # hf-tree-creator-d0-to-k-pi
8385DOO2_TREE_LC=0 # hf-tree-creator-lc-to-p-k-pi (only Run 3)
@@ -87,6 +89,7 @@ DOO2_TREE_XICC=0 # hf-tree-creator-xicc-to-p-k-pi-pi
8789DOO2_TREE_CHIC=0 # hf-tree-creator-chic-to-jpsi-gamma
8890DOO2_TREE_BPLUS=0 # hf-tree-creator-bplus-to-d0-pi
8991DOO2_TREE_LCK0SP=0 # hf-tree-creator-lc-to-k0s-p
92+ DOO2_TREE_TOXIPI=0 # hf-tree-creator-to-xi-pi
9093# Derived-data creators
9194DOO2_DATA_D0=0 # hf-derived-data-creator-d0-to-k-pi
9295DOO2_DATA_LC=0 # hf-derived-data-creator-lc-to-p-k-pi
@@ -192,21 +195,23 @@ function AdjustJson {
192195 # MC
193196 if [ " $INPUT_IS_MC " -eq 1 ]; then
194197 MsgWarn " Using MC data"
198+ ReplaceString " \" isMC\" : \" false\" " " \" isMC\" : \" true\" " " $JSON " || ErrExit " Failed to edit $JSON ."
195199 ReplaceString " \" processMc\" : \" false\" " " \" processMc\" : \" true\" " " $JSON " || ErrExit " Failed to edit $JSON ."
196200 ReplaceString " \" processMcStd\" : \" false\" " " \" processMcStd\" : \" true\" " " $JSON " || ErrExit " Failed to edit $JSON ."
197201 ReplaceString " \" processMcWithDCAFitterAll\" : \" false\" " " \" processMcWithDCAFitterAll\" : \" true\" " " $JSON " || ErrExit " Failed to edit $JSON ."
202+ ReplaceString " \" processMcWithDCAFitterN\" : \" false\" " " \" processMcWithDCAFitterN\" : \" true\" " " $JSON " || ErrExit " Failed to edit $JSON ."
198203 ReplaceString " \" processMC\" : \" false\" " " \" processMC\" : \" true\" " " $JSON " || ErrExit " Failed to edit $JSON ."
199- ReplaceString " \" isMC\" : \" false\" " " \" isMC\" : \" true\" " " $JSON " || ErrExit " Failed to edit $JSON ."
200204 ReplaceString " \" processData\" : \" true\" " " \" processData\" : \" false\" " " $JSON " || ErrExit " Failed to edit $JSON ."
201205 ReplaceString " \" processDataStd\" : \" true\" " " \" processDataStd\" : \" false\" " " $JSON " || ErrExit " Failed to edit $JSON ."
202206 ReplaceString " \" processDataWithDCAFitterN\" : \" true\" " " \" processDataWithDCAFitterN\" : \" false\" " " $JSON " || ErrExit " Failed to edit $JSON ."
203207 else
204208 MsgWarn " Using real data"
209+ ReplaceString " \" isMC\" : \" true\" " " \" isMC\" : \" false\" " " $JSON " || ErrExit " Failed to edit $JSON ."
205210 ReplaceString " \" processMc\" : \" true\" " " \" processMc\" : \" false\" " " $JSON " || ErrExit " Failed to edit $JSON ."
206211 ReplaceString " \" processMcStd\" : \" true\" " " \" processMcStd\" : \" false\" " " $JSON " || ErrExit " Failed to edit $JSON ."
207212 ReplaceString " \" processMcWithDCAFitterAll\" : \" true\" " " \" processMcWithDCAFitterAll\" : \" false\" " " $JSON " || ErrExit " Failed to edit $JSON ."
213+ ReplaceString " \" processMcWithDCAFitterN\" : \" true\" " " \" processMcWithDCAFitterN\" : \" false\" " " $JSON " || ErrExit " Failed to edit $JSON ."
208214 ReplaceString " \" processMC\" : \" true\" " " \" processMC\" : \" false\" " " $JSON " || ErrExit " Failed to edit $JSON ."
209- ReplaceString " \" isMC\" : \" true\" " " \" isMC\" : \" false\" " " $JSON " || ErrExit " Failed to edit $JSON ."
210215 ReplaceString " \" processData\" : \" false\" " " \" processData\" : \" true\" " " $JSON " || ErrExit " Failed to edit $JSON ."
211216 ReplaceString " \" processDataStd\" : \" false\" " " \" processDataStd\" : \" true\" " " $JSON " || ErrExit " Failed to edit $JSON ."
212217 ReplaceString " \" processDataWithDCAFitterN\" : \" false\" " " \" processDataWithDCAFitterN\" : \" true\" " " $JSON " || ErrExit " Failed to edit $JSON ."
@@ -233,6 +238,12 @@ function AdjustJson {
233238 ReplaceString " \" processNoCascades\" : \" true\" " " \" processNoCascades\" : \" false\" " " $JSON " || ErrExit " Failed to edit $JSON ."
234239 fi
235240
241+ # 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
243+ ReplaceString " \" processLfCascades\" : \" false\" " " \" processLfCascades\" : \" true\" " " $JSON " || ErrExit " Failed to edit $JSON ."
244+ ReplaceString " \" processNoLfCascades\" : \" true\" " " \" processNoLfCascades\" : \" false\" " " $JSON " || ErrExit " Failed to edit $JSON ."
245+ fi
246+
236247 # timestamp-task
237248 if [[ " $INPUT_IS_MC " -eq 1 && " $INPUT_RUN " -eq 2 ]]; then
238249 ReplaceString " \" isRun2MC\" : \" false\" " " \" isRun2MC\" : \" true\" " " $JSON " || ErrExit " Failed to edit $JSON ."
@@ -399,7 +410,9 @@ function MakeScriptO2 {
399410 SUFFIX_SKIM_MASK=" _skimX" # suffix mask to be replaced in the workflow names
400411 SUFFIX_SKIM=" " # the actual suffix to be used instead of the mask
401412 # Λc → K0S p cascade reconstruction
402- [[ $DOO2_CAND_CASC -eq 1 || $DOO2_SEL_LCK0SP -eq 1 || $DOO2_TASK_LCK0SP -eq 1 || $DOO2_TREE_LCK0SP -eq 1 ]] && SUFFIX_SKIM+=" _v0"
413+ [[ $DOO2_CAND_CASC -eq 1 || $DOO2_SEL_LCK0SP -eq 1 || $DOO2_TASK_LCK0SP -eq 1 || $DOO2_TREE_LCK0SP -eq 1 ]] && SUFFIX_SKIM=" _v0"
414+ # Ξ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"
403416
404417 # Suffix to distinguish versions of the same workflow for different runs in the workflow database
405418 SUFFIX_RUN_MASK=" _runX" # suffix mask to be replaced in the workflow names
@@ -424,6 +437,7 @@ function MakeScriptO2 {
424437 [ $DOO2_CAND_B0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-b0"
425438 [ $DOO2_CAND_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-bplus"
426439 [ $DOO2_CAND_DSTAR -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-dstar"
440+ [ $DOO2_CAND_XIC0OC0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-xic0-omegac0"
427441 # Selectors
428442 [ $DOO2_SEL_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-d0"
429443 [ $DOO2_SEL_JPSI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-jpsi${SUFFIX_RUN} "
@@ -439,6 +453,7 @@ function MakeScriptO2 {
439453 [ $DOO2_SEL_B0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-b0-to-d-pi"
440454 [ $DOO2_SEL_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-bplus-to-d0-pi"
441455 [ $DOO2_SEL_DSTAR -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-dstar-to-d0-pi"
456+ [ $DOO2_SEL_TOXIPI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-to-xi-pi"
442457 # Analysis tasks
443458 [ $DOO2_TASK_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-d0"
444459 [ $DOO2_TASK_JPSI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-jpsi"
@@ -463,6 +478,7 @@ function MakeScriptO2 {
463478 [ $DOO2_TREE_CHIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-chic-to-jpsi-gamma"
464479 [ $DOO2_TREE_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-bplus-to-d0-pi"
465480 [ $DOO2_TREE_LCK0SP -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-lc-to-k0s-p"
481+ [ $DOO2_TREE_TOXIPI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-to-xi-pi"
466482 # Derive-data creators
467483 [ $DOO2_DATA_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-d0-to-k-pi"
468484 [ $DOO2_DATA_LC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-lc-to-p-k-pi"
0 commit comments