Skip to content

Commit 3910634

Browse files
author
Luigi Dello Stritto
committed
Add LcK0sP derived data in the validation framework
1 parent d174a6f commit 3910634

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

codeHF/config_tasks.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ DOO2_DATA_BPLUS=0 # hf-derived-data-creator-bplus-to-d0-pi
8787
DOO2_DATA_B0=0 # hf-derived-data-creator-b0-to-d-pi
8888
DOO2_DATA_DPLUS=0 # hf-derived-data-creator-dplus-to-pi-k-pi
8989
DOO2_DATA_DS=0 # hf-derived-data-creator-ds-to-k-k-pi
90+
DOO2_DATA_LCK0SP=0 # hf-derived-data-creator-lc-to-k0s-p
9091
# Correlations
9192
DOO2_CORR_D0D0BAR_DATA=0 # hf-correlator-d0-d0bar
9293
DOO2_CORR_D0D0BAR_MCREC=0 # hf-correlator-d0-d0bar_mc-rec
@@ -245,7 +246,7 @@ function AdjustJson {
245246
fi
246247

247248
# Λc → K0S p
248-
if [[ $DOO2_CAND_CASC -eq 1 || $DOO2_SEL_LCK0SP -eq 1 || $DOO2_TASK_LCK0SP -eq 1 || $DOO2_TREE_LCK0SP -eq 1 ]]; then
249+
if [[ $DOO2_CAND_CASC -eq 1 || $DOO2_SEL_LCK0SP -eq 1 || $DOO2_TASK_LCK0SP -eq 1 || $DOO2_TREE_LCK0SP -eq 1 || $DOO2_DATA_LCK0SP -eq 1 ]]; then
249250
# hf-track-index-skim-creator-cascades
250251
ReplaceString "\"processCascades\": \"false\"" "\"processCascades\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON."
251252
ReplaceString "\"processNoCascades\": \"true\"" "\"processNoCascades\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON."
@@ -361,7 +362,7 @@ function MakeScriptO2 {
361362
SUFFIX_SKIM_MASK="_skimX" # suffix mask to be replaced in the workflow names
362363
SUFFIX_SKIM="" # the actual suffix to be used instead of the mask
363364
# Λc → K0S p cascade reconstruction
364-
[[ $DOO2_CAND_CASC -eq 1 || $DOO2_SEL_LCK0SP -eq 1 || $DOO2_TASK_LCK0SP -eq 1 || $DOO2_TREE_LCK0SP -eq 1 ]] && SUFFIX_SKIM="_v0"
365+
[[ $DOO2_CAND_CASC -eq 1 || $DOO2_SEL_LCK0SP -eq 1 || $DOO2_TASK_LCK0SP -eq 1 || $DOO2_TREE_LCK0SP -eq 1 || $DOO2_DATA_LCK0SP -eq 1 ]] && SUFFIX_SKIM="_v0"
365366
# Ξc0/Ωc0 → Ξ π LF cascade reconstruction
366367
[[ $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"
367368

@@ -427,6 +428,7 @@ function MakeScriptO2 {
427428
[ $DOO2_DATA_B0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-b0-to-d-pi"
428429
[ $DOO2_DATA_DPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-dplus-to-pi-k-pi"
429430
[ $DOO2_DATA_DS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-ds-to-k-k-pi"
431+
[ $DOO2_DATA_LCK0SP -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-lc-to-k0s-p"
430432
# Correlations
431433
WF_CORR=""
432434
[ $DOO2_CORR_D0D0BAR_DATA -eq 1 ] && WF_CORR="o2-analysis-hf-correlator-d0-d0bar o2-analysis-hf-task-correlation-d-dbar"

codeHF/dpl-config.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6119,6 +6119,31 @@
61196119
"processMcSig": "false",
61206120
"ptMaxForDownSample": "10"
61216121
},
6122+
"hf-derived-data-creator-lc-to-k0s-p": {
6123+
"downSampleBkgFactor": "1",
6124+
"fillCandidateBase": "true",
6125+
"fillCandidateId": "true",
6126+
"fillCandidateMc": "true",
6127+
"fillCandidateMl": "true",
6128+
"fillCandidatePar": "true",
6129+
"fillCandidateParE": "true",
6130+
"fillCandidateSel": "true",
6131+
"fillCollBase": "true",
6132+
"fillCollId": "true",
6133+
"fillMcCollBase": "true",
6134+
"fillMcCollId": "true",
6135+
"fillParticleBase": "true",
6136+
"fillParticleId": "true",
6137+
"processData": "true",
6138+
"processDataMl": "false",
6139+
"processMcAll": "false",
6140+
"processMcBkg": "false",
6141+
"processMcMlAll": "false",
6142+
"processMcMlBkg": "false",
6143+
"processMcMlSig": "false",
6144+
"processMcSig": "false",
6145+
"ptMaxForDownSample": "10"
6146+
},
61226147
"hf-dplus-selection": {
61236148
"processDplusSelectionData": "true",
61246149
"processDplusSelectionMcGen": "false",

codeHF/workflows.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,19 @@ workflows:
365365
- o2-analysis-pid-tpc_runX
366366
tables: [HFLCCOLLBASE, HFLCCOLLID, HFLCMCCOLLBASE, HFLCMCCOLLID, HFLCMCRCOLLID, HFLCBASE, HFLCPAR, HFLCPARE, HFLCSEL, HFLCML, HFLCID, HFLCMC, HFLCPBASE, HFLCPID]
367367

368+
o2-analysis-hf-derived-data-creator-lc-to-k0s-p:
369+
dependencies:
370+
- o2-analysis-hf-candidate-selector-lc-to-k0s-p
371+
- o2-analysis-hf-candidate-creator-cascade
372+
- o2-analysis-hf-pid-creator
373+
- o2-analysis-centrality_runX
374+
- o2-analysis-lf-mc-centrality
375+
- o2-analysis-multiplicity-table_runX
376+
- o2-analysis-track-dca_runX
377+
- o2-analysis-pid-tof_runX
378+
- o2-analysis-pid-tpc_runX
379+
tables: [HFLCCCOLLBASE, HFLCCCOLLID, HFLCCMCCOLLBASE, HFLCCMCCOLLID, HFLCCMCRCOLLID, HFLCCBASE, HFLCTOK0SPPAR, HFLCTOK0SPPARE, HFLCCSEL, HFLCTOK0SPML, HFLCCID, HFLCTOK0SPMC, HFLCCPBASE, HFLCCPID]
380+
368381
o2-analysis-hf-derived-data-creator-dplus-to-pi-k-pi:
369382
dependencies:
370383
- o2-analysis-hf-candidate-selector-dplus-to-pi-k-pi

0 commit comments

Comments
 (0)