diff --git a/codeHF/config_tasks.sh b/codeHF/config_tasks.sh index 2bdfac0c..3bbda381 100644 --- a/codeHF/config_tasks.sh +++ b/codeHF/config_tasks.sh @@ -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 @@ -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 @@ -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 @@ -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 @@ -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. @@ -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" @@ -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" @@ -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" @@ -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" @@ -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" @@ -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 " diff --git a/codeHF/dpl-config_run5_hf.json b/codeHF/dpl-config_run5_hf.json index 7a64f9b5..466c9230 100644 --- a/codeHF/dpl-config_run5_hf.json +++ b/codeHF/dpl-config_run5_hf.json @@ -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", @@ -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" + }, "hf-task-xic": { "cutEtaCandMax": "-1", "d_selectionFlagXic": "0", diff --git a/codeHF/workflows.yml b/codeHF/workflows.yml index 4a9c5430..b90599c9 100644 --- a/codeHF/workflows.yml +++ b/codeHF/workflows.yml @@ -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 @@ -111,6 +120,10 @@ workflows: <<: *selector_3prong 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 @@ -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 @@ -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