Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions codeHF/config_tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ DOO2_SKIM=1 # hf-track-index-skims-creator
DOO2_CAND_2PRONG=1 # hf-candidate-creator-2prong
DOO2_CAND_3PRONG=1 # hf-candidate-creator-3prong
DOO2_CAND_CASC=0 # hf-candidate-creator-cascade
DOO2_CAND_LB=0 # hf-candidate-creator-lb
DOO2_CAND_X=0 # hf-candidate-creator-x
DOO2_CAND_CHIC=0 # hf-candidate-creator-chic
DOO2_CAND_XICC=0 # hf-candidate-creator-xicc
Expand All @@ -55,6 +56,7 @@ DOO2_SEL_D0=0 # hf-d0-candidate-selector
DOO2_SEL_DS=0 # hf-ds-tokkpi-candidate-selector
DOO2_SEL_DPLUS=0 # hf-dplus-topikpi-candidate-selector
DOO2_SEL_LC=0 # hf-lc-candidate-selector
DOO2_SEL_LB=0 # hf-lb-tolcpi-candidate-selector
DOO2_SEL_XIC=0 # hf-xic-topkpi-candidate-selector
DOO2_SEL_JPSI=0 # hf-jpsi-candidate-selector
DOO2_SEL_X=0 # hf-x-tojpsipipi-candidate-selector
Expand All @@ -67,6 +69,7 @@ DOO2_TASK_D0=1 # hf-task-d0
DOO2_TASK_DS=0 # hf-task-ds
DOO2_TASK_DPLUS=0 # hf-task-dplus
DOO2_TASK_LC=1 # hf-task-lc
DOO2_TASK_LB=0 # hf-task-lb
DOO2_TASK_XIC=0 # hf-task-xic
DOO2_TASK_JPSI=0 # hf-task-jpsi
DOO2_TASK_X=0 # hf-task-x
Expand All @@ -77,6 +80,7 @@ DOO2_TASK_BPLUS=0 # hf-task-bplus
# Tree creators
DOO2_TREE_D0=0 # hf-tree-creator-d0-tokpi
DOO2_TREE_LC=0 # hf-tree-creator-lc-topkpi
DOO2_TREE_LB=0 # hf-tree-creator-lb-tolcpi
DOO2_TREE_X=0 # hf-tree-creator-x-tojpsipipi
DOO2_TREE_XICC=0 # hf-tree-creator-xicc-topkpipi
DOO2_TREE_CHIC=0 # hf-tree-creator-chic-tojpsigamma
Expand All @@ -99,6 +103,7 @@ APPLYCUTS_D0=1 # Apply D0 selection cuts.
APPLYCUTS_DS=0 # Apply Ds selection cuts.
APPLYCUTS_DPLUS=0 # Apply D+ selection cuts.
APPLYCUTS_LC=1 # Apply Λc selection cuts.
APPLYCUTS_LB=0 # Apply Λb selection cuts.
APPLYCUTS_XIC=0 # Apply Ξc selection cuts.
APPLYCUTS_JPSI=0 # Apply J/ψ selection cuts.
APPLYCUTS_X=0 # Apply X selection cuts.
Expand Down Expand Up @@ -244,6 +249,12 @@ function AdjustJson {
ReplaceString "\"d_selectionFlagLc\": \"0\"" "\"d_selectionFlagLc\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON."
fi

# Enable Λb selection.
if [ $APPLYCUTS_LB -eq 1 ]; then
MsgWarn "\nUsing Λb selection cuts"
ReplaceString "\"selectionFlagLb\": \"0\"" "\"selectionFlagLb\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON."
fi

# Enable Ξc selection.
if [ $APPLYCUTS_XIC -eq 1 ]; then
MsgWarn "Using Ξc selection cuts"
Expand Down Expand Up @@ -316,6 +327,7 @@ function MakeScriptO2 {
[ $DOO2_SKIM -eq 1 ] && WORKFLOWS+=" ${WF_SKIM}${SUFFIX_CASC}"
[ $DOO2_CAND_2PRONG -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-2prong"
[ $DOO2_CAND_3PRONG -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-3prong"
[ $DOO2_CAND_LB -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-lb"
[ $DOO2_CAND_X -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-x"
[ $DOO2_CAND_CHIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-chic"
[ $DOO2_CAND_CASC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-cascade"
Expand All @@ -329,6 +341,7 @@ function MakeScriptO2 {
[ $DOO2_SEL_DS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-ds-tokkpi-candidate-selector"
[ $DOO2_SEL_DPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-dplus-topikpi-candidate-selector"
[ $DOO2_SEL_LC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-lc-candidate-selector"
[ $DOO2_SEL_LB -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-lb-tolcpi-candidate-selector"
[ $DOO2_SEL_XIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-xic-topkpi-candidate-selector"
[ $DOO2_SEL_X -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-x-tojpsipipi-candidate-selector"
[ $DOO2_SEL_CHIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-chic-tojpsigamma-candidate-selector"
Expand All @@ -341,6 +354,7 @@ function MakeScriptO2 {
[ $DOO2_TASK_DS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-ds"
[ $DOO2_TASK_DPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-dplus"
[ $DOO2_TASK_LC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-lc"
[ $DOO2_TASK_LB -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-lb"
[ $DOO2_TASK_XIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-xic"
[ $DOO2_TASK_X -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-x"
[ $DOO2_TASK_CHIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-chic"
Expand All @@ -360,6 +374,7 @@ function MakeScriptO2 {
# Tree creators
[ $DOO2_TREE_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-d0-tokpi"
[ $DOO2_TREE_LC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-lc-topkpi"
[ $DOO2_TREE_LB -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-lb-tolcpi"
[ $DOO2_TREE_X -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-x-tojpsipipi"
[ $DOO2_TREE_XICC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-xicc-topkpipi"
[ $DOO2_TREE_CHIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-chic-tojpsigamma"
Expand Down Expand Up @@ -447,6 +462,7 @@ function MakeScriptPostprocess {
[ $DOO2_TASK_DS -eq 1 ] && PARTICLES+=" ds "
[ $DOO2_TASK_DPLUS -eq 1 ] && PARTICLES+=" dplus "
[ $DOO2_TASK_LC -eq 1 ] && PARTICLES+=" lc "
[ $DOO2_TASK_LB -eq 1 ] && PARTICLES+=" lb "
[ $DOO2_TASK_XIC -eq 1 ] && PARTICLES+=" xic "
[ $DOO2_TASK_JPSI -eq 1 ] && PARTICLES+=" jpsi "
[ $DOO2_TASK_LCK0SP -eq 1 ] && PARTICLES+=" lc-tok0sP "
Expand Down
66 changes: 66 additions & 0 deletions codeHF/dpl-config_run5_hf.json
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,50 @@
]
}
},
"hf-lb-tolcpi-candidate-selector": {
"d_pTCandMin": "3.",
"d_pTCandMax": "50.",
"d_pidTPCMinpT": "1000.",
"d_pidTPCMaxpT": "2000.",
"d_pidTOFMinpT": "0.",
"d_pidTOFMaxpT": "10.",
"d_TPCNClsFindablePIDCut": "-9999",
"d_nSigmaTPC": "1000.",
"d_nSigmaTOF": "3.",
"pTBins": {
"values": [
"0",
"0.5",
"1",
"2",
"3",
"4",
"5",
"7",
"10",
"13",
"16",
"20",
"24"
]
},
"Lb_to_lcpi_cuts": {
"values": [
[ "1.", "0.98", "0.0001", "0.003", "0.0015", "1.0", "0.5", "0.05", "0.05", "0.02", "0.5", "0.8" ],
[ "1.", "0.98", "0.0001", "0.003", "0.0015", "1.0", "0.5", "0.05", "0.05", "0.02", "0.5", "0.8" ],
[ "1.", "0.98", "0.0001", "0.003", "0.0015", "1.0", "0.5", "0.05", "0.05", "0.02", "0.5", "0.8" ],
[ "1.", "0.98", "0.0001", "0.003", "0.0015", "1.0", "0.5", "0.05", "0.05", "0.02", "0.5", "0.8" ],
[ "1.", "0.99", "0.0001", "0.003", "0.0015", "1.0", "0.5", "0.05", "0.05", "0.02", "0.5", "0.8" ],
[ "1.", "0.994", "0.0001", "0.003", "0.0015", "1.0", "0.5", "0.05", "0.05", "0.02", "0.5", "0.8" ],
[ "1.", "0.994", "0.0001", "0.003", "0.0015", "1.0", "0.5", "0.05", "0.05", "0.02", "0.5", "0.8" ],
[ "1.", "0.994", "0.0001", "0.003", "0.0015", "1.0", "0.5", "0.05", "0.05", "0.02", "0.5", "0.8" ],
[ "1.", "0.994", "0.0001", "0.002", "0.0015", "1.0", "0.5", "0.05", "0.05", "0.02", "0.5", "0.8" ],
[ "1.", "0.994", "0.0001", "0.002", "0.0015", "1.0", "0.5", "0.05", "0.05", "0.02", "0.5", "0.8" ],
[ "1.", "0.994", "0.0001", "0.002", "0.0015", "1.0", "0.5", "0.05", "0.05", "0.02", "0.5", "0.8" ],
[ "1.", "0.994", "0.0001", "0.002", "0.0015", "1.0", "0.5", "0.05", "0.05", "0.02", "0.5", "0.8" ]
]
}
},
"hf-task-d0": {
"cutYCandMax": "0.8",
"d_selectionFlagD0": "0",
Expand Down Expand Up @@ -770,6 +814,28 @@
},
"processMC": "true"
},
"hf-task-lb": {
"cutYCandMax": "2.0",
"selectionFlagLb": "0",
"pTBins": {
"values": [
"0",
"0.5",
"1",
"2",
"3",
"4",
"5",
"7",
"10",
"13",
"16",
"20",
"24"
]
},
"processMC": "true"
Comment thread
mjongerh marked this conversation as resolved.
},
"hf-task-xic": {
"cutEtaCandMax": "-1",
"d_selectionFlagXic": "0",
Expand Down
21 changes: 21 additions & 0 deletions codeHF/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ workflows:
default: [HFCANDBPLUSBASE, HFCANDBPLUSEXT]
mc: [HFCANDBPMCREC, HFCANDBPMCGEN]

o2-analysis-hf-candidate-creator-lb:
<<: *cand_creator
dependencies:
- o2-analysis-hf-lc-candidate-selector
- o2-analysis-alice3-centrality
tables:
default: [HFCANDLB, HFCANDLBEXT]
mc: [HFCANDLBMCREC, HFCANDLBMCGEN]

# Selectors

o2-analysis-hf-d0-candidate-selector: &selector_2prong
Expand Down Expand Up @@ -111,6 +120,10 @@ workflows:
<<: *selector_3prong
Comment thread
mjongerh marked this conversation as resolved.
tables: HFSELDSCAND

o2-analysis-hf-lb-tolcpi-candidate-selector:
dependencies: o2-analysis-hf-candidate-creator-lb
tables: HFSELLBCAND

o2-analysis-hf-lc-candidate-selector:
<<: *selector_3prong
tables: HFSELLCCAND
Expand Down Expand Up @@ -162,6 +175,9 @@ workflows:
o2-analysis-hf-task-lc:
dependencies: o2-analysis-hf-lc-candidate-selector

o2-analysis-hf-task-lb:
dependencies: [o2-analysis-hf-lb-tolcpi-candidate-selector, o2-analysis-trackextension-alice3]

o2-analysis-hf-task-xic:
dependencies: o2-analysis-hf-xic-topkpi-candidate-selector

Expand Down Expand Up @@ -220,6 +236,11 @@ workflows:
dependencies: o2-analysis-hf-bplus-candidate-selector
tables: [HFCANDBPFull, HFCANDBPFullE, HFCANDBPFullP]

o2-analysis-hf-tree-creator-lb-tolcpi:
requires_mc: yes
dependencies: [o2-analysis-hf-lb-tolcpi-candidate-selector, o2-analysis-trackextension-alice3]
tables: [HFCANDLbFull, HFCANDLbFullE, HFCANDLbFullP]

o2-analysis-hf-tree-creator-x-tojpsipipi:
requires_mc: yes
dependencies: o2-analysis-hf-x-tojpsipipi-candidate-selector
Expand Down