diff --git a/.gitignore b/.gitignore index 0faac183..4a771ae2 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,9 @@ megalinter-reports/ .DS_Store .mypy_cache/ github_conf/ +output_* +list_*.txt +script_*.sh +ListOutToMerge*.txt +dpl-config*_edit.json +workflows_edit.yml diff --git a/codeHF/RunHFTaskLocal.C b/codeHF/RunHFTaskLocal.C index 49bbfb33..3fabb6b2 100644 --- a/codeHF/RunHFTaskLocal.C +++ b/codeHF/RunHFTaskLocal.C @@ -13,6 +13,16 @@ #include "../exec/utilitiesAli.h" +#ifdef __CLING__ +// Tell ROOT where to find AliRoot headers +R__ADD_INCLUDE_PATH($ALICE_ROOT) +// Tell ROOT where to find AliPhysics headers +R__ADD_INCLUDE_PATH($ALICE_PHYSICS) + +#include "PWGPP/PilotTrain/AddTaskCDBconnect.C" + +#endif + Long64_t RunHFTaskLocal(TString txtfile = "./list_ali.txt", TString jsonfilename = "dpl-config_std.json", Bool_t isMC = kFALSE, @@ -54,6 +64,10 @@ Long64_t RunHFTaskLocal(TString txtfile = "./list_ali.txt", mgr->SetMCtruthEventHandler(handler); } + // CDBconnect task + AliTaskCDBconnect* taskCDB = AddTaskCDBconnect(); + taskCDB->SetFallBackToRaw(kTRUE); + // Apply the event selection AliPhysicsSelectionTask* physSelTask = reinterpret_cast(gInterpreter->ProcessLine(Form(".x %s(%d)", gSystem->ExpandPathName("$ALICE_PHYSICS/OADB/macros/AddTaskPhysicsSelection.C"), isMC))); diff --git a/codeHF/config_input.sh b/codeHF/config_input.sh index b6ed58e9..a8dda163 100644 --- a/codeHF/config_input.sh +++ b/codeHF/config_input.sh @@ -151,12 +151,12 @@ case $INPUT_CASE in INPUT_TASK_CONFIG="DOO2_CONV_MCCOLL=1 DOO2_CONV_TRKEX_1_2=1" ;; 17) - INPUT_LABEL="Run 3, p-p 13.6 TeV, LHC22o_pass7" - INPUT_DIR="$INPUT_BASE/Run3/pp_13.6TeV/real/LHC22o_pass7" + INPUT_LABEL="Run 3, p-p 13.6 TeV, LHC22o_pass4_minBias_small" + INPUT_DIR="$INPUT_BASE/Run3/pp_13.6TeV/real/LHC22o_pass4_minBias_small" INPUT_FILES="AO2D.root" INPUT_RUN=3 INPUT_IS_O2=1 INPUT_IS_MC=0 - INPUT_TASK_CONFIG="DOO2_CONV_MCCOLL=1 DOO2_CONV_TRKEX_1_2=1" + INPUT_TASK_CONFIG="DOO2_CONV_MCCOLL=1 DOO2_CONV_BC=1 DOO2_CONV_TRKEX_0_2=1 DOO2_CONV_V0=1" ;; esac diff --git a/codeHF/config_tasks.sh b/codeHF/config_tasks.sh index 843b1514..1b8a6ff1 100644 --- a/codeHF/config_tasks.sh +++ b/codeHF/config_tasks.sh @@ -35,16 +35,13 @@ MAKE_PERF_STATS=0 # Produce performance profiling stats. # Activation of O2 workflows # Trigger selection -DOO2_TRIGSEL=0 # event-selection +DOO2_TRIGSEL=0 # event-selection-service # Vertexing DOO2_SKIM=0 # hf-track-index-skim-creator DOO2_CAND_2PRONG=0 # hf-candidate-creator-2prong DOO2_CAND_3PRONG=0 # 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 DOO2_CAND_B0=0 # hf-candidate-creator-b0 DOO2_CAND_BPLUS=0 # hf-candidate-creator-bplus DOO2_CAND_DSTAR=0 # hf-candidate-creator-dstar @@ -57,11 +54,7 @@ DOO2_SEL_DPLUS=0 # hf-candidate-selector-dplus-to-pi-k-pi DOO2_SEL_LC=0 # hf-candidate-selector-lc DOO2_SEL_LB=0 # hf-candidate-selector-lb-to-lc-pi DOO2_SEL_XIC=0 # hf-candidate-selector-xic-to-p-k-pi -DOO2_SEL_JPSI=0 # hf-candidate-selector-jpsi -DOO2_SEL_X=0 # hf-candidate-selector-x-to-jpsi-pi-pi -DOO2_SEL_CHIC=0 # hf-candidate-selector-chic-to-jpsi-gamma DOO2_SEL_LCK0SP=0 # hf-candidate-selector-lc-to-k0s-p -DOO2_SEL_XICC=0 # hf-candidate-selector-xicc-to-p-k-pi-pi DOO2_SEL_B0=0 # hf-candidate-selector-b0-to-d-pi DOO2_SEL_BPLUS=0 # hf-candidate-selector-bplus-to-d0-pi DOO2_SEL_DSTAR=0 # hf-candidate-selector-dstar @@ -71,14 +64,10 @@ DOO2_SEL_XIC_XIPIPI=0 # hf-candidate-selector-xic-to-xi-pi-pi DOO2_TASK_D0=1 # hf-task-d0 DOO2_TASK_DS=0 # hf-task-ds DOO2_TASK_DPLUS=0 # hf-task-dplus -DOO2_TASK_LC=0 # hf-task-lc +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 -DOO2_TASK_CHIC=0 # hf-task-chic DOO2_TASK_LCK0SP=0 # hf-task-lc-to-k0s-p -DOO2_TASK_XICC=0 # hf-task-xicc DOO2_TASK_B0=0 # hf-task-b0 DOO2_TASK_BPLUS=0 # hf-task-bplus DOO2_TASK_DSTAR=0 # hf-task-dstar-to-d0-pi @@ -87,9 +76,6 @@ DOO2_TASK_XIC_XIPIPI=0 # hf-task-xic-to-xi-pi-pi DOO2_TREE_D0=0 # hf-tree-creator-d0-to-k-pi DOO2_TREE_LC=0 # hf-tree-creator-lc-to-p-k-pi (only Run 3) DOO2_TREE_LB=0 # hf-tree-creator-lb-to-lc-pi (only Run 5) -DOO2_TREE_X=0 # hf-tree-creator-x-to-jpsi-pi-pi -DOO2_TREE_XICC=0 # hf-tree-creator-xicc-to-p-k-pi-pi -DOO2_TREE_CHIC=0 # hf-tree-creator-chic-to-jpsi-gamma DOO2_TREE_BPLUS=0 # hf-tree-creator-bplus-to-d0-pi DOO2_TREE_LCK0SP=0 # hf-tree-creator-lc-to-k0s-p DOO2_TREE_TOXIPI=0 # hf-tree-creator-to-xi-pi @@ -100,6 +86,7 @@ DOO2_DATA_LC=0 # hf-derived-data-creator-lc-to-p-k-pi DOO2_DATA_BPLUS=0 # hf-derived-data-creator-bplus-to-d0-pi DOO2_DATA_B0=0 # hf-derived-data-creator-b0-to-d-pi DOO2_DATA_DPLUS=0 # hf-derived-data-creator-dplus-to-pi-k-pi +DOO2_DATA_DS=0 # hf-derived-data-creator-ds-to-k-k-pi # Correlations DOO2_CORR_D0D0BAR_DATA=0 # hf-correlator-d0-d0bar DOO2_CORR_D0D0BAR_MCREC=0 # hf-correlator-d0-d0bar_mc-rec @@ -119,13 +106,12 @@ DOO2_JET_MATCH=0 # je-jet-matching-mc-d0-ch DOO2_JET_SUB=0 # je-jet-substructure-d0 DOO2_JET_SUB_OUT=0 # je-jet-substructure-d0-output # QA -DOO2_REJ_ALICE3=0 # hf-task-qa-pid-rejection DOO2_QA_EFF=0 # qa-efficiency DOO2_QA_EVTRK=0 # qa-event-track DOO2_MC_VALID=0 # hf-task-mc-validation # PID DOO2_PID_TPC=0 # pid-tpc -DOO2_PID_TOF=0 # pid-tof-full/alice3-pid-tof +DOO2_PID_TOF=0 # pid-tof DOO2_PID_TOF_QA=0 # pid-tof-qa-mc DOO2_PID_BAYES=0 # pid-bayes # Converters (Consider setting these per input case via INPUT_TASK_CONFIG.) @@ -143,17 +129,13 @@ DOO2_CONV_V0=0 # v0converter DOO2_CONV_MFT=0 # mft-tracks-converter # Selection cuts -APPLYCUTS_D0=1 # Apply D0 selection cuts. +APPLYCUTS_D0=0 # 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_LC=0 # 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. -APPLYCUTS_CHIC=0 # Apply χc(1p) selection cuts. APPLYCUTS_LCK0SP=0 # Apply Λc → K0S p selection cuts. -APPLYCUTS_XICC=0 # Apply Ξcc selection cuts. APPLYCUTS_B0=0 # Apply B0 selection cuts. APPLYCUTS_BPLUS=0 # Apply B+ selection cuts. @@ -214,9 +196,11 @@ function AdjustJson { ReplaceString "\"processMcAll\": \"false\"" "\"processMcAll\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON." ReplaceString "\"processMC\": \"false\"" "\"processMC\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON." ReplaceString "\"processMC\": \"0\"" "\"processMC\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON." + ReplaceString "\"processMonteCarlo\": \"false\"" "\"processMonteCarlo\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON." ReplaceString "\"processData\": \"true\"" "\"processData\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON." ReplaceString "\"processDataStd\": \"true\"" "\"processDataStd\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON." ReplaceString "\"processDataWithDCAFitterN\": \"true\"" "\"processDataWithDCAFitterN\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON." + ReplaceString "\"processRealData\": \"true\"" "\"processRealData\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON." else MsgWarn "Using real data" ReplaceString "\"isMC\": \"true\"" "\"isMC\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON." @@ -227,9 +211,11 @@ function AdjustJson { ReplaceString "\"processMcAll\": \"true\"" "\"processMcAll\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON." ReplaceString "\"processMC\": \"true\"" "\"processMC\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON." ReplaceString "\"processMC\": \"1\"" "\"processMC\": \"0\"" "$JSON" || ErrExit "Failed to edit $JSON." + ReplaceString "\"processMonteCarlo\": \"true\"" "\"processMonteCarlo\": \"false\"" "$JSON" || ErrExit "Failed to edit $JSON." ReplaceString "\"processData\": \"false\"" "\"processData\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON." ReplaceString "\"processDataStd\": \"false\"" "\"processDataStd\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON." ReplaceString "\"processDataWithDCAFitterN\": \"false\"" "\"processDataWithDCAFitterN\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON." + ReplaceString "\"processRealData\": \"false\"" "\"processRealData\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON." fi # event-selection @@ -243,7 +229,7 @@ function AdjustJson { fi # hf-track-index-skim-creator - if [[ $DOO2_CAND_DSTAR -eq 11 ]]; then + if [[ $DOO2_CAND_DSTAR -eq 1 ]]; then ReplaceString "\"doDstar\": \"false\"" "\"doDstar\": \"true\"" "$JSON" || ErrExit "Failed to edit $JSON." fi @@ -384,24 +370,6 @@ function AdjustJson { ReplaceString "\"selectionFlagXic\": \"0\"" "\"selectionFlagXic\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON." fi - # Enable J/ψ selection. - if [ $APPLYCUTS_JPSI -eq 1 ]; then - MsgWarn "Using J/ψ selection cuts" - ReplaceString "\"selectionFlagJpsi\": \"0\"" "\"selectionFlagJpsi\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON." - fi - - # Enable X(3872) selection. - if [ $APPLYCUTS_X -eq 1 ]; then - MsgWarn "Using X(3872) selection cuts" - ReplaceString "\"selectionFlagX\": \"0\"" "\"selectionFlagX\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON." - fi - - # Enable χc(1p) selection. - if [ $APPLYCUTS_CHIC -eq 1 ]; then - MsgWarn "Using χc(1p) selection cuts" - ReplaceString "\"selectionFlagChic\": \"0\"" "\"selectionFlagChic\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON." - fi - # Enable Λc → K0S p selection. if [ $APPLYCUTS_LCK0SP -eq 1 ]; then MsgWarn "Using Λc → K0S p selection cuts" @@ -409,12 +377,6 @@ function AdjustJson { ReplaceString "\"selectionFlagLcbarToK0sP\": \"0\"" "\"selectionFlagLcbarToK0sP\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON." fi - # Enable Ξcc selection. - if [ $APPLYCUTS_XICC -eq 1 ]; then - MsgWarn "Using Ξcc selection cuts" - ReplaceString "\"selectionFlagXicc\": \"0\"" "\"selectionFlagXicc\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON." - fi - # Enable B0 selection. if [ $APPLYCUTS_B0 -eq 1 ]; then MsgWarn "Using B0 selection cuts" @@ -448,16 +410,13 @@ function MakeScriptO2 { WORKFLOWS="" # Trigger selection - [ $DOO2_TRIGSEL -eq 1 ] && WORKFLOWS+=" o2-analysis-event-selection" + [ $DOO2_TRIGSEL -eq 1 ] && WORKFLOWS+=" o2-analysis-event-selection-service${SUFFIX_SKIM}" # Vertexing [ $DOO2_SKIM -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-track-index-skim-creator${SUFFIX_SKIM}" [ $DOO2_CAND_2PRONG -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-2prong${SUFFIX_DER}" [ $DOO2_CAND_3PRONG -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-3prong${SUFFIX_DER}" [ $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${SUFFIX_DER}" - [ $DOO2_CAND_XICC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-xicc" [ $DOO2_CAND_B0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-b0" [ $DOO2_CAND_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-bplus" [ $DOO2_CAND_DSTAR -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-dstar" @@ -465,16 +424,12 @@ function MakeScriptO2 { [ $DOO2_CAND_XIC_XIPIPI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-xic-to-xi-pi-pi${SUFFIX_DER}" # Selectors [ $DOO2_SEL_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-d0" - [ $DOO2_SEL_JPSI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-jpsi${SUFFIX_RUN}" [ $DOO2_SEL_DS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-ds-to-k-k-pi" [ $DOO2_SEL_DPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-dplus-to-pi-k-pi" [ $DOO2_SEL_LC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-lc" [ $DOO2_SEL_LB -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-lb-to-lc-pi" [ $DOO2_SEL_XIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-xic-to-p-k-pi" - [ $DOO2_SEL_X -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-x-to-jpsi-pi-pi" - [ $DOO2_SEL_CHIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-chic-to-jpsi-gamma" [ $DOO2_SEL_LCK0SP -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-lc-to-k0s-p" - [ $DOO2_SEL_XICC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-xicc-to-p-k-pi-pi" [ $DOO2_SEL_B0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-b0-to-d-pi" [ $DOO2_SEL_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-bplus-to-d0-pi" [ $DOO2_SEL_DSTAR -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-dstar-to-d0-pi" @@ -482,16 +437,12 @@ function MakeScriptO2 { [ $DOO2_SEL_XIC_XIPIPI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-xic-to-xi-pi-pi" # Analysis tasks [ $DOO2_TASK_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-d0" - [ $DOO2_TASK_JPSI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-jpsi" [ $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" [ $DOO2_TASK_LCK0SP -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-lc-to-k0s-p" - [ $DOO2_TASK_XICC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-xicc" [ $DOO2_TASK_B0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-b0" [ $DOO2_TASK_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-bplus" [ $DOO2_TASK_DSTAR -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-dstar-to-d0-pi" @@ -500,9 +451,6 @@ function MakeScriptO2 { [ $DOO2_TREE_D0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-d0-to-k-pi" [ $DOO2_TREE_LC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-lc-to-p-k-pi" [ $DOO2_TREE_LB -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-lb-to-lc-pi" - [ $DOO2_TREE_X -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-x-to-jpsi-pi-pi" - [ $DOO2_TREE_XICC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-xicc-to-p-k-pi-pi" - [ $DOO2_TREE_CHIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-chic-to-jpsi-gamma" [ $DOO2_TREE_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-bplus-to-d0-pi" [ $DOO2_TREE_LCK0SP -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-lc-to-k0s-p" [ $DOO2_TREE_TOXIPI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-to-xi-pi" @@ -513,6 +461,7 @@ function MakeScriptO2 { [ $DOO2_DATA_BPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-bplus-to-d0-pi" [ $DOO2_DATA_B0 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-b0-to-d-pi" [ $DOO2_DATA_DPLUS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-dplus-to-pi-k-pi" + [ $DOO2_DATA_DS -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-derived-data-creator-ds-to-k-k-pi" # Correlations WF_CORR="" [ $DOO2_CORR_D0D0BAR_DATA -eq 1 ] && WF_CORR="o2-analysis-hf-correlator-d0-d0bar o2-analysis-hf-task-correlation-d-dbar" @@ -541,14 +490,13 @@ function MakeScriptO2 { fi [ $DOO2_JET_MATCH -eq 1 ] && WORKFLOWS+=" o2-analysis-je-jet-matching-mc-d0-ch" # QA - [ $DOO2_REJ_ALICE3 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-qa-pid-rejection" [ $DOO2_QA_EFF -eq 1 ] && WORKFLOWS+=" o2-analysis-qa-efficiency" [ $DOO2_QA_EVTRK -eq 1 ] && WORKFLOWS+=" o2-analysis-qa-event-track" [ $DOO2_MC_VALID -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-mc-validation" # PID - [ $DOO2_PID_TPC -eq 1 ] && WORKFLOWS+=" o2-analysis-pid-tpc" + [ $DOO2_PID_TPC -eq 1 ] && WORKFLOWS+=" o2-analysis-pid-tpc${SUFFIX_RUN}" [ $DOO2_PID_BAYES -eq 1 ] && WORKFLOWS+=" o2-analysis-pid-bayes" - [ $DOO2_PID_TOF -eq 1 ] && WORKFLOWS+=" o2-analysis-pid-tof-full${SUFFIX_RUN}" + [ $DOO2_PID_TOF -eq 1 ] && WORKFLOWS+=" o2-analysis-pid-tof${SUFFIX_RUN}" [ $DOO2_PID_TOF_QA -eq 1 ] && WORKFLOWS+=" o2-analysis-pid-tof-qa-mc" # Converters [ $DOO2_CONV_MC -eq 1 ] && WORKFLOWS+=" o2-analysis-mc-converter" @@ -596,6 +544,7 @@ function MakeScriptO2 { #!/bin/bash FileIn="\$1" JSON="\$2" +time \ $O2EXEC EOF } @@ -623,7 +572,6 @@ function MakeScriptPostprocess { [ $DOO2_TASK_DPLUS -eq 1 ] && OPT_COMPARE+=" dplus " [ $DOO2_TASK_LC -eq 1 ] && { OPT_COMPARE+=" lc "; [ "$INPUT_IS_MC" -eq 1 ] && OPT_COMPARE+=" lc-mc-pt lc-mc-prompt lc-mc-nonprompt lc-mc-eta lc-mc-phi "; } [ $DOO2_TASK_XIC -eq 1 ] && OPT_COMPARE+=" xic " - [ $DOO2_TASK_JPSI -eq 1 ] && OPT_COMPARE+=" jpsi " # Jets [ "$INPUT_IS_MC" -eq 1 ] && SUFFIX_JET="mc" || SUFFIX_JET="data" [ $DOO2_JET_FIND -eq 1 ] && OPT_COMPARE+=" jets-${SUFFIX_JET} " @@ -639,9 +587,7 @@ function MakeScriptPostprocess { [ $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 " - [ $DOO2_TASK_XICC -eq 1 ] && PARTICLES+=" xicc-mc " [ $DOO2_TASK_B0 -eq 1 ] && PARTICLES+=" b0-mc " [ $DOO2_TASK_BPLUS -eq 1 ] && PARTICLES+=" bplus " [ "$PARTICLES" ] && POSTEXEC+=" && root -b -q -l \"$DIR_TASKS/PlotEfficiency.C(\\\"\$FileO2\\\", \\\"$PARTICLES\\\")\"" diff --git a/codeHF/config_tasks_run5.sh b/codeHF/config_tasks_run5.sh new file mode 100644 index 00000000..c564ddfe --- /dev/null +++ b/codeHF/config_tasks_run5.sh @@ -0,0 +1,99 @@ +#!/bin/bash +# shellcheck disable=SC2034 # Ignore unused parameters. + +DATABASE_O2="workflows_run5.yml" # Workflow specification database + +# Activation of O2 workflows +DOO2_CAND_X=0 # hf-candidate-creator-x +DOO2_CAND_CHIC=0 # hf-candidate-creator-chic +DOO2_CAND_XICC=0 # hf-candidate-creator-xicc +# Selectors +DOO2_SEL_JPSI=0 # hf-candidate-selector-jpsi +DOO2_SEL_X=0 # hf-candidate-selector-x-to-jpsi-pi-pi +DOO2_SEL_CHIC=0 # hf-candidate-selector-chic-to-jpsi-gamma +DOO2_SEL_XICC=0 # hf-candidate-selector-xicc-to-p-k-pi-pi +# Analysis tasks +DOO2_TASK_JPSI=0 # hf-task-jpsi +DOO2_TASK_X=0 # hf-task-x +DOO2_TASK_CHIC=0 # hf-task-chic +DOO2_TASK_XICC=0 # hf-task-xicc +# Tree creators +DOO2_TREE_X=0 # hf-tree-creator-x-to-jpsi-pi-pi +DOO2_TREE_CHIC=0 # hf-tree-creator-chic-to-jpsi-gamma +DOO2_TREE_XICC=0 # hf-tree-creator-xicc-to-p-k-pi-pi +# QA +DOO2_REJ_ALICE3=0 # hf-task-qa-pid-rejection + +# Selection cuts +APPLYCUTS_JPSI=0 # Apply J/ψ selection cuts. +APPLYCUTS_X=0 # Apply X selection cuts. +APPLYCUTS_CHIC=0 # Apply χc(1p) selection cuts. +APPLYCUTS_XICC=0 # Apply Ξcc selection cuts. + +#################################################################################################### + +# Modify the JSON file. +function AdjustJson { + # Enable J/ψ selection. + if [ $APPLYCUTS_JPSI -eq 1 ]; then + MsgWarn "Using J/ψ selection cuts" + ReplaceString "\"selectionFlagJpsi\": \"0\"" "\"selectionFlagJpsi\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON." + fi + + # Enable X(3872) selection. + if [ $APPLYCUTS_X -eq 1 ]; then + MsgWarn "Using X(3872) selection cuts" + ReplaceString "\"selectionFlagX\": \"0\"" "\"selectionFlagX\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON." + fi + + # Enable χc(1p) selection. + if [ $APPLYCUTS_CHIC -eq 1 ]; then + MsgWarn "Using χc(1p) selection cuts" + ReplaceString "\"selectionFlagChic\": \"0\"" "\"selectionFlagChic\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON." + fi + + # Enable Ξcc selection. + if [ $APPLYCUTS_XICC -eq 1 ]; then + MsgWarn "Using Ξcc selection cuts" + ReplaceString "\"selectionFlagXicc\": \"0\"" "\"selectionFlagXicc\": \"1\"" "$JSON" || ErrExit "Failed to edit $JSON." + fi +} + +# Generate the O2 script containing the full workflow specification. +function MakeScriptO2 { + WORKFLOWS="" + # Vertexing + [ $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_XICC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-creator-xicc" + # Selectors + [ $DOO2_SEL_JPSI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-jpsi${SUFFIX_RUN}" + [ $DOO2_SEL_X -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-x-to-jpsi-pi-pi" + [ $DOO2_SEL_CHIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-chic-to-jpsi-gamma" + [ $DOO2_SEL_XICC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-candidate-selector-xicc-to-p-k-pi-pi" + # Analysis tasks + [ $DOO2_TASK_JPSI -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-jpsi" + [ $DOO2_TASK_X -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-x" + [ $DOO2_TASK_CHIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-chic" + [ $DOO2_TASK_XICC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-xicc" + # Tree creators + [ $DOO2_TREE_X -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-x-to-jpsi-pi-pi" + [ $DOO2_TREE_CHIC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-chic-to-jpsi-gamma" + [ $DOO2_TREE_XICC -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-tree-creator-xicc-to-p-k-pi-pi" + # QA + [ $DOO2_REJ_ALICE3 -eq 1 ] && WORKFLOWS+=" o2-analysis-hf-task-qa-pid-rejection" +} + +function MakeScriptPostprocess { + # Compare AliPhysics and O2 histograms. + [[ $DOALI -eq 1 && $DOO2 -eq 1 ]] && { + OPT_COMPARE="" + [ $DOO2_TASK_JPSI -eq 1 ] && OPT_COMPARE+=" jpsi " + } + # Plot particle reconstruction efficiencies. + [[ $DOO2 -eq 1 && $INPUT_IS_MC -eq 1 ]] && { + PARTICLES="" + [ $DOO2_TASK_JPSI -eq 1 ] && PARTICLES+=" jpsi " + [ $DOO2_TASK_XICC -eq 1 ] && PARTICLES+=" xicc-mc " + } +} diff --git a/codeHF/dpl-config_run3.json b/codeHF/dpl-config_run3.json index fdf6f432..753f9a8f 100644 --- a/codeHF/dpl-config_run3.json +++ b/codeHF/dpl-config_run3.json @@ -268,6 +268,80 @@ "nbins": "1", "tolerance": "0.001" }, + "estimator-rho": { + "applyTrackingEfficiency": "false", + "bkgEtaMax": "0.7", + "bkgEtaMin": "-0.7", + "bkgPhiMax": "6.28299999", + "bkgPhiMin": "-6.28299999", + "bkgjetR": "0.2", + "centralityMax": "999", + "centralityMin": "-999", + "doSparse": "false", + "eventSelections": "", + "ghostArea": "0.005", + "ghostGridScatter": "1", + "ghostKtScatter": "0.1", + "ghostMeanPt": "1e-100", + "ghostRapMax": "0.9", + "ghostRepeat": "0", + "jetAlgorithm": "0", + "jetRecombScheme": "0", + "particleSelections": "PhysicalPrimary", + "performTriggerTrackSelection": "false", + "processB0Collisions": "false", + "processB0McCollisions": "false", + "processBplusCollisions": "false", + "processBplusMcCollisions": "false", + "processChargedCollisions": "false", + "processChargedMcCollisions": "false", + "processD0Collisions": "true", + "processD0McCollisions": "false", + "processDielectronCollisions": "false", + "processDielectronMcCollisions": "false", + "processDplusCollisions": "false", + "processDplusMcCollisions": "false", + "processDsCollisions": "false", + "processDsMcCollisions": "false", + "processDstarCollisions": "false", + "processDstarMcCollisions": "false", + "processLcCollisions": "false", + "processLcMcCollisions": "false", + "processSelectingClusters": "false", + "processSelectingTracks": "false", + "processSetupCollisionSelection": "false", + "processSetupEventTriggering": "false", + "processXicToXiPiPiCollisions": "false", + "processXicToXiPiPiMcCollisions": "false", + "skipMBGapEvents": "true", + "thresholdClusterEnergyMin": "0", + "thresholdTriggerTrackPtMin": "0", + "trackEtaMax": "0.9", + "trackEtaMin": "-0.9", + "trackOccupancyInTimeRangeMax": "999999", + "trackPhiMax": "99", + "trackPhiMin": "-99", + "trackPtMax": "1000", + "trackPtMin": "0.150000006", + "trackSelections": "globalTracks", + "trackingEfficiency": { + "values": [ + "1", + "1" + ] + }, + "trackingEfficiencyPtBinning": { + "values": [ + "0", + "10", + "999" + ] + }, + "triggerMasks": "", + "triggerTrackEtaSelectionMax": "0.9", + "triggerTrackPtSelectionMin": "0.15", + "vertexZCut": "10" + }, "event-selection-task": { "EpsilonVzDiffVetoInROF": "0.3", "FT0CamplPerCollCutVetoOnCollInROF": "5000", @@ -284,6 +358,58 @@ "processRun2": "false", "processRun3": "true" }, + "eventselection-run3": { + "bcselOpts": { + "ITSROFrameEndBorderMargin": "-1", + "ITSROFrameStartBorderMargin": "-1", + "NumberOfOrbitsPerTF": "-1", + "TimeFrameEndBorderMargin": "-1", + "TimeFrameStartBorderMargin": "-1", + "amIneeded": "-1", + "checkRunDurationLimits": "false", + "maxInactiveChipsPerLayer": { + "values": [ + "8", + "8", + "8", + "111", + "111", + "195", + "195" + ] + }, + "triggerBcShift": "0" + }, + "ccdburl": "http://alice-ccdb.cern.ch", + "evselOpts": { + "EpsilonVzDiffVetoInROF": "0.3", + "FT0CamplPerCollCutVetoOnCollInROF": "5000", + "FT0CamplPerCollCutVetoOnCollInTimeRange": "8000", + "NumberOfOrbitsPerTF": "-1", + "TimeIntervalForOccupancyCalculationMax": "100", + "TimeIntervalForOccupancyCalculationMin": "-40", + "TimeRangeVetoOnCollNarrow": "0.25", + "TimeRangeVetoOnCollStrict": "10", + "UseWeightsForOccupancyEstimator": "true", + "VzDiffMargin": "0.2", + "VzDiffNsigma": "3", + "amIneeded": "-1", + "confSigmaBCforHighPtTracks": "4", + "isMC": "-1", + "maxDiffZvtxFT0vsPV": "1", + "muonSelection": "0" + }, + "lumiOpts": { + "amIneeded": "-1" + }, + "timestamp": { + "fatalOnInvalidTimestamp": "false", + "isRun2MC": "-1", + "orbit-reset-path": "CTP/Calib/OrbitReset", + "rct-path": "RCT/Info/RunInformation", + "verbose": "false" + } + }, "ft0-corrected-table": { "addHistograms": "false", "ccdb-path-grplhcif": "GLO/Config/GRPLHCIF", @@ -5379,8 +5505,6 @@ "usePidTpcAndTof": "false" }, "hf-candidate-selector-xic-to-xi-pi-pi": { - "acceptPIDNotApplicable": "true", - "activateQA": "false", "applyMl": "false", "binsPt": { "values": [ @@ -5391,10 +5515,13 @@ "4", "5", "6", + "7", "8", + "9", + "10", + "11", "12", - "24", - "36" + "20" ] }, "binsPtMl": { @@ -5425,17 +5552,18 @@ "cuts": { "labels_cols": [ "m", - "pT Xi", + "y", + "eta", + "eta Pi from XicPlus", + "eta Xi Daughters", "pT Pi0", "pT Pi1", - "chi2PCA", - "max decay length", - "max decay length XY", - "cos pointing angle", - "cos pointing angle XY", - "max impParXY Xi", - "max impParXY Pi0", - "max impParXY Pi1" + "pT Pi0 + Pi1", + "chi2SV", + "min decay length", + "min decay length XY", + "max inv mass Xi-Pi0", + "max inv mass Xi-Pi1" ], "labels_rows": [ "pT bin 0", @@ -5447,155 +5575,213 @@ "pT bin 6", "pT bin 7", "pT bin 8", - "pT bin 9" + "pT bin 9", + "pT bin 10", + "pT bin 11", + "pT bin 12" ], "values": [ [ "0.4", - "0.4", - "0.4", - "0.4", - "1.0e-05", - "0.5", - "0.5", - "0.9", - "0.9", + "0.8", + "0.8", + "0.8", + "1", "0.1", "0.1", - "0.1" + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" ], [ "0.4", - "0.4", - "0.4", - "0.4", - "1.0e-05", - "0.5", - "0.5", - "0.9", - "0.9", + "0.8", + "0.8", + "0.8", + "1", "0.1", "0.1", - "0.1" + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" ], [ "0.4", - "0.4", - "0.4", - "0.4", - "1.0e-05", - "0.5", - "0.5", - "0.9", - "0.9", + "0.8", + "0.8", + "0.8", + "1", "0.1", "0.1", - "0.1" + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" ], [ "0.4", - "0.4", - "0.4", - "0.4", - "1.0e-05", - "0.5", - "0.5", - "0.9", - "0.9", + "0.8", + "0.8", + "0.8", + "1", "0.1", "0.1", - "0.1" + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" ], [ "0.4", - "0.4", - "0.4", - "0.4", - "1.0e-05", - "0.5", - "0.5", - "0.9", - "0.9", + "0.8", + "0.8", + "0.8", + "1", "0.1", "0.1", - "0.1" + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" ], [ "0.4", - "0.4", - "0.4", - "0.4", - "1.0e-05", - "0.5", - "0.5", - "0.9", - "0.9", + "0.8", + "0.8", + "0.8", + "1", "0.1", "0.1", - "0.1" + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" ], [ "0.4", - "0.4", - "0.4", - "0.4", - "1.0e-05", - "0.5", - "0.5", - "0.9", - "0.9", + "0.8", + "0.8", + "0.8", + "1", "0.1", "0.1", - "0.1" + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" ], [ "0.4", - "0.4", - "0.4", - "0.4", - "1.0e-05", - "0.5", - "0.5", - "0.9", - "0.9", + "0.8", + "0.8", + "0.8", + "1", "0.1", "0.1", - "0.1" + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" ], [ "0.4", - "0.4", - "0.4", - "0.4", - "1.0e-05", - "0.5", - "0.5", - "0.9", - "0.9", + "0.8", + "0.8", + "0.8", + "1", "0.1", "0.1", - "0.1" + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" ], [ "0.4", + "0.8", + "0.8", + "0.8", + "1", + "0.1", + "0.1", + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" + ], + [ "0.4", + "0.8", + "0.8", + "0.8", + "1", + "0.1", + "0.1", + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" + ], + [ "0.4", - "0.4", - "1.0e-05", - "0.5", - "0.5", - "0.9", - "0.9", + "0.8", + "0.8", + "0.8", + "1", "0.1", "0.1", - "0.1" - ] - ] - }, - "cutsMl": { - "labels_cols": [ - "score class 1", - "score class 2", + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" + ], + [ + "0.4", + "0.8", + "0.8", + "0.8", + "1", + "0.1", + "0.1", + "0.2", + "100", + "0", + "0", + "2.4", + "2.4" + ] + ] + }, + "cutsMl": { + "labels_cols": [ + "score class 1", + "score class 2", "score class 3" ], "labels_rows": [ @@ -5675,6 +5861,9 @@ ] ] }, + "doTrackQualitySelection": "true", + "fillQAHistograms": "false", + "itsChi2PerClusterMax": "36", "loadModelsFromCCDB": "false", "modelPathsCCDB": { "values": [ @@ -5682,14 +5871,18 @@ ] }, "nClassesMl": "3", + "nClustersItsInnBarrMin": "1", + "nClustersItsMin": "3", + "nClustersTpcMin": "70", "nSigmaTofCombinedMax": "5", "nSigmaTofMax": "5", "nSigmaTpcCombinedMax": "5", "nSigmaTpcMax": "5", + "nTpcCrossedRowsMin": "70", "namesInputFeatures": { "values": [ - "hannel f", - " disable" + "feature1", + "feature2" ] }, "onnxFileNames": { @@ -5697,14 +5890,17 @@ "ModelHandler_onnx_XicToXiPiPi.onnx" ] }, - "ptCandMax": "36", - "ptCandMin": "0", + "processData": "true", + "processMc": "false", "ptPidTofMax": "20", "ptPidTofMin": "0.15", "ptPidTpcMax": "20", "ptPidTpcMin": "0.15", "timestampCCDB": "-1", - "usePid": "true" + "tpcChi2PerClusterMax": "4", + "tpcCrossedRowsOverFindableClustersRatioMin": "0.8", + "usePid": "true", + "useTpcPidOnly": "false" }, "hf-candidate-selector-xicc-to-p-k-pi-pi": { "binsPt": { @@ -6165,11 +6361,13 @@ }, "hf-pid-creator": { "processDummy": "false", + "processFullDe": "true", "processFullEl": "false", "processFullKa": "true", "processFullMu": "false", "processFullPi": "true", "processFullPr": "true", + "processTinyDe": "false", "processTinyEl": "false", "processTinyKa": "false", "processTinyMu": "false", @@ -7852,6 +8050,7 @@ "dcaPosToPv": "0.05", "dcaV0Dau": "2", "dcaV0ToPv": "0.05", + "decayLengthXicMin": "-1", "do3Prong": "true", "fillHistograms": "true", "isRun2": "false", @@ -7874,13 +8073,15 @@ "ptMinOmegaczeroToOmegaKaLfCasc": "0", "ptMinXicZeroOmegacZeroToXiPiLfCasc": "0", "ptMinXicplusLfCasc": "0", + "ptTolerance": "0.1", "refitWithMatCorr": "true", "rejDiffCollTrack": "true", "useAbsDCA": "true", "useWeightedFinalPCA": "true", "v0CosPA": "0.95", "v0MassWindow": "0.008", - "v0TransvRadius": "1" + "v0TransvRadius": "1", + "xicCosPA": "-2" }, "hf-track-index-skim-creator-tag-sel-collisions": { "fillHistograms": "true", @@ -8372,7 +8573,7 @@ "processCollisionsRun2": "false", "processCollisionsWithoutCentralityAndMultiplicity": "false", "processD0": "true", - "processD0Collisions": "false", + "processD0Collisions": "true", "processD0MC": "false", "processD0McCollisions": "false", "processDielectron": "false", @@ -8451,6 +8652,7 @@ }, "jet-finder-d0-data-charged": { "DoTriggering": "false", + "applyTrackingEfficiency": "false", "candPtMax": "100", "candPtMin": "0", "candYMax": "0.8", @@ -8459,16 +8661,16 @@ "centralityMin": "-999", "clusterDefinition": "kV3Default", "clusterEnergyMin": "0.5", - "clusterEtaMax": "0.7", - "clusterEtaMin": "-0.7", - "clusterPhiMax": "999", - "clusterPhiMin": "-999", + "clusterEtaMax": "0.71", + "clusterEtaMin": "-0.71", + "clusterPhiMax": "3.27", + "clusterPhiMin": "1.39", "clusterRejectExotics": "true", "clusterTimeMax": "25", "clusterTimeMin": "-25", "eventSelections": "sel8", - "fillTHnSparse": "false", - "ghostRepeat": "1", + "fillTHnSparse": "true", + "ghostRepeat": "0", "jetAlgorithm": "2", "jetAreaFractionMin": "-99", "jetEWSPtMax": "1000", @@ -8494,7 +8696,7 @@ "processChargedJetsData": "true", "processChargedJetsMCD": "false", "processChargedJetsMCP": "false", - "processDummy": "false", + "processDummy": "true", "rejectBackgroundMCDCandidates": "false", "rejectIncorrectDecaysMCP": "true", "skipMBGapEvents": "true", @@ -8506,127 +8708,19 @@ "trackPtMax": "1000", "trackPtMin": "0.15", "trackSelections": "globalTracks", - "trackingEfficiency": "1", - "triggerMasks": "", - "vertexZCut": "10" - }, - "jet-finder-d0-mcd-charged": { - "DoTriggering": "false", - "candPtMax": "100", - "candPtMin": "0", - "candYMax": "0.8", - "candYMin": "-0.8", - "centralityMax": "999", - "centralityMin": "-999", - "clusterDefinition": "kV3Default", - "clusterEnergyMin": "0.5", - "clusterEtaMax": "0.7", - "clusterEtaMin": "-0.7", - "clusterPhiMax": "999", - "clusterPhiMin": "-999", - "clusterRejectExotics": "true", - "clusterTimeMax": "25", - "clusterTimeMin": "-25", - "eventSelections": "sel8", - "fillTHnSparse": "false", - "ghostRepeat": "1", - "jetAlgorithm": "2", - "jetAreaFractionMin": "-99", - "jetEWSPtMax": "1000", - "jetEWSPtMin": "0", - "jetEtaMax": "99", - "jetEtaMin": "-99", - "jetExtraParam": "-99", - "jetGhostArea": "0.005", - "jetPtBinWidth": "5", - "jetPtMax": "1000", - "jetPtMin": "0", - "jetRadius": { + "trackingEfficiency": { "values": [ - "0.4" + "1", + "1" ] }, - "jetRecombScheme": "0", - "jetTypeParticleLevel": "1", - "particleSelections": "PhysicalPrimary", - "processChargedEvtWiseSubJetsData": "false", - "processChargedEvtWiseSubJetsMCD": "false", - "processChargedEvtWiseSubJetsMCP": "false", - "processChargedJetsData": "false", - "processChargedJetsMCD": "true", - "processChargedJetsMCP": "false", - "processDummy": "false", - "rejectBackgroundMCDCandidates": "false", - "rejectIncorrectDecaysMCP": "true", - "trackEtaMax": "0.9", - "trackEtaMin": "-0.9", - "trackOccupancyInTimeRangeMax": "999999", - "trackPhiMax": "999", - "trackPhiMin": "-999", - "trackPtMax": "1000", - "trackPtMin": "0.15", - "trackSelections": "globalTracks", - "trackingEfficiency": "1", - "triggerMasks": "", - "vertexZCut": "10" - }, - "jet-finder-d0-mcp-charged": { - "DoTriggering": "false", - "candPtMax": "100", - "candPtMin": "0", - "candYMax": "0.8", - "candYMin": "-0.8", - "centralityMax": "999", - "centralityMin": "-999", - "clusterDefinition": "kV3Default", - "clusterEnergyMin": "0.5", - "clusterEtaMax": "0.7", - "clusterEtaMin": "-0.7", - "clusterPhiMax": "999", - "clusterPhiMin": "-999", - "clusterRejectExotics": "true", - "clusterTimeMax": "25", - "clusterTimeMin": "-25", - "eventSelections": "sel8", - "fillTHnSparse": "false", - "ghostRepeat": "1", - "jetAlgorithm": "2", - "jetAreaFractionMin": "-99", - "jetEWSPtMax": "1000", - "jetEWSPtMin": "0", - "jetEtaMax": "99", - "jetEtaMin": "-99", - "jetExtraParam": "-99", - "jetGhostArea": "0.005", - "jetPtBinWidth": "5", - "jetPtMax": "1000", - "jetPtMin": "0", - "jetRadius": { + "trackingEfficiencyPtBinning": { "values": [ - "0.4" + "0", + "10", + "999" ] }, - "jetRecombScheme": "0", - "jetTypeParticleLevel": "1", - "particleSelections": "PhysicalPrimary", - "processChargedEvtWiseSubJetsData": "false", - "processChargedEvtWiseSubJetsMCD": "false", - "processChargedEvtWiseSubJetsMCP": "false", - "processChargedJetsData": "false", - "processChargedJetsMCD": "false", - "processChargedJetsMCP": "true", - "processDummy": "false", - "rejectBackgroundMCDCandidates": "false", - "rejectIncorrectDecaysMCP": "true", - "trackEtaMax": "0.9", - "trackEtaMin": "-0.9", - "trackOccupancyInTimeRangeMax": "999999", - "trackPhiMax": "999", - "trackPhiMin": "-999", - "trackPtMax": "1000", - "trackPtMin": "0.15", - "trackSelections": "globalTracks", - "trackingEfficiency": "1", "triggerMasks": "", "vertexZCut": "10" }, @@ -8639,56 +8733,65 @@ "processDummy": "false", "processJets": "true" }, - "jet-substructure-D0-data": { - "beta": "0", - "processChargedJetsHFMCP": "false", - "processChargedJetsHF_data": "true", - "processDummy_data": "false", - "zCut": "0.1" - }, - "jet-substructure-D0-mcd": { + "jet-substructure-d0": { + "alpha": "1", + "applyTrackingEfficiency": "false", "beta": "0", - "processChargedJetsHFMCP": "false", - "processChargedJetsHF_mcd": "true", - "processDummy_mcd": "false", - "zCut": "0.1" - }, - "jet-substructure-D0-mcp": { - "beta": "0", - "processChargedJetsHF": "false", - "processChargedJetsHFMCP_mcp": "true", - "processDummy_mcp": "false", - "zCut": "0.1" - }, - "jet-substructure-output-D0-data": { - "jetPtMin": "0", - "jetRadii": { + "doPairBkg": "false", + "kappa": "1", + "pairConstituentPtMin": "1", + "processChargedJetsData": "true", + "processChargedJetsDataSub": "false", + "processChargedJetsMCD": "false", + "processChargedJetsMCP": "false", + "trackSelections": "globalTracks", + "trackingEfficiency": { "values": [ - "0.4" + "1", + "1" ] }, - "processDummy_data": "false", - "processOutput_data": "true" - }, - "jet-substructure-output-D0-mcd": { - "jetPtMin": "0", - "jetRadii": { + "trackingEfficiencyPtBinning": { "values": [ - "0.4" + "0", + "10", + "999" ] }, - "processDummy_mcd": "false", - "processOutput_mcd": "true" + "zCut": "0.1" }, - "jet-substructure-output-D0-mcp": { - "jetPtMin": "0", + "jet-substructure-d0-output": { + "jetEtaMax": "99", + "jetEtaMin": "-99", + "jetPtMinData": "0", + "jetPtMinDataSub": "0", + "jetPtMinMCD": "0", + "jetPtMinMCP": "0", "jetRadii": { "values": [ "0.4" ] }, - "processDummy_mcp": "false", - "processOutput_mcp": "true" + "processClearMaps": "true", + "processClearMapsMCP": "false", + "processOutputCandidatesData": "true", + "processOutputCandidatesDataSub": "false", + "processOutputCandidatesMCD": "false", + "processOutputCandidatesMCP": "false", + "processOutputCollisionsData": "true", + "processOutputCollisionsDataSub": "false", + "processOutputCollisionsMCPOnly": "false", + "processOutputCollisionsMc": "false", + "processOutputJetMatchingData": "false", + "processOutputJetMatchingMC": "false", + "processOutputJetsData": "true", + "processOutputJetsDataSub": "false", + "processOutputJetsMCD": "false", + "processOutputJetsMCP": "false", + "processOutputSubstructureMatchingData": "false", + "processOutputSubstructureMatchingMC": "false", + "trackEtaMax": "0.9", + "trackEtaMin": "-0.9" }, "lambdakzero-builder": { "axisConfigurations": { @@ -9122,94 +9225,543 @@ "processIU": "false", "processStandard": "true" }, - "qa-efficiency": { - "applyEvSel": "0", - "do-al": "true", - "do-de": "true", - "do-el": "true", - "do-he": "true", - "do-ka": "true", - "do-mu": "true", - "do-pi": "true", - "do-pr": "true", - "do-tr": "true", - "do-un-id": "true", - "doNegativePDG": "true", - "doPositivePDG": "true", - "doPtEta": "true", - "etaBins": { - "values": [ - "100", - "-0.8", - "0.8" - ] - }, - "globalTrackSelection": "0", - "log-pt": "0", - "make-eff": "true", - "nMinNumberOfContributors": "2", - "noFakesHits": "false", - "phiBins": { - "values": [ - "100", - "0", - "6.284" - ] - }, - "processData": "false", - "processMC": "true", - "ptBins": { - "values": [ - "20", - "0.1", - "10" - ] + "pid-tpc-service": { + "ccdburl": "http://alice-ccdb.cern.ch", + "pidTPC": { + "autofetchNetworks": "true", + "ccdb-path-grplhcif": "GLO/Config/GRPLHCIF", + "ccdb-timestamp": "0", + "ccdbPath": "Analysis/PID/TPC/Response", + "devicesRequiringTPCOnlyPID": { + "values": [ + "photon-conversion-builder" + ] + }, + "enableNetworkOptimizations": "false", + "enableTuneOnDataTable": "-1", + "networkBetaGammaCutoff": "0.45", + "networkPathCCDB": "Analysis/PID/TPC/ML", + "networkPathLocally": "network.onnx", + "networkSetNumThreads": "0", + "param-file": "", + "pid-full-al": "-1", + "pid-full-de": "-1", + "pid-full-el": "-1", + "pid-full-he": "-1", + "pid-full-ka": "-1", + "pid-full-mu": "-1", + "pid-full-pi": "-1", + "pid-full-pr": "-1", + "pid-full-tr": "-1", + "pid-tiny-al": "-1", + "pid-tiny-de": "-1", + "pid-tiny-el": "-1", + "pid-tiny-he": "-1", + "pid-tiny-ka": "-1", + "pid-tiny-mu": "-1", + "pid-tiny-pi": "-1", + "pid-tiny-pr": "-1", + "pid-tiny-tr": "-1", + "recoPass": "", + "savedEdxsCorrected": "-1", + "skipTPCOnly": "-1", + "useCorrecteddEdx": "false", + "useNetworkAl": "0", + "useNetworkCorrection": "false", + "useNetworkDe": "0", + "useNetworkEl": "1", + "useNetworkHe": "0", + "useNetworkKa": "1", + "useNetworkMu": "0", + "useNetworkPi": "1", + "useNetworkPr": "1", + "useNetworkTr": "0" + }, + "processTracksIU": "true", + "processTracksIUWithTracksQA": "false", + "processTracksMCIU": "false" + }, + "propagation-service": { + "cascadeBuilderOpts": { + "casccospa": "0.95", + "cascradius": "0.9", + "dcabachtopv": "0.05", + "dcacascdau": "1", + "kfConstructMethod": "2", + "kfDoDCAFitterPreMinimCasc": "true", + "kfDoDCAFitterPreMinimV0": "true", + "kfTuneForOmega": "false", + "kfUseCascadeMassConstraint": "false", + "kfUseV0MassConstraint": "true", + "lambdaMassWindow": "0.01", + "maxDaughterEta": "5", + "mc_addGeneratedOmegaMinus": "true", + "mc_addGeneratedOmegaPlus": "true", + "mc_addGeneratedXiMinus": "true", + "mc_addGeneratedXiPlus": "true", + "mc_findableDetachedCascade": "false", + "mc_keepOnlyPhysicalPrimary": "false", + "mc_populateCascMCCoresAsymmetric": "false", + "mc_populateCascMCCoresSymmetric": "true", + "mc_rapidityWindow": "0.5", + "mc_treatPiToMuDecays": "true", + "minCrossedRows": "50", + "useCascadeMomentumAtPrimVtx": "false" + }, + "ccdb": { + "ccdb-url": "http://alice-ccdb.cern.ch", + "grpPath": "GLO/GRP/GRP", + "grpmagPath": "GLO/Config/GRPMagField", + "lutPath": "GLO/Param/MatLUTInner", + "mVtxPath": "GLO/Calib/MeanVertex" }, - "trackSelection": "true", - "vertex-z-max": "10", - "vertex-z-min": "-10", - "yBins": { + "ccdburl": "http://alice-ccdb.cern.ch", + "deduplicationAlgorithm": "1", + "enabledTables": { + "labels_cols": [ + "enable" + ], + "labels_rows": [ + "V0Indices", + "V0CoresBase", + "V0Covs", + "CascIndices", + "KFCascIndices", + "TraCascIndices", + "StoredCascCores", + "StoredKFCascCores", + "StoredTraCascCores", + "CascCovs", + "KFCascCovs", + "TraCascCovs", + "V0TrackXs", + "CascTrackXs", + "CascBBs", + "V0DauCovs", + "V0DauCovIUs", + "V0TraPosAtDCAs", + "V0TraPosAtIUs", + "V0Ivanovs", + "McV0Labels", + "V0MCCores", + "V0CoreMCLabels", + "V0MCCollRefs", + "McCascLabels", + "McKFCascLabels", + "McTraCascLabels", + "McCascBBTags", + "CascMCCores", + "CascCoreMCLabels", + "CascMCCollRefs", + "CascToTraRefs", + "CascToKFRefs", + "TraToCascRefs", + "KFToCascRefs", + "V0FoundTags", + "CascFoundTags" + ], "values": [ - "100", - "-0.5", - "0.5" - ] - } - }, - "timestamp-task": { - "ccdb-url": "http://alice-ccdb.cern.ch", - "fatalOnInvalidTimestamp": "false", - "isRun2MC": "-1", - "orbit-reset-path": "CTP/Calib/OrbitReset", - "rct-path": "RCT/Info/RunInformation", - "verbose": "false" - }, - "tof-event-time": { - "ccdb-timestamp": "-1", - "ccdb-url": "http://alice-ccdb.cern.ch", - "enableTimeDependentResponse": "false", - "fatalOnPassNotAvailable": "true", - "inheritFromBaseTask": "true", - "loadResponseFromCCDB": "false", - "maxEvTimeTOF": "100000", - "maxMomentum": "2", - "maxNtracksInSet": "10", - "minMomentum": "0.5", - "paramFileName": "", - "parametrizationPath": "TOF/Calib/Params", - "passName": "", - "processFT0": "true", - "processNoFT0": "false", - "processOnlyFT0": "false", - "processRun2": "false", - "sel8TOFEvTime": "false" + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ], + [ + "-1" + ] + ] + }, + "mc_findableMode": "0", + "preSelectOpts": { + "lifetimeCut": { + "labels_cols": [ + "lifetimeCutK0S", + "lifetimeCutLambda", + "lifetimeCutXi", + "lifetimeCutOmega" + ], + "labels_rows": "", + "values": [ + [ + "20", + "60", + "40", + "20" + ] + ] + }, + "massCutK0": { + "labels_cols": [ + "constant", + "linear", + "expoConstant", + "expoRelax" + ], + "labels_rows": "", + "values": [ + [ + "0.00281882007", + "0.00114057004", + "0.00172138005", + "0.500262022" + ] + ] + }, + "massCutLambda": { + "labels_cols": [ + "constant", + "linear", + "expoConstant", + "expoRelax" + ], + "labels_rows": "", + "values": [ + [ + "0.00117517996", + "0.000124098995", + "0.00547936978", + "0.308008999" + ] + ] + }, + "massCutOm": { + "labels_cols": [ + "constant", + "linear", + "expoConstant", + "expoRelax" + ], + "labels_rows": "", + "values": [ + [ + "0.00143209996", + "0.000203560994", + "0.00243186997", + "0.799668014" + ] + ] + }, + "massCutPhoton": "0.3", + "massCutXi": { + "labels_cols": [ + "constant", + "linear", + "expoConstant", + "expoRelax" + ], + "labels_rows": "", + "values": [ + [ + "0.00143209996", + "0.000203560994", + "0.00243186997", + "0.799668014" + ] + ] + }, + "massWindowSafetyMargin": "0.001", + "massWindownumberOfSigmas": "20", + "maxTPCpidNsigma": "5", + "preselectOnlyDesiredCascades": "false", + "preselectOnlyDesiredV0s": "false" + }, + "processMonteCarlo": "true", + "processMonteCarloWithPID": "false", + "processRealData": "false", + "processRealDataWithPID": "false", + "refitWithMaterialCorrection": "false", + "trackPropagation": { + "axisPtQA": { + "values": [ + "0", + "0", + "0.1", + "0.2", + "0.3", + "0.4", + "0.5", + "0.6", + "0.7", + "0.8", + "0.9", + "1.0", + "1.1", + "1.2", + "1.3", + "1.4", + "1.5", + "1.6", + "1.7", + "1.8", + "1.9", + "2.0", + "2.2", + "2.4", + "2.6", + "2.8", + "3.0", + "3.2", + "3.4", + "3.6", + "3.8", + "4.0", + "4.4", + "4.8", + "5.2", + "5.6", + "6.0", + "6.5", + "7.0", + "7.5", + "8.0", + "9.0", + "10.0", + "11.0", + "12.0", + "13.0", + "14.0", + "15.0", + "17.0", + "19.0", + "21.0", + "23.0", + "25.0", + "30.0", + "35.0", + "40.0", + "50.0" + ] + }, + "fillTrackTunerTable": "false", + "minPropagationDistance": "5", + "trackTunerConfigSource": "1", + "trackTunerParams": "debugInfo=0|updateTrackDCAs=1|updateTrackCovMat=1|updateCurvature=0|updateCurvatureIU=0|updatePulls=0|isInputFileFromCCDB=1|pathInputFile=Users/m/mfaggin/test/inputsTrackTuner/PbPb2022|nameInputFile=trackTuner_DataLHC22sPass5_McLHC22l1b2_run529397.root|pathFileQoverPt=Users/h/hsharma/qOverPtGraphs|nameFileQoverPt=D0sigma_Data_removal_itstps_MC_LHC22b1b.root|usePvRefitCorrections=0|qOverPtMC=-1.|qOverPtData=-1.", + "useTrackTuner": "false", + "useTrkPid": "false" + }, + "trackTuner": { + "autoDetectDcaCalib": "false", + "debugInfo": "false", + "isInputFileFromCCDB": "false", + "nPhiBins": "0", + "nameFileQoverPt": "", + "nameInputFile": "", + "pathFileQoverPt": "", + "pathInputFile": "", + "qOverPtData": "-1", + "qOverPtMC": "-1", + "updateCurvature": "false", + "updateCurvatureIU": "false", + "updatePulls": "false", + "updateTrackCovMat": "false", + "updateTrackDCAs": "false", + "usePvRefitCorrections": "false" + }, + "useV0BufferForCascades": "false", + "v0BuilderOpts": { + "dcanegtopv": "0.05", + "dcapostopv": "0.05", + "dcav0dau": "1", + "generatePhotonCandidates": "false", + "maxDaughterEta": "5", + "mc_addGeneratedAntiLambda": "true", + "mc_addGeneratedGamma": "false", + "mc_addGeneratedGammaMakeCollinear": "true", + "mc_addGeneratedK0Short": "true", + "mc_addGeneratedLambda": "true", + "mc_findableDetachedV0": "false", + "mc_keepOnlyPhysicalPrimary": "false", + "mc_populateV0MCCoresAsymmetric": "false", + "mc_populateV0MCCoresSymmetric": "true", + "mc_rapidityWindow": "0.5", + "mc_treatPiToMuDecays": "true", + "minCrossedRows": "50", + "moveTPCOnlyTracks": "true", + "v0cospa": "0.95", + "v0radius": "0.9" + } }, - "tof-pid-full": { - "ccdb-timestamp": "-1", + "qa-efficiency": { + "applyEvSel": "0", + "do-al": "true", + "do-de": "true", + "do-el": "true", + "do-he": "true", + "do-ka": "true", + "do-mu": "true", + "do-pi": "true", + "do-pr": "true", + "do-tr": "true", + "do-un-id": "true", + "doNegativePDG": "true", + "doPositivePDG": "true", + "doPtEta": "true", + "etaBins": { + "values": [ + "100", + "-0.8", + "0.8" + ] + }, + "globalTrackSelection": "0", + "log-pt": "0", + "make-eff": "true", + "nMinNumberOfContributors": "2", + "noFakesHits": "false", + "phiBins": { + "values": [ + "100", + "0", + "6.284" + ] + }, + "processData": "false", + "processMC": "true", + "ptBins": { + "values": [ + "20", + "0.1", + "10" + ] + }, + "trackSelection": "true", + "vertex-z-max": "10", + "vertex-z-min": "-10", + "yBins": { + "values": [ + "100", + "-0.5", + "0.5" + ] + } + }, + "timestamp-task": { "ccdb-url": "http://alice-ccdb.cern.ch", + "fatalOnInvalidTimestamp": "false", + "isRun2MC": "-1", + "orbit-reset-path": "CTP/Calib/OrbitReset", + "rct-path": "RCT/Info/RunInformation", + "verbose": "false" + }, + "tof-event-time": { + "computeEvTimeWithFT0": "1", + "computeEvTimeWithTOF": "1", + "maxEvTimeTOF": "100000", + "maxMomentum": "2", + "maxNtracksInSet": "10", + "minMomentum": "0.5", + "processRun2": "false", + "processRun3": "true", + "sel8TOFEvTime": "false" + }, + "tof-pid-merge": { "enableParticle": { "labels_cols": [ - "Enable" + "Enable", + "EnableFull" ], "labels_rows": [ "El", @@ -9224,200 +9776,69 @@ ], "values": [ [ + "-1", "-1" ], [ + "-1", "-1" ], [ + "-1", "-1" ], [ + "-1", "-1" ], [ + "-1", "-1" ], [ + "-1", "-1" ], [ + "-1", "-1" ], [ + "-1", "-1" ], [ + "-1", "-1" ] ] }, - "enableTimeDependentResponse": "false", - "fatalOnPassNotAvailable": "true", - "inheritFromBaseTask": "true", - "loadResponseFromCCDB": "false", - "paramFileName": "", - "parametrizationPath": "TOF/Calib/Params", - "passName": "", - "processWSlice": "true", - "processWoSlice": "false", - "timeShiftCCDBPath": "" + "enableQaHistograms": "false", + "enableTOFParamsForBetaMass": "false", + "processRun2": "false", + "processRun2BetaM": "false", + "processRun3": "true", + "processRun3BetaM": "true" }, "tof-signal": { + "autoSetProcessFunctions": "true", + "ccdb-path-grplhcif": "GLO/Config/GRPLHCIF", "ccdb-timestamp": "-1", "ccdb-url": "http://alice-ccdb.cern.ch", - "distanceForGoodMatch": "999", - "distanceForGoodMatchLowMult": "999", + "collisionSystem": "-1", "enableQaHistograms": "false", - "multThreshold": "0", + "enableTimeDependentResponse": "true", + "fatalOnPassNotAvailable": "false", + "paramFileName": "", + "parametrizationPath": "TOF/Calib/Params", "processRun2": "false", "processRun3": "true", - "timeShiftCCDBPath": "" - }, - "tpc-pid": { - "autofetchNetworks": "true", - "ccdb-timestamp": "0", - "ccdb-url": "http://alice-ccdb.cern.ch", - "ccdbPath": "Analysis/PID/TPC/Response", - "enableNetworkOptimizations": "true", - "enableTuneOnDataTable": "-1", - "networkBetaGammaCutoff": "0.45", - "networkPathCCDB": "Analysis/PID/TPC/ML", - "networkPathLocally": "network.onnx", - "networkSetNumThreads": "0", - "param-file": "", - "pid-full-al": "-1", - "pid-full-de": "-1", - "pid-full-el": "-1", - "pid-full-he": "-1", - "pid-full-ka": "-1", - "pid-full-mu": "-1", - "pid-full-pi": "-1", - "pid-full-pr": "-1", - "pid-full-tr": "-1", - "pid-tiny-al": "-1", - "pid-tiny-de": "-1", - "pid-tiny-el": "-1", - "pid-tiny-he": "-1", - "pid-tiny-ka": "-1", - "pid-tiny-mu": "-1", - "pid-tiny-pi": "-1", - "pid-tiny-pr": "-1", - "pid-tiny-tr": "-1", - "processMcTuneOnData": "false", - "processStandard": "true", - "recoPass": "", - "skipTPCOnly": "false", - "useNetworkAl": "1", - "useNetworkCorrection": "false", - "useNetworkDe": "1", - "useNetworkEl": "1", - "useNetworkHe": "1", - "useNetworkKa": "1", - "useNetworkMu": "1", - "useNetworkPi": "1", - "useNetworkPr": "1", - "useNetworkTr": "1" - }, - "track-extension": { - "compatibilityIU": "false", - "processRun2": "true", - "processRun3": "false" - }, - "track-propagation": { - "axisPtQA": { - "values": [ - "0", - "0", - "0.1", - "0.2", - "0.3", - "0.4", - "0.5", - "0.6", - "0.7", - "0.8", - "0.9", - "1", - "1.1", - "1.2", - "1.3", - "1.4", - "1.5", - "1.6", - "1.7", - "1.8", - "1.9", - "2", - "2.2", - "2.4", - "2.6", - "2.8", - "3", - "3.2", - "3.4", - "3.6", - "3.8", - "4", - "4.4", - "4.8", - "5.2", - "5.6", - "6", - "6.5", - "7", - "7.5", - "8", - "9", - "10", - "11", - "12", - "13", - "14", - "15", - "17", - "19", - "21", - "23", - "25", - "30", - "35", - "40", - "50" - ] - }, - "ccdb-url": "http://alice-ccdb.cern.ch", - "fillTrackTunerTable": "false", - "geoPath": "GLO/Config/GeometryAligned", - "grpmagPath": "GLO/Config/GRPMagField", - "lutPath": "GLO/Param/MatLUT", - "mVtxPath": "GLO/Calib/MeanVertex", - "minPropagationDistance": "5", - "processCovariance": "true", - "processCovarianceMc": "false", - "processCovarianceWithPID": "false", - "processStandard": "false", - "processStandardWithPID": "false", - "trackTuner": { - "debugInfo": "false", - "isInputFileFromCCDB": "false", - "nPhiBins": "0", - "nameFileQoverPt": "", - "nameInputFile": "", - "pathFileQoverPt": "", - "pathInputFile": "", - "qOverPtData": "-1", - "qOverPtMC": "-1", - "updateCurvature": "false", - "updateCurvatureIU": "false", - "updatePulls": "false", - "updateTrackCovMat": "false", - "updateTrackDCAs": "false", - "usePvRefitCorrections": "false" - }, - "trackTunerConfigSource": "1", - "trackTunerParams": "debugInfo=0|updateTrackDCAs=1|updateTrackCovMat=1|updateCurvature=0|updateCurvatureIU=0|updatePulls=0|isInputFileFromCCDB=1|pathInputFile=Users/m/mfaggin/test/inputsTrackTuner/PbPb2022|nameInputFile=trackTuner_DataLHC22sPass5_McLHC22l1b2_run529397.root|pathFileQoverPt=Users/h/hsharma/qOverPtGraphs|nameFileQoverPt=D0sigma_Data_removal_itstps_MC_LHC22b1b.root|usePvRefitCorrections=0|qOverPtMC=-1.|qOverPtData=-1.", - "useTrackTuner": "false" + "reconstructionPass": "metadata", + "reconstructionPassDefault": "unanchored", + "timeShiftCCDBPathNeg": "Analysis/PID/TOFOffsetPos", + "timeShiftCCDBPathNegMC": "", + "timeShiftCCDBPathPos": "Analysis/PID/TOFOffsetPos", + "timeShiftCCDBPathPosMC": "" }, "track-selection": { "compatibilityIU": "false", diff --git a/codeHF/workflows.yml b/codeHF/workflows.yml index 3c8c1c32..1059d8ca 100644 --- a/codeHF/workflows.yml +++ b/codeHF/workflows.yml @@ -1,12 +1,13 @@ --- options: - global: # used once at the end of the command + global: # used once at the end of the command - "--aod-memory-rate-limit 2000000000" - "--shm-segment-size 16000000000" - "--aod-parent-base-path-replacement \"PARENT_PATH_MASK\"" - "--aod-parent-access-level 1" - "--resources-monitoring 2" - local: # used for every workflow + - "--aod-file \"@list_o2.txt\"" + local: # used for every workflow - "-b" - "--configuration json://\"$JSON\"" # - "--min-failure-level error" @@ -14,15 +15,15 @@ options: workflows: # dummy workflow with the full list of options o2-analysis-workflow: - executable: o2-analysis-workflow # workflow command, if different from the dictionary node name above - dependencies: [] # dictionary nodes that this workflow needs as direct dependencies (format: str, list) - requires_mc: no # yes/no whether the workflow can only run on MC or not - options: "--option" # command line options (format: str, list), see more detailed format below + executable: o2-analysis-workflow # workflow command, if different from the dictionary node name above + dependencies: [] # dictionary nodes that this workflow needs as direct dependencies (format: str, list) + requires_mc: no # yes/no whether the workflow can only run on MC or not + options: "--option" # command line options (format: str, list), see more detailed format below # options: # default: "" # real: "" # mc: "--doMC" - tables: [] # descriptions of output tables to be saved as trees (format: str, list), see more detailed format below + tables: [] # descriptions of output tables to be saved as trees (format: str, list), see more detailed format below # tables: # default: [] # real: [] @@ -38,7 +39,7 @@ workflows: - o2-analysis-track-to-collision-associator # - o2-analysis-centrality_runX - o2-analysis-multiplicity-table_runX - - o2-analysis-pid-tpc + # - o2-analysis-pid-tpc_runX tables: [HF2PRONG/1, HF3PRONG/1, HFDSTAR, HFCASCADE/1, HFCASCLF2PRONG, HFCASCLF3PRONG, HFCUTSTATUS2P, HFCUTSTATUS3P, HFPVREFIT2PRONG, HFPVREFIT3PRONG, HFPVREFITTRACK, HFSELCOLLISION, HFSELTRACK] o2-analysis-hf-track-index-skim-creator_v0: @@ -47,7 +48,6 @@ workflows: - o2-analysis-track-dca_runX - o2-analysis-trackselection_runX - o2-analysis-track-to-collision-associator - - o2-analysis-lf-lambdakzerobuilder o2-analysis-hf-track-index-skim-creator_casc-lf: <<: *skim_creator @@ -55,8 +55,6 @@ workflows: - o2-analysis-track-dca_runX - o2-analysis-trackselection_runX - o2-analysis-track-to-collision-associator - - o2-analysis-lf-lambdakzerobuilder - - o2-analysis-lf-cascadebuilder # Candidate creators @@ -65,17 +63,19 @@ workflows: dependencies: - o2-analysis-hf-track-index-skim-creator_skimX - o2-analysis-track-dca_runX - - o2-analysis-event-selection + - o2-analysis-event-selection-service_runX - o2-analysis-hf-pid-creator - - o2-analysis-pid-tof-full_runX - - o2-analysis-pid-tpc + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX tables: default: [HFCAND2PBASE, DYN/HFCAND2PEXT] mc: [HFCAND2PMCREC, HFCAND2PMCGEN] o2-analysis-hf-candidate-creator-2prong_derived: <<: *cand_creator_2p - dependencies: o2-analysis-track-dca_runX + dependencies: + - o2-analysis-track-dca_runX + - o2-analysis-trackselection_runX o2-analysis-hf-candidate-creator-3prong: &cand_creator_3p <<: *cand_creator_2p @@ -86,7 +86,9 @@ workflows: o2-analysis-hf-candidate-creator-3prong_derived: <<: *cand_creator_3p - dependencies: o2-analysis-track-dca_runX + dependencies: + - o2-analysis-track-dca_runX + - o2-analysis-trackselection_runX o2-analysis-hf-candidate-creator-dstar: &cand_creator_dstar <<: *cand_creator_2p @@ -97,7 +99,9 @@ workflows: o2-analysis-hf-candidate-creator-dstar_derived: <<: *cand_creator_dstar - dependencies: o2-analysis-track-dca_runX + dependencies: + - o2-analysis-track-dca_runX + - o2-analysis-trackselection_runX o2-analysis-hf-candidate-creator-cascade: &cand_creator_cascade <<: *cand_creator_2p @@ -105,11 +109,10 @@ workflows: dependencies: - o2-analysis-hf-track-index-skim-creator_skimX - o2-analysis-track-dca_runX - - o2-analysis-event-selection + - o2-analysis-event-selection-service_runX - o2-analysis-hf-pid-creator - - o2-analysis-pid-tof-full_runX - - o2-analysis-pid-tpc - - o2-analysis-lf-lambdakzerobuilder + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX tables: default: [HFCANDCASCBASE, DYN/HFCANDCASCEXT] mc: [HFCANDCASCMCREC, HFCANDCASCMCGEN] @@ -118,32 +121,11 @@ workflows: <<: *cand_creator_cascade dependencies: - o2-analysis-track-dca_runX - - o2-analysis-event-selection + - o2-analysis-trackselection_runX + - o2-analysis-event-selection-service_runX - o2-analysis-hf-pid-creator - - o2-analysis-pid-tof-full_runX - - o2-analysis-pid-tpc - - o2-analysis-lf-lambdakzerobuilder - - o2-analysis-hf-candidate-creator-x: - dependencies: o2-analysis-hf-candidate-selector-jpsi_runX - tables: - default: [HFCANDXBASE, DYN/HFCANDXEXT] - mc: [HFCANDXMCREC, HFCANDXMCGEN] - - o2-analysis-hf-candidate-creator-xicc: - dependencies: o2-analysis-hf-candidate-selector-xic-to-p-k-pi - requires_mc: yes - options: - mc: "--doMC" - tables: - default: [HFCANDXICCBASE, DYN/HFCANDXICCEXT] - mc: [HFCANDXICCMCREC, HFCANDXICCMCGEN] - - o2-analysis-hf-candidate-creator-chic: - dependencies: o2-analysis-hf-candidate-selector-jpsi_runX - tables: - default: [HFCANDCHICBASE, DYN/HFCANDCHICEXT] - mc: [HFCANDCHICMCREC, HFCANDCHICMCGEN] + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX o2-analysis-hf-candidate-creator-b0: dependencies: o2-analysis-hf-candidate-selector-dplus-to-pi-k-pi @@ -169,12 +151,10 @@ workflows: dependencies: - o2-analysis-hf-track-index-skim-creator_skimX - o2-analysis-track-dca_runX - - o2-analysis-event-selection + - o2-analysis-event-selection-service_runX - o2-analysis-hf-pid-creator - - o2-analysis-pid-tof-full_runX - - o2-analysis-pid-tpc - - o2-analysis-lf-lambdakzerobuilder - - o2-analysis-lf-cascadebuilder + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX tables: default: [HFCANDTOXIPI, HFCANDTOOMEGAPI, HFCANDTOOMEGAK] mc: [HFXICXIPIMCREC, HFOMCXIPIMCREC, HFTOOMEPIMCREC, HFTOOMEKMCREC, HFXICXIPIMCGEN, HFOMECXIPIMCGEN, HFTOOMEPIMCGEN, HFTOOMEKMCGEN] @@ -183,12 +163,10 @@ workflows: <<: *cand_creator_xic0-omegac0 dependencies: - o2-analysis-track-dca_runX - - o2-analysis-event-selection + - o2-analysis-event-selection-service_runX - o2-analysis-hf-pid-creator - - o2-analysis-pid-tof-full_runX - - o2-analysis-pid-tpc - - o2-analysis-lf-lambdakzerobuilder - - o2-analysis-lf-cascadebuilder + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX o2-analysis-hf-candidate-creator-xic-to-xi-pi-pi: &cand_creator_xic-to-xi-pi-pi <<: *cand_creator_2p @@ -196,52 +174,36 @@ workflows: dependencies: - o2-analysis-hf-track-index-skim-creator_skimX - o2-analysis-track-dca_runX - - o2-analysis-event-selection + - o2-analysis-event-selection-service_runX - o2-analysis-hf-pid-creator - - o2-analysis-pid-tof-full_runX - - o2-analysis-pid-tpc - - o2-analysis-lf-lambdakzerobuilder - - o2-analysis-lf-cascadebuilder + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX tables: [] o2-analysis-hf-candidate-creator-xic-to-xi-pi-pi_derived: <<: *cand_creator_xic-to-xi-pi-pi dependencies: - o2-analysis-track-dca_runX - - o2-analysis-event-selection + - o2-analysis-event-selection-service_runX - o2-analysis-hf-pid-creator - - o2-analysis-pid-tof-full_runX - - o2-analysis-pid-tpc - - o2-analysis-lf-lambdakzerobuilder - - o2-analysis-lf-cascadebuilder + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX # Selectors o2-analysis-hf-candidate-selector-d0: &selector_2prong dependencies: - o2-analysis-hf-candidate-creator-2prong_derX - - o2-analysis-pid-tpc - - o2-analysis-pid-tof-full_runX + - o2-analysis-pid-tpc_runX + - o2-analysis-pid-tof_runX - o2-analysis-hf-pid-creator tables: HFSELD0 - o2-analysis-hf-candidate-selector-jpsi_run3: &selector_jpsi - <<: *selector_2prong - executable: o2-analysis-hf-candidate-selector-jpsi - tables: HFSELJPSI - - o2-analysis-hf-candidate-selector-jpsi_run2: - <<: *selector_jpsi - - o2-analysis-hf-candidate-selector-jpsi_run5: - <<: *selector_jpsi - options: --isAlice3 - o2-analysis-hf-candidate-selector-dplus-to-pi-k-pi: &selector_3prong dependencies: - o2-analysis-hf-candidate-creator-3prong_derX - - o2-analysis-pid-tpc - - o2-analysis-pid-tof-full_runX + - o2-analysis-pid-tpc_runX + - o2-analysis-pid-tof_runX - o2-analysis-hf-pid-creator tables: HFSELDPLUS @@ -256,8 +218,8 @@ workflows: o2-analysis-hf-candidate-selector-lc: dependencies: - o2-analysis-hf-candidate-creator-3prong_derX - - o2-analysis-pid-tpc - - o2-analysis-pid-tof-full_runX + - o2-analysis-pid-tpc_runX + - o2-analysis-pid-tof_runX - o2-analysis-pid-bayes - o2-analysis-hf-pid-creator tables: HFSELLC @@ -269,33 +231,20 @@ workflows: o2-analysis-hf-candidate-selector-dstar-to-d0-pi: dependencies: - o2-analysis-hf-candidate-creator-dstar_derX - - o2-analysis-pid-tpc - - o2-analysis-pid-tof-full_runX + - o2-analysis-pid-tpc_runX + - o2-analysis-pid-tof_runX - o2-analysis-hf-pid-creator tables: HFSELDSTAR o2-analysis-hf-candidate-selector-lc-to-k0s-p: dependencies: - o2-analysis-hf-candidate-creator-cascade_derX - - o2-analysis-pid-tpc - - o2-analysis-pid-tof-full_runX + - o2-analysis-pid-tpc_runX + - o2-analysis-pid-tof_runX - o2-analysis-pid-bayes - o2-analysis-hf-pid-creator tables: HFSELLCK0SP - o2-analysis-hf-candidate-selector-x-to-jpsi-pi-pi: - dependencies: o2-analysis-hf-candidate-creator-x - tables: HFSELX - - o2-analysis-hf-candidate-selector-xicc-to-p-k-pi-pi: - dependencies: o2-analysis-hf-candidate-creator-xicc - requires_mc: yes - tables: HFSELXICC - - o2-analysis-hf-candidate-selector-chic-to-jpsi-gamma: - dependencies: o2-analysis-hf-candidate-creator-chic - tables: HFSELCHIC - o2-analysis-hf-candidate-selector-b0-to-d-pi: dependencies: o2-analysis-hf-candidate-creator-b0 tables: HFSELB0 @@ -307,27 +256,22 @@ workflows: o2-analysis-hf-candidate-selector-to-xi-pi: dependencies: - o2-analysis-hf-candidate-creator-xic0-omegac0_derX - - o2-analysis-pid-tof-full_runX + - o2-analysis-pid-tof_runX - o2-analysis-multiplicity-table_runX tables: HFSELTOXIPI o2-analysis-hf-candidate-selector-xic-to-xi-pi-pi: dependencies: - o2-analysis-hf-candidate-creator-xic-to-xi-pi-pi_derX - - o2-analysis-pid-tof-full_runX + - o2-analysis-pid-tof_runX - o2-analysis-multiplicity-table_runX - - o2-analysis-pid-tpc + - o2-analysis-pid-tpc_runX # Analysis tasks o2-analysis-hf-task-d0: dependencies: o2-analysis-hf-candidate-selector-d0 - o2-analysis-hf-task-jpsi: - options: - mc: "--doMC" - dependencies: o2-analysis-hf-candidate-selector-jpsi_runX - o2-analysis-hf-task-dplus: dependencies: - o2-analysis-hf-candidate-selector-dplus-to-pi-k-pi @@ -359,25 +303,9 @@ workflows: o2-analysis-hf-task-bplus: dependencies: o2-analysis-hf-candidate-selector-bplus-to-d0-pi - o2-analysis-hf-task-x: - options: - mc: "--doMC" - dependencies: o2-analysis-hf-candidate-selector-x-to-jpsi-pi-pi - o2-analysis-hf-task-lc-to-k0s-p: dependencies: o2-analysis-hf-candidate-selector-lc-to-k0s-p - o2-analysis-hf-task-xicc: - requires_mc: yes - options: - mc: "--doMC" - dependencies: o2-analysis-hf-candidate-selector-xicc-to-p-k-pi-pi - - o2-analysis-hf-task-chic: - options: - mc: "--doMC" - dependencies: o2-analysis-hf-candidate-selector-chic-to-jpsi-gamma - # Tree creators o2-analysis-hf-tree-creator-d0-to-k-pi: @@ -402,21 +330,6 @@ workflows: dependencies: o2-analysis-hf-candidate-selector-lb-to-lc-pi tables: [HFCANDLBFULL] - o2-analysis-hf-tree-creator-x-to-jpsi-pi-pi: - requires_mc: yes - dependencies: o2-analysis-hf-candidate-selector-x-to-jpsi-pi-pi - tables: [HFCANDXFULL, HFCANDXFULLEV, HFCANDXFULLP] - - o2-analysis-hf-tree-creator-xicc-to-p-k-pi-pi: - requires_mc: yes - dependencies: o2-analysis-hf-candidate-selector-xicc-to-p-k-pi-pi - tables: [HFCANDXICCFULL, HFCANDXICCFULLE, HFCANDXICCFULLP] - - o2-analysis-hf-tree-creator-chic-to-jpsi-gamma: - requires_mc: yes - dependencies: o2-analysis-hf-candidate-selector-chic-to-jpsi-gamma - tables: [HFCANDCHICFULL, HFCANDCHICFULLE, HFCANDCHICFULLP] - o2-analysis-hf-tree-creator-to-xi-pi: dependencies: o2-analysis-hf-candidate-selector-to-xi-pi tables: [HFTOXIPIEV, HFTOXIPIFULL, HFTOXIPILITE] @@ -432,11 +345,11 @@ workflows: - o2-analysis-hf-candidate-creator-2prong_derX - o2-analysis-hf-pid-creator - o2-analysis-centrality_runX - - o2-analysis-lf-mc-centrality + # - o2-analysis-lf-mc-centrality - o2-analysis-multiplicity-table_runX - o2-analysis-track-dca_runX - - o2-analysis-pid-tof-full_runX - - o2-analysis-pid-tpc + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX tables: [HFD0COLLBASE, HFD0COLLID, HFD0MCCOLLBASE, HFD0MCCOLLID, HFD0MCRCOLLID, HFD0BASE, HFD0PAR, HFD0PARE, HFD0SEL, HFD0ML, HFD0ID, HFD0MC, HFD0PBASE, HFD0PID] o2-analysis-hf-derived-data-creator-lc-to-p-k-pi: @@ -448,8 +361,8 @@ workflows: - o2-analysis-lf-mc-centrality - o2-analysis-multiplicity-table_runX - o2-analysis-track-dca_runX - - o2-analysis-pid-tof-full_runX - - o2-analysis-pid-tpc + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX tables: [HFLCCOLLBASE, HFLCCOLLID, HFLCMCCOLLBASE, HFLCMCCOLLID, HFLCMCRCOLLID, HFLCBASE, HFLCPAR, HFLCPARE, HFLCSEL, HFLCML, HFLCID, HFLCMC, HFLCPBASE, HFLCPID] o2-analysis-hf-derived-data-creator-dplus-to-pi-k-pi: @@ -461,10 +374,23 @@ workflows: - o2-analysis-lf-mc-centrality - o2-analysis-multiplicity-table_runX - o2-analysis-track-dca_runX - - o2-analysis-pid-tof-full_runX - - o2-analysis-pid-tpc + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX tables: [HFDPCOLLBASE, HFDPCOLLID, HFDPMCCOLLBASE, HFDPMCCOLLID, HFDPMCRCOLLID, HFDPBASE, HFDPPAR, HFDPPARE, HFDPSEL, HFDPML, HFDPID, HFDPMC, HFDPPBASE, HFDPPID] + o2-analysis-hf-derived-data-creator-ds-to-k-k-pi: + dependencies: + - o2-analysis-hf-candidate-selector-ds-to-k-k-pi + - o2-analysis-hf-candidate-creator-3prong_derX + - o2-analysis-hf-pid-creator + - o2-analysis-centrality_runX + - o2-analysis-lf-mc-centrality + - o2-analysis-multiplicity-table_runX + - o2-analysis-track-dca_runX + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX + tables: [HFDSCOLLBASE, HFDSCOLLID, HFDSMCCOLLBASE, HFDSMCCOLLID, HFDSMCRCOLLID, HFDSBASE, HFDSPAR, HFDSPARE, HFDSSEL, HFDSML, HFDSID, HFDSMC, HFDSPBASE, HFDSPID] + o2-analysis-hf-derived-data-creator-b0-to-d-pi: dependencies: - o2-analysis-hf-candidate-selector-b0-to-d-pi @@ -474,8 +400,8 @@ workflows: - o2-analysis-lf-mc-centrality - o2-analysis-multiplicity-table_runX - o2-analysis-track-dca_runX - - o2-analysis-pid-tof-full_runX - - o2-analysis-pid-tpc + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX tables: [HFB0COLLBASE, HFB0COLLID, HFB0MCCOLLBASE, HFB0MCCOLLID, HFB0MCRCOLLID, HFB0BASE, HFB0PAR, HFB0PARD0, HFB0PARE, HFB0ML, HFB0MLD0, HFB0ID, HFB0MC, HFB0PBASE, HFB0PID] o2-analysis-hf-derived-data-creator-bplus-to-d0-pi: @@ -487,8 +413,8 @@ workflows: - o2-analysis-lf-mc-centrality - o2-analysis-multiplicity-table_runX - o2-analysis-track-dca_runX - - o2-analysis-pid-tof-full_runX - - o2-analysis-pid-tpc + - o2-analysis-pid-tof_runX + - o2-analysis-pid-tpc_runX tables: [HFBPCOLLBASE, HFBPCOLLID, HFBPMCCOLLBASE, HFBPMCCOLLID, HFBPMCRCOLLID, HFBPBASE, HFBPPAR, HFBPPARD0, HFBPPARE, HFBPML, HFBPMLD0, HFBPID, HFBPMC, HFBPPBASE, HFBPPID] # D meson correlations @@ -553,12 +479,14 @@ workflows: # HF helpers o2-analysis-hf-pid-creator: - dependencies: [o2-analysis-pid-tpc, o2-analysis-pid-tof-full_runX] + dependencies: [o2-analysis-pid-tpc_runX, o2-analysis-pid-tof_runX] # Jets o2-analysis-je-jet-deriveddata-producer: {} + o2-analysis-je-estimator-rho: {} + o2-analysis-je-jet-finder-d0-data-charged: &jethf dependencies: - o2-analysis-hf-derived-data-creator-d0-to-k-pi @@ -602,7 +530,7 @@ workflows: o2-analysis-je-jet-substructure-d0-output_data: executable: o2-analysis-je-jet-substructure-d0-output - dependencies: o2-analysis-je-jet-substructure-d0_data + dependencies: [o2-analysis-je-jet-substructure-d0_data, o2-analysis-je-estimator-rho] tables: [D0O, D0SSO] o2-analysis-je-jet-substructure-d0-output_mc: @@ -615,19 +543,15 @@ workflows: o2-analysis-qa-efficiency: requires_mc: yes - dependencies: [o2-analysis-event-selection, o2-analysis-trackselection_runX] + dependencies: [o2-analysis-event-selection-service_runX, o2-analysis-trackselection_runX] o2-analysis-qa-event-track: requires_mc: yes - dependencies: [o2-analysis-event-selection, o2-analysis-trackselection_runX, o2-analysis-pid-tof-base] - - o2-analysis-hf-task-qa-pid-rejection: - requires_mc: yes - dependencies: [o2-analysis-hf-track-index-skim-creator_skimX, o2-analysis-pid-tpc, o2-analysis-pid-tof-full_runX] + dependencies: [o2-analysis-event-selection-service_runX, o2-analysis-trackselection_runX, o2-analysis-pid-tof-base] o2-analysis-pid-tof-qa-mc: requires_mc: yes - dependencies: [o2-analysis-pid-tof-full_runX, o2-analysis-pid-tof-beta] + dependencies: [o2-analysis-pid-tof_runX, o2-analysis-pid-tof-beta] o2-analysis-hf-task-mc-validation: requires_mc: yes @@ -649,73 +573,58 @@ workflows: executable: o2-analysis-trackselection dependencies: o2-analysis-track-dca_run3 - o2-analysis-trackselection_run5: - executable: o2-analysis-alice3-trackselection - o2-analysis-track-dca_run2: executable: o2-analysis-trackextension - dependencies: o2-analysis-timestamp + dependencies: o2-analysis-event-selection-service_run2 o2-analysis-track-dca_run3: - executable: o2-analysis-track-propagation - dependencies: o2-analysis-timestamp - - o2-analysis-track-dca_run5: - executable: o2-analysis-alice3-trackextension + executable: o2-analysis-propagationservice + dependencies: o2-analysis-event-selection-service_run3 o2-analysis-centrality_run2: executable: o2-analysis-centrality-table - dependencies: [o2-analysis-timestamp, o2-analysis-multiplicity-table_run2] + dependencies: [o2-analysis-event-selection-service_run2, o2-analysis-multiplicity-table_run2] o2-analysis-centrality_run3: executable: o2-analysis-centrality-table - o2-analysis-centrality_run5: - executable: o2-analysis-alice3-centrality - dependencies: o2-analysis-track-dca_run5 - o2-analysis-lf-mc-centrality: {} - o2-analysis-event-selection: - dependencies: o2-analysis-timestamp + o2-analysis-event-selection-service_run2: + executable: o2-analysis-event-selection-service-run2 + + o2-analysis-event-selection-service_run3: + executable: o2-analysis-event-selection-service o2-analysis-multiplicity-table_run2: executable: o2-analysis-multiplicity-table o2-analysis-multiplicity-table_run3: executable: o2-analysis-multiplicity-table - dependencies: o2-analysis-event-selection + dependencies: o2-analysis-event-selection-service_run3 o2-analysis-ft0-corrected-table: {} # PID - o2-analysis-pid-tpc-base: {} - - o2-analysis-pid-tpc: - dependencies: [o2-analysis-pid-tpc-base, o2-analysis-timestamp] - - o2-analysis-pid-tof-base_run2: - executable: o2-analysis-pid-tof-base - dependencies: o2-analysis-event-selection - - o2-analysis-pid-tof-base_run3: - executable: o2-analysis-pid-tof-base - dependencies: [o2-analysis-event-selection, o2-analysis-ft0-corrected-table] + o2-analysis-pid-tpc_run2: + executable: o2-analysis-pid-tpc-service-run2 + dependencies: [o2-analysis-event-selection-service_run2] - o2-analysis-pid-tof-full_run2: - executable: o2-analysis-pid-tof-full - dependencies: [o2-analysis-pid-tof-base_run2, o2-analysis-timestamp] + o2-analysis-pid-tpc_run3: + executable: o2-analysis-pid-tpc-service + dependencies: [o2-analysis-event-selection-service_run3] - o2-analysis-pid-tof-full_run3: - executable: o2-analysis-pid-tof-full - dependencies: [o2-analysis-pid-tof-base_run3, o2-analysis-timestamp] + o2-analysis-pid-tof_run2: + executable: o2-analysis-pid-tof-merge + dependencies: [o2-analysis-event-selection-service_run2] - o2-analysis-pid-tof-full_run5: - executable: o2-analysis-alice3-pid-tof + o2-analysis-pid-tof_run3: + executable: o2-analysis-pid-tof-merge + dependencies: [o2-analysis-event-selection-service_run3, o2-analysis-ft0-corrected-table] o2-analysis-pid-bayes: - dependencies: [o2-analysis-pid-tof-full_runX, o2-analysis-pid-tpc, o2-analysis-multiplicity-table_runX] + dependencies: [o2-analysis-pid-tof_runX, o2-analysis-pid-tpc_runX, o2-analysis-multiplicity-table_runX, o2-analysis-track-dca_runX] o2-analysis-pid-tof-beta: {} @@ -742,11 +651,3 @@ workflows: o2-analysis-v0converter: {} o2-analysis-mft-tracks-converter: {} - - # LF - - o2-analysis-lf-lambdakzerobuilder: - dependencies: [o2-analysis-timestamp, o2-analysis-track-dca_runX, o2-analysis-pid-tpc] - - o2-analysis-lf-cascadebuilder: - dependencies: [o2-analysis-timestamp, o2-analysis-track-dca_runX, o2-analysis-pid-tpc] diff --git a/codeHF/workflows_run5.yml b/codeHF/workflows_run5.yml new file mode 100644 index 00000000..3c501c7a --- /dev/null +++ b/codeHF/workflows_run5.yml @@ -0,0 +1,114 @@ +--- +workflows: + # Candidate creators + + o2-analysis-hf-candidate-creator-x: + dependencies: o2-analysis-hf-candidate-selector-jpsi_runX + tables: + default: [HFCANDXBASE, DYN/HFCANDXEXT] + mc: [HFCANDXMCREC, HFCANDXMCGEN] + + o2-analysis-hf-candidate-creator-chic: + dependencies: o2-analysis-hf-candidate-selector-jpsi_runX + tables: + default: [HFCANDCHICBASE, DYN/HFCANDCHICEXT] + mc: [HFCANDCHICMCREC, HFCANDCHICMCGEN] + + o2-analysis-hf-candidate-creator-xicc: + dependencies: o2-analysis-hf-candidate-selector-xic-to-p-k-pi + requires_mc: yes + options: + mc: "--doMC" + tables: + default: [HFCANDXICCBASE, DYN/HFCANDXICCEXT] + mc: [HFCANDXICCMCREC, HFCANDXICCMCGEN] + + # Selectors + + o2-analysis-hf-candidate-selector-jpsi_run3: &selector_jpsi + # <<: *selector_2prong + executable: o2-analysis-hf-candidate-selector-jpsi + tables: HFSELJPSI + + o2-analysis-hf-candidate-selector-jpsi_run2: + <<: *selector_jpsi + + o2-analysis-hf-candidate-selector-jpsi_run5: + <<: *selector_jpsi + options: --isAlice3 + + o2-analysis-hf-candidate-selector-x-to-jpsi-pi-pi: + dependencies: o2-analysis-hf-candidate-creator-x + tables: HFSELX + + o2-analysis-hf-candidate-selector-chic-to-jpsi-gamma: + dependencies: o2-analysis-hf-candidate-creator-chic + tables: HFSELCHIC + + o2-analysis-hf-candidate-selector-xicc-to-p-k-pi-pi: + dependencies: o2-analysis-hf-candidate-creator-xicc + requires_mc: yes + tables: HFSELXICC + + # Analysis tasks + + o2-analysis-hf-task-jpsi: + options: + mc: "--doMC" + dependencies: o2-analysis-hf-candidate-selector-jpsi_runX + + o2-analysis-hf-task-x: + options: + mc: "--doMC" + dependencies: o2-analysis-hf-candidate-selector-x-to-jpsi-pi-pi + + o2-analysis-hf-task-chic: + options: + mc: "--doMC" + dependencies: o2-analysis-hf-candidate-selector-chic-to-jpsi-gamma + + o2-analysis-hf-task-xicc: + requires_mc: yes + options: + mc: "--doMC" + dependencies: o2-analysis-hf-candidate-selector-xicc-to-p-k-pi-pi + + # Tree creators + + o2-analysis-hf-tree-creator-x-to-jpsi-pi-pi: + requires_mc: yes + dependencies: o2-analysis-hf-candidate-selector-x-to-jpsi-pi-pi + tables: [HFCANDXFULL, HFCANDXFULLEV, HFCANDXFULLP] + + o2-analysis-hf-tree-creator-chic-to-jpsi-gamma: + requires_mc: yes + dependencies: o2-analysis-hf-candidate-selector-chic-to-jpsi-gamma + tables: [HFCANDCHICFULL, HFCANDCHICFULLE, HFCANDCHICFULLP] + + o2-analysis-hf-tree-creator-xicc-to-p-k-pi-pi: + requires_mc: yes + dependencies: o2-analysis-hf-candidate-selector-xicc-to-p-k-pi-pi + tables: [HFCANDXICCFULL, HFCANDXICCFULLE, HFCANDXICCFULLP] + + # QA + + o2-analysis-hf-task-qa-pid-rejection: + requires_mc: yes + dependencies: [o2-analysis-hf-track-index-skim-creator_skimX, o2-analysis-pid-tpc_runX, o2-analysis-pid-tof_runX] + + # Helper tasks + + o2-analysis-trackselection_run5: + executable: o2-analysis-alice3-trackselection + + o2-analysis-track-dca_run5: + executable: o2-analysis-alice3-trackextension + + o2-analysis-centrality_run5: + executable: o2-analysis-alice3-centrality + dependencies: o2-analysis-track-dca_run5 + + # PID + + o2-analysis-pid-tof_run5: + executable: o2-analysis-alice3-pid-tof diff --git a/exec/batch_ali.sh b/exec/batch_ali.sh index d692e31c..aa871593 100644 --- a/exec/batch_ali.sh +++ b/exec/batch_ali.sh @@ -18,7 +18,6 @@ DIR_THIS="$(dirname "$(realpath "$0")")" # shellcheck disable=SC1091 # Ignore not following. source "$DIR_THIS/utilities.sh" || { echo "Error: Failed to load utilities."; exit 1; } - CheckFile "$SCRIPT" CheckFile "$JSON" SCRIPT="$(realpath "$SCRIPT")" diff --git a/exec/batch_convert.sh b/exec/batch_convert.sh index c5f84d7c..843daa80 100644 --- a/exec/batch_convert.sh +++ b/exec/batch_convert.sh @@ -19,7 +19,6 @@ DIR_THIS="$(dirname "$(realpath "$0")")" # shellcheck disable=SC1091 # Ignore not following. source "$DIR_THIS/utilities.sh" || { echo "Error: Failed to load utilities."; exit 1; } - LogFile="log_convert.log" ListIn="list_convert.txt" IndexFile=0 diff --git a/exec/batch_o2.sh b/exec/batch_o2.sh index 58905840..7db7ed96 100644 --- a/exec/batch_o2.sh +++ b/exec/batch_o2.sh @@ -68,7 +68,7 @@ else parallel $OPT_PARALLEL --will-cite --progress "$CMDPARALLEL" ::: $(seq 0 $IndexJob) > $LogFile fi || ErrExit "\nCheck $(realpath $LogFile)" grep -q -e "\\[WARN\\]" -e "Warning in " "$LogFile" && MsgWarn "There were warnings!\nCheck $(realpath $LogFile)" -grep -q -e "\\[ERROR\\]" -e "\\[FATAL\\]" -e "segmentation" -e "Segmentation" -e "command not found" -e "Error:" -e "Error in " "$LogFile" && MsgErr "There were errors!\nCheck $(realpath $LogFile)" +grep -q -e "\\[ERROR\\]" -e "\\[FATAL\\]" -e "\\[CRITICAL\\]" -e "segmentation" -e "Segmentation" -e "SEGMENTATION" -e "command not found" -e "Program crashed" -e "Error:" -e "Error in " "$LogFile" && MsgErr "There were errors!\nCheck $(realpath $LogFile)" echo "Merging output files... (output file: $FILEOUT, logfile: $LogFile)" hadd $FILEOUT @"$FilesToMerge" >> $LogFile 2>&1 || \ diff --git a/exec/debug.sh b/exec/debug.sh index 6f9b211a..09dc494e 100644 --- a/exec/debug.sh +++ b/exec/debug.sh @@ -45,9 +45,9 @@ PrintWarnings() { # Print errors in the log. PrintErrors() { if [ "$TYPE" == "o2" ]; then - grep -q -e "\\[ERROR\\]" -e "\\[FATAL\\]" -e "segmentation" -e "Segmentation" -e "SEGMENTATION" -e "command not found" -e "Program crashed" -e "Error:" -e "Error in " "$LOG" && { + grep -q -e "\\[ERROR\\]" -e "\\[FATAL\\]" -e "\\[CRITICAL\\]" -e "segmentation" -e "Segmentation" -e "SEGMENTATION" -e "command not found" -e "Program crashed" -e "Error:" -e "Error in " "$LOG" && { [ "$PRINTDIR" -eq 1 ] || { echo -e "\n$DIRJOB"; PRINTDIR=1; } - grep -e "\\[ERROR\\]" -e "\\[FATAL\\]" -e "segmentation" -e "Segmentation" -e "SEGMENTATION" -e "command not found" -e "Program crashed" -e "Error:" -e "Error in " "$LOG" | sort -u + grep -e "\\[ERROR\\]" -e "\\[FATAL\\]" -e "\\[CRITICAL\\]" -e "segmentation" -e "Segmentation" -e "SEGMENTATION" -e "command not found" -e "Program crashed" -e "Error:" -e "Error in " "$LOG" | sort -u } elif [ "$TYPE" == "ali" ]; then grep -q -e '^'"E-" -e '^'"Error" -e '^'"F-" -e '^'"Fatal" -e "segmentation" -e "Segmentation" "$LOG" && { diff --git a/exec/run_o2.sh b/exec/run_o2.sh index 60fdd68c..2b2b8d6c 100644 --- a/exec/run_o2.sh +++ b/exec/run_o2.sh @@ -10,6 +10,6 @@ bash "$SCRIPT" "$FILEIN" "$JSON" > "$LOGFILE" 2>&1 ExitCode=$? # Show warnings and errors in the log file. -grep -e "\\[ERROR\\]" -e "\\[FATAL\\]" -e "segmentation" -e "Segmentation" -e "SEGMENTATION" -e "command not found" -e "Program crashed" -e "Error:" -e "Error in " -e "\\[WARN\\]" -e "Warning in " "$LOGFILE" | sort -u +grep -e "\\[ERROR\\]" -e "\\[FATAL\\]" -e "\\[CRITICAL\\]" -e "segmentation" -e "Segmentation" -e "SEGMENTATION" -e "command not found" -e "Program crashed" -e "Error:" -e "Error in " -e "\\[WARN\\]" -e "Warning in " "$LOGFILE" | sort -u exit $ExitCode