From 5ca6a7a415d29389332ba0d18dbb099f3132aca7 Mon Sep 17 00:00:00 2001 From: romainschotter Date: Thu, 12 Sep 2024 01:43:25 +0200 Subject: [PATCH 01/10] Add LF Strangeness exercises for O2AT Oct 2024 --- Tutorials/PWGLF/Strangeness/CMakeLists.txt | 26 +- .../Strangeness/PbPb/Analysis/CMakeLists.txt | 41 + .../PbPb/Analysis/configuration_step0.json | 21 + .../PbPb/Analysis/configuration_step1.json | 142 ++ .../PbPb/Analysis/configuration_step2.json | 145 ++ .../PbPb/Analysis/configuration_step3.json | 148 ++ .../PbPb/Analysis/configuration_step4.json | 148 ++ .../Strangeness/PbPb/Analysis/run_step0.sh | 3 + .../Strangeness/PbPb/Analysis/run_step1.sh | 3 + .../Strangeness/PbPb/Analysis/run_step2.sh | 3 + .../Strangeness/PbPb/Analysis/run_step3.sh | 3 + .../Strangeness/PbPb/Analysis/run_step4.sh | 3 + .../Analysis/strangeness_pbpb_skeleton.cxx | 68 + .../PbPb/Analysis/strangeness_pbpb_step0.cxx | 87 + .../PbPb/Analysis/strangeness_pbpb_step1.cxx | 155 ++ .../PbPb/Analysis/strangeness_pbpb_step2.cxx | 183 ++ .../PbPb/Analysis/strangeness_pbpb_step3.cxx | 249 +++ .../PbPb/Analysis/strangeness_pbpb_step4.cxx | 318 ++++ .../DerivedDataProduction/OutputDirector.json | 76 + .../OutputDirectorMC.json | 136 ++ .../DerivedDataProduction/configuration.json | 1639 ++++++++++++++++ .../configurationMC.json | 1671 +++++++++++++++++ .../PbPb/DerivedDataProduction/run.sh | 3 + .../PbPb/DerivedDataProduction/runMC.sh | 3 + Tutorials/PWGLF/Strangeness/README.md | 20 +- .../{ => pp}/strangeness_step0.cxx | 0 .../{ => pp}/strangeness_step1.cxx | 0 .../{ => pp}/strangeness_step2.cxx | 0 .../{ => pp}/strangeness_step3.cxx | 0 .../{ => pp}/strangeness_step4.cxx | 0 30 files changed, 5266 insertions(+), 28 deletions(-) create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/CMakeLists.txt create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step0.json create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step1.json create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step2.json create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step3.json create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step4.json create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_skeleton.cxx create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step0.cxx create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step1.cxx create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step2.cxx create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step3.cxx create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirector.json create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirectorMC.json create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configuration.json create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configurationMC.json create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/run.sh create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/runMC.sh rename Tutorials/PWGLF/Strangeness/{ => pp}/strangeness_step0.cxx (100%) rename Tutorials/PWGLF/Strangeness/{ => pp}/strangeness_step1.cxx (100%) rename Tutorials/PWGLF/Strangeness/{ => pp}/strangeness_step2.cxx (100%) rename Tutorials/PWGLF/Strangeness/{ => pp}/strangeness_step3.cxx (100%) rename Tutorials/PWGLF/Strangeness/{ => pp}/strangeness_step4.cxx (100%) diff --git a/Tutorials/PWGLF/Strangeness/CMakeLists.txt b/Tutorials/PWGLF/Strangeness/CMakeLists.txt index ede23b4c734..39734cb836a 100644 --- a/Tutorials/PWGLF/Strangeness/CMakeLists.txt +++ b/Tutorials/PWGLF/Strangeness/CMakeLists.txt @@ -9,28 +9,6 @@ # granted to it by virtue of its status as an Intergovernmental Organization # or submit itself to any jurisdiction. -# Strangeness analysis tutorial -o2physics_add_dpl_workflow(strangeness-step0 - SOURCES strangeness_step0.cxx - PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore - COMPONENT_NAME AnalysisTutorial) +add_subdirectory(pp) +add_subdirectory(PbPb) -o2physics_add_dpl_workflow(strangeness-step1 - SOURCES strangeness_step1.cxx - PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore - COMPONENT_NAME AnalysisTutorial) - -o2physics_add_dpl_workflow(strangeness-step2 - SOURCES strangeness_step2.cxx - PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore - COMPONENT_NAME AnalysisTutorial) - -o2physics_add_dpl_workflow(strangeness-step3 - SOURCES strangeness_step3.cxx - PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore - COMPONENT_NAME AnalysisTutorial) - -o2physics_add_dpl_workflow(strangeness-step4 - SOURCES strangeness_step4.cxx - PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore - COMPONENT_NAME AnalysisTutorial) diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/CMakeLists.txt b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/CMakeLists.txt new file mode 100644 index 00000000000..d050dc59b47 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/CMakeLists.txt @@ -0,0 +1,41 @@ +# Copyright 2019-2020 CERN and copyright holders of ALICE O2. +# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +# All rights not expressly granted are reserved. +# +# This software is distributed under the terms of the GNU General Public +# License v3 (GPL Version 3), copied verbatim in the file "COPYING". +# +# In applying this license CERN does not waive the privileges and immunities +# granted to it by virtue of its status as an Intergovernmental Organization +# or submit itself to any jurisdiction. + +o2physics_add_dpl_workflow(strangeness-pbpb-skeleton + SOURCES strangeness_pbpb_skeleton.cxx + PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore + COMPONENT_NAME AnalysisTutorial) + +o2physics_add_dpl_workflow(strangeness-pbpb-step0 + SOURCES strangeness_pbpb_step0.cxx + PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore + COMPONENT_NAME AnalysisTutorial) + +o2physics_add_dpl_workflow(strangeness-pbpb-step1 + SOURCES strangeness_pbpb_step1.cxx + PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore + COMPONENT_NAME AnalysisTutorial) + +o2physics_add_dpl_workflow(strangeness-pbpb-step2 + SOURCES strangeness_pbpb_step2.cxx + PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore + COMPONENT_NAME AnalysisTutorial) + +o2physics_add_dpl_workflow(strangeness-pbpb-step3 + SOURCES strangeness_pbpb_step3.cxx + PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore + COMPONENT_NAME AnalysisTutorial) + +o2physics_add_dpl_workflow(strangeness-pbpb-step4 + SOURCES strangeness_pbpb_step4.cxx + PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore + COMPONENT_NAME AnalysisTutorial) + diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step0.json b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step0.json new file mode 100644 index 00000000000..702b7782bd5 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step0.json @@ -0,0 +1,21 @@ +{ + "internal-dpl-clock": "", + "internal-dpl-aod-reader": { + "aod-file-private": "@input_data.txt", + "time-limit": "0", + "orbit-offset-enumeration": "0", + "orbit-multiplier-enumeration": "0", + "start-value-enumeration": "0", + "end-value-enumeration": "-1", + "step-value-enumeration": "1" + }, + "internal-dpl-aod-spawner": "", + "cascadespawner": "", + "strangeness_pbpb_tutorial": { + "nBins": "100", + "cutzvertex": "10" + }, + "internal-dpl-aod-writer": "", + "internal-dpl-aod-global-analysis-file-sink": "", + "internal-dpl-injected-dummy-sink": "" +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step1.json b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step1.json new file mode 100644 index 00000000000..f00818e9c98 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step1.json @@ -0,0 +1,142 @@ +{ + "internal-dpl-clock": "", + "internal-dpl-aod-reader": { + "aod-file-private": "@input_data.txt", + "time-limit": "0", + "orbit-offset-enumeration": "0", + "orbit-multiplier-enumeration": "0", + "start-value-enumeration": "0", + "end-value-enumeration": "-1", + "step-value-enumeration": "1" + }, + "cascadespawner": "", + "cascadepid": { + "d_bz": "-999", + "tofPosition": "377.93399", + "doQA": "true", + "qaV0DCADau": "0.5", + "qaCascDCADau": "0.5", + "qaV0CosPA": "0.995000005", + "qaCascCosPA": "0.995000005", + "qaMassWindow": "0.00499999989", + "qaTPCNSigma": "5", + "doNSigmas": "false", + "doQANSigma": "false", + "ccdb-url": "http:\/\/alice-ccdb.cern.ch", + "grpPath": "GLO\/GRP\/GRP", + "grpmagPath": "GLO\/Config\/GRPMagField", + "lutPath": "GLO\/Param\/MatLUT", + "geoPath": "GLO\/Config\/GeometryAligned", + "nSigmaPath": "Users\/d\/ddobrigk\/stratof", + "axisEta": { + "values": [ + "20", + "-1", + "1" + ] + }, + "axisDeltaTime": { + "values": [ + "2000", + "-1000", + "1000" + ] + }, + "axisNSigma": { + "values": [ + "200", + "-10", + "10" + ] + }, + "axisTime": { + "values": [ + "200", + "0", + "20000" + ] + }, + "axisPt": { + "values": [ + "0", + "0", + "0.10000000149011612", + "0.20000000298023224", + "0.30000001192092896", + "0.40000000596046448", + "0.5", + "0.60000002384185791", + "0.69999998807907104", + "0.80000001192092896", + "0.89999997615814209", + "1", + "1.1000000238418579", + "1.200000047683716", + "1.2999999523162842", + "1.3999999761581421", + "1.5", + "1.6000000238418579", + "1.700000047683716", + "1.7999999523162842", + "1.8999999761581421", + "2", + "2.2000000476837158", + "2.4000000953674321", + "2.5999999046325684", + "2.7999999523162842", + "3", + "3.2000000476837158", + "3.4000000953674321", + "3.5999999046325684", + "3.7999999523162842", + "4", + "4.4000000953674316", + "4.8000001907348633", + "5.1999998092651367", + "5.5999999046325684", + "6", + "6.5", + "7", + "7.5", + "8", + "9", + "10", + "11", + "12", + "13", + "14", + "15", + "17", + "19", + "21", + "23", + "25", + "30", + "35", + "40", + "50" + ] + }, + "processStandardData": "false", + "processDerivedData": "true" + }, + "strangeness_pbpb_tutorial": { + "nBins": "100", + "cutzvertex": "10", + "cascadesetting_cospa": "0.998", + "cascadesetting_v0cospa": "0.96999999999999997", + "cascadesetting_dcacascdau": "1", + "cascadesetting_dcav0dau": "1", + "cascadesetting_dcabachtopv": "0.0599999987", + "cascadesetting_dcapostopv": "0.0599999987", + "cascadesetting_dcanegtopv": "0.0599999987", + "cascadesetting_mindcav0topv": "0.00999999978", + "cascadesetting_cascradius": "0.5", + "cascadesetting_v0radius": "1.20000005", + "cascadesetting_v0masswindow": "0.00800000038", + "cascadesetting_competingmassrej": "0.00800000038" + }, + "internal-dpl-aod-writer": "", + "internal-dpl-aod-global-analysis-file-sink": "", + "internal-dpl-injected-dummy-sink": "" +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step2.json b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step2.json new file mode 100644 index 00000000000..a39593ca8fa --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step2.json @@ -0,0 +1,145 @@ +{ + "internal-dpl-clock": "", + "internal-dpl-aod-reader": { + "aod-file-private": "@input_data.txt", + "time-limit": "0", + "orbit-offset-enumeration": "0", + "orbit-multiplier-enumeration": "0", + "start-value-enumeration": "0", + "end-value-enumeration": "-1", + "step-value-enumeration": "1" + }, + "cascadespawner": "", + "cascadepid": { + "d_bz": "-999", + "tofPosition": "377.93399", + "doQA": "true", + "qaV0DCADau": "0.5", + "qaCascDCADau": "0.5", + "qaV0CosPA": "0.995000005", + "qaCascCosPA": "0.995000005", + "qaMassWindow": "0.00499999989", + "qaTPCNSigma": "5", + "doNSigmas": "false", + "doQANSigma": "false", + "ccdb-url": "http:\/\/alice-ccdb.cern.ch", + "grpPath": "GLO\/GRP\/GRP", + "grpmagPath": "GLO\/Config\/GRPMagField", + "lutPath": "GLO\/Param\/MatLUT", + "geoPath": "GLO\/Config\/GeometryAligned", + "nSigmaPath": "Users\/d\/ddobrigk\/stratof", + "axisEta": { + "values": [ + "20", + "-1", + "1" + ] + }, + "axisDeltaTime": { + "values": [ + "2000", + "-1000", + "1000" + ] + }, + "axisNSigma": { + "values": [ + "200", + "-10", + "10" + ] + }, + "axisTime": { + "values": [ + "200", + "0", + "20000" + ] + }, + "axisPt": { + "values": [ + "0", + "0", + "0.10000000149011612", + "0.20000000298023224", + "0.30000001192092896", + "0.40000000596046448", + "0.5", + "0.60000002384185791", + "0.69999998807907104", + "0.80000001192092896", + "0.89999997615814209", + "1", + "1.1000000238418579", + "1.200000047683716", + "1.2999999523162842", + "1.3999999761581421", + "1.5", + "1.6000000238418579", + "1.700000047683716", + "1.7999999523162842", + "1.8999999761581421", + "2", + "2.2000000476837158", + "2.4000000953674321", + "2.5999999046325684", + "2.7999999523162842", + "3", + "3.2000000476837158", + "3.4000000953674321", + "3.5999999046325684", + "3.7999999523162842", + "4", + "4.4000000953674316", + "4.8000001907348633", + "5.1999998092651367", + "5.5999999046325684", + "6", + "6.5", + "7", + "7.5", + "8", + "9", + "10", + "11", + "12", + "13", + "14", + "15", + "17", + "19", + "21", + "23", + "25", + "30", + "35", + "40", + "50" + ] + }, + "processStandardData": "false", + "processDerivedData": "true" + }, + "strangeness_pbpb_tutorial": { + "nBins": "100", + "cutzvertex": "10", + "cascadesetting_cospa": "0.998", + "cascadesetting_v0cospa": "0.96999999999999997", + "cascadesetting_dcacascdau": "1", + "cascadesetting_dcav0dau": "1", + "cascadesetting_dcabachtopv": "0.0599999987", + "cascadesetting_dcapostopv": "0.0599999987", + "cascadesetting_dcanegtopv": "0.0599999987", + "cascadesetting_mindcav0topv": "0.00999999978", + "cascadesetting_cascradius": "0.5", + "cascadesetting_v0radius": "1.20000005", + "cascadesetting_v0masswindow": "0.00800000038", + "cascadesetting_competingmassrej": "0.00800000038", + "NSigmaTPCPion": "3", + "NSigmaTPCKaon": "3", + "NSigmaTPCProton": "3" + }, + "internal-dpl-aod-writer": "", + "internal-dpl-aod-global-analysis-file-sink": "", + "internal-dpl-injected-dummy-sink": "" +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step3.json b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step3.json new file mode 100644 index 00000000000..d404ed8b6f5 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step3.json @@ -0,0 +1,148 @@ +{ + "internal-dpl-clock": "", + "internal-dpl-aod-reader": { + "aod-file-private": "@input_data.txt", + "time-limit": "0", + "orbit-offset-enumeration": "0", + "orbit-multiplier-enumeration": "0", + "start-value-enumeration": "0", + "end-value-enumeration": "-1", + "step-value-enumeration": "1" + }, + "cascadespawner": "", + "cascadepid": { + "d_bz": "-999", + "tofPosition": "377.93399", + "doQA": "true", + "qaV0DCADau": "0.5", + "qaCascDCADau": "0.5", + "qaV0CosPA": "0.995000005", + "qaCascCosPA": "0.995000005", + "qaMassWindow": "0.00499999989", + "qaTPCNSigma": "5", + "doNSigmas": "true", + "doQANSigma": "false", + "ccdb-url": "http:\/\/alice-ccdb.cern.ch", + "grpPath": "GLO\/GRP\/GRP", + "grpmagPath": "GLO\/Config\/GRPMagField", + "lutPath": "GLO\/Param\/MatLUT", + "geoPath": "GLO\/Config\/GeometryAligned", + "nSigmaPath": "Users\/d\/ddobrigk\/stratof", + "axisEta": { + "values": [ + "20", + "-1", + "1" + ] + }, + "axisDeltaTime": { + "values": [ + "2000", + "-1000", + "1000" + ] + }, + "axisNSigma": { + "values": [ + "200", + "-10", + "10" + ] + }, + "axisTime": { + "values": [ + "200", + "0", + "20000" + ] + }, + "axisPt": { + "values": [ + "0", + "0", + "0.10000000149011612", + "0.20000000298023224", + "0.30000001192092896", + "0.40000000596046448", + "0.5", + "0.60000002384185791", + "0.69999998807907104", + "0.80000001192092896", + "0.89999997615814209", + "1", + "1.1000000238418579", + "1.200000047683716", + "1.2999999523162842", + "1.3999999761581421", + "1.5", + "1.6000000238418579", + "1.700000047683716", + "1.7999999523162842", + "1.8999999761581421", + "2", + "2.2000000476837158", + "2.4000000953674321", + "2.5999999046325684", + "2.7999999523162842", + "3", + "3.2000000476837158", + "3.4000000953674321", + "3.5999999046325684", + "3.7999999523162842", + "4", + "4.4000000953674316", + "4.8000001907348633", + "5.1999998092651367", + "5.5999999046325684", + "6", + "6.5", + "7", + "7.5", + "8", + "9", + "10", + "11", + "12", + "13", + "14", + "15", + "17", + "19", + "21", + "23", + "25", + "30", + "35", + "40", + "50" + ] + }, + "processStandardData": "false", + "processDerivedData": "true" + }, + "strangeness_pbpb_tutorial": { + "nBins": "100", + "cutzvertex": "10", + "cascadesetting_cospa": "0.998", + "cascadesetting_v0cospa": "0.96999999999999997", + "cascadesetting_dcacascdau": "1", + "cascadesetting_dcav0dau": "1", + "cascadesetting_dcabachtopv": "0.0599999987", + "cascadesetting_dcapostopv": "0.0599999987", + "cascadesetting_dcanegtopv": "0.0599999987", + "cascadesetting_mindcav0topv": "0.00999999978", + "cascadesetting_cascradius": "0.5", + "cascadesetting_v0radius": "1.20000005", + "cascadesetting_v0masswindow": "0.00800000038", + "cascadesetting_competingmassrej": "0.00800000038", + "NSigmaTPCPion": "3", + "NSigmaTPCKaon": "3", + "NSigmaTPCProton": "3", + "NSigmaTOFPion": "3", + "NSigmaTOFKaon": "3", + "NSigmaTOFProton": "3" + }, + "internal-dpl-aod-writer": "", + "internal-dpl-aod-global-analysis-file-sink": "", + "internal-dpl-injected-dummy-sink": "" +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step4.json b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step4.json new file mode 100644 index 00000000000..d404ed8b6f5 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step4.json @@ -0,0 +1,148 @@ +{ + "internal-dpl-clock": "", + "internal-dpl-aod-reader": { + "aod-file-private": "@input_data.txt", + "time-limit": "0", + "orbit-offset-enumeration": "0", + "orbit-multiplier-enumeration": "0", + "start-value-enumeration": "0", + "end-value-enumeration": "-1", + "step-value-enumeration": "1" + }, + "cascadespawner": "", + "cascadepid": { + "d_bz": "-999", + "tofPosition": "377.93399", + "doQA": "true", + "qaV0DCADau": "0.5", + "qaCascDCADau": "0.5", + "qaV0CosPA": "0.995000005", + "qaCascCosPA": "0.995000005", + "qaMassWindow": "0.00499999989", + "qaTPCNSigma": "5", + "doNSigmas": "true", + "doQANSigma": "false", + "ccdb-url": "http:\/\/alice-ccdb.cern.ch", + "grpPath": "GLO\/GRP\/GRP", + "grpmagPath": "GLO\/Config\/GRPMagField", + "lutPath": "GLO\/Param\/MatLUT", + "geoPath": "GLO\/Config\/GeometryAligned", + "nSigmaPath": "Users\/d\/ddobrigk\/stratof", + "axisEta": { + "values": [ + "20", + "-1", + "1" + ] + }, + "axisDeltaTime": { + "values": [ + "2000", + "-1000", + "1000" + ] + }, + "axisNSigma": { + "values": [ + "200", + "-10", + "10" + ] + }, + "axisTime": { + "values": [ + "200", + "0", + "20000" + ] + }, + "axisPt": { + "values": [ + "0", + "0", + "0.10000000149011612", + "0.20000000298023224", + "0.30000001192092896", + "0.40000000596046448", + "0.5", + "0.60000002384185791", + "0.69999998807907104", + "0.80000001192092896", + "0.89999997615814209", + "1", + "1.1000000238418579", + "1.200000047683716", + "1.2999999523162842", + "1.3999999761581421", + "1.5", + "1.6000000238418579", + "1.700000047683716", + "1.7999999523162842", + "1.8999999761581421", + "2", + "2.2000000476837158", + "2.4000000953674321", + "2.5999999046325684", + "2.7999999523162842", + "3", + "3.2000000476837158", + "3.4000000953674321", + "3.5999999046325684", + "3.7999999523162842", + "4", + "4.4000000953674316", + "4.8000001907348633", + "5.1999998092651367", + "5.5999999046325684", + "6", + "6.5", + "7", + "7.5", + "8", + "9", + "10", + "11", + "12", + "13", + "14", + "15", + "17", + "19", + "21", + "23", + "25", + "30", + "35", + "40", + "50" + ] + }, + "processStandardData": "false", + "processDerivedData": "true" + }, + "strangeness_pbpb_tutorial": { + "nBins": "100", + "cutzvertex": "10", + "cascadesetting_cospa": "0.998", + "cascadesetting_v0cospa": "0.96999999999999997", + "cascadesetting_dcacascdau": "1", + "cascadesetting_dcav0dau": "1", + "cascadesetting_dcabachtopv": "0.0599999987", + "cascadesetting_dcapostopv": "0.0599999987", + "cascadesetting_dcanegtopv": "0.0599999987", + "cascadesetting_mindcav0topv": "0.00999999978", + "cascadesetting_cascradius": "0.5", + "cascadesetting_v0radius": "1.20000005", + "cascadesetting_v0masswindow": "0.00800000038", + "cascadesetting_competingmassrej": "0.00800000038", + "NSigmaTPCPion": "3", + "NSigmaTPCKaon": "3", + "NSigmaTPCProton": "3", + "NSigmaTOFPion": "3", + "NSigmaTOFKaon": "3", + "NSigmaTOFProton": "3" + }, + "internal-dpl-aod-writer": "", + "internal-dpl-aod-global-analysis-file-sink": "", + "internal-dpl-injected-dummy-sink": "" +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh new file mode 100644 index 00000000000..2c929c887f2 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh @@ -0,0 +1,3 @@ +OPTION="-b --configuration json://configuration_step0.json" + +o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step0 ${OPTION} --aod-file @input_data.txt \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh new file mode 100644 index 00000000000..f7f0cb582ed --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh @@ -0,0 +1,3 @@ +OPTION="-b --configuration json://configuration_step1.json" + +o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step1 ${OPTION} --aod-file @input_data.txt \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh new file mode 100644 index 00000000000..6a39b233f5d --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh @@ -0,0 +1,3 @@ +OPTION="-b --configuration json://configuration_step2.json" + +o2-analysis-lf-cascadepid ${OPTION} | o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step2 ${OPTION} --aod-file @input_data.txt \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh new file mode 100644 index 00000000000..7426969406f --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh @@ -0,0 +1,3 @@ +OPTION="-b --configuration json://configuration_step3.json" + +o2-analysis-lf-cascadepid ${OPTION} | o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step3 ${OPTION} --aod-file @input_data.txt \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh new file mode 100644 index 00000000000..0ae9e52741c --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh @@ -0,0 +1,3 @@ +OPTION="-b --configuration json://configuration_step4.json" + +o2-analysis-lf-cascadepid ${OPTION} | o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step4 ${OPTION} --aod-file @input_data.txt \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_skeleton.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_skeleton.cxx new file mode 100644 index 00000000000..17c242593cf --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_skeleton.cxx @@ -0,0 +1,68 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. +/// +/// \brief Step4 of the Strangeness tutorial +/// \author Romain Schotter +/// based on the original codes from: +/// \author Nepeivoda Roman (roman.nepeivoda@cern.ch) +/// \author Chiara De Martin (chiara.de.martin@cern.ch) + + +#include "Framework/runDataProcessing.h" +#include "Framework/AnalysisTask.h" +#include "Common/DataModel/EventSelection.h" +#include "PWGLF/DataModel/LFStrangenessTables.h" +#include "Framework/O2DatabasePDGPlugin.h" + +using namespace o2; +using namespace o2::framework; +using namespace o2::framework::expressions; + +struct strangeness_pbpb_tutorial { + // Histograms are defined with HistogramRegistry + HistogramRegistry rEventSelection{"eventSelection", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + + // Configurable for histograms + Configurable nBins{"nBins", 100, "N bins in all histos"}; + + // Configurable for event selection + Configurable cutzvertex{"cutzvertex", 10.0f, "Accepted z-vertex range (cm)"}; + + // PDG data base + Service pdgDB; + + void init(InitContext const&) + { + // Axes + AxisSpec vertexZAxis = {nBins, -15., 15., "vrtx_{Z} [cm]"}; + + // Histograms + // Event selection + rEventSelection.add("hVertexZRec", "hVertexZRec", {HistType::kTH1F, {vertexZAxis}}); + } + + // Defining filters for events (event selection) + // Processed events will be already fulfilling the event selection requirements + Filter eventFilter = (o2::aod::evsel::sel8 == true); + Filter posZFilter = (nabs(o2::aod::collision::posZ) < cutzvertex); + + void process(soa::Filtered>::iterator const& collision) + { + // Fill the event counter + rEventSelection.fill(HIST("hVertexZRec"), collision.posZ()); + } +}; + +WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) +{ + return WorkflowSpec{ + adaptAnalysisTask(cfgc)}; +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step0.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step0.cxx new file mode 100644 index 00000000000..d4a3624778e --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step0.cxx @@ -0,0 +1,87 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. +/// +/// \brief Step4 of the Strangeness tutorial +/// \author Romain Schotter +/// based on the original codes from: +/// \author Nepeivoda Roman (roman.nepeivoda@cern.ch) +/// \author Chiara De Martin (chiara.de.martin@cern.ch) + + +#include "Framework/runDataProcessing.h" +#include "Framework/AnalysisTask.h" +#include "Common/DataModel/EventSelection.h" +#include "PWGLF/DataModel/LFStrangenessTables.h" +#include "Framework/O2DatabasePDGPlugin.h" + +using namespace o2; +using namespace o2::framework; +using namespace o2::framework::expressions; + +// STEP 0 +// Starting point: loop over all cascades and fill invariant mass histogram + +struct strangeness_pbpb_tutorial { + // Histograms are defined with HistogramRegistry + HistogramRegistry rEventSelection{"eventSelection", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + HistogramRegistry rXi{"xi", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + HistogramRegistry rOmega{"omega", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + + // Configurable for histograms + Configurable nBins{"nBins", 100, "N bins in all histos"}; + + // Configurable for event selection + Configurable cutzvertex{"cutzvertex", 10.0f, "Accepted z-vertex range (cm)"}; + + // PDG data base + Service pdgDB; + + void init(InitContext const&) + { + // Axes + AxisSpec XiMassAxis = {100, 1.28f, 1.36f, "#it{M}_{inv} [GeV/#it{c}^{2}]"}; + AxisSpec OmegaMassAxis = {100, 1.63f, 1.7f, "#it{M}_{inv} [GeV/#it{c}^{2}]"}; + AxisSpec vertexZAxis = {nBins, -15., 15., "vrtx_{Z} [cm]"}; + + // Histograms + // Event selection + rEventSelection.add("hVertexZRec", "hVertexZRec", {HistType::kTH1F, {vertexZAxis}}); + + // Xi/Omega reconstruction + rXi.add("hMassXi", "hMassXi", {HistType::kTH1F, {XiMassAxis}}); + + rOmega.add("hMassOmega", "hMassOmega", {HistType::kTH1F, {OmegaMassAxis}}); + } + + // Defining filters for events (event selection) + // Processed events will be already fulfilling the event selection requirements + Filter eventFilter = (o2::aod::evsel::sel8 == true); + Filter posZFilter = (nabs(o2::aod::collision::posZ) < cutzvertex); + + void process(soa::Filtered>::iterator const& collision, + aod::CascCores const& Cascades) + { + // Fill the event counter + rEventSelection.fill(HIST("hVertexZRec"), collision.posZ()); + + // Cascades + for (const auto& casc : Cascades) { + rXi.fill(HIST("hMassXi"), casc.mXi()); + rOmega.fill(HIST("hMassOmega"), casc.mOmega()); + } + } +}; + +WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) +{ + return WorkflowSpec{ + adaptAnalysisTask(cfgc)}; +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step1.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step1.cxx new file mode 100644 index 00000000000..2622bfd0051 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step1.cxx @@ -0,0 +1,155 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. +/// +/// \brief Step4 of the Strangeness tutorial +/// \author Romain Schotter +/// based on the original codes from: +/// \author Nepeivoda Roman (roman.nepeivoda@cern.ch) +/// \author Chiara De Martin (chiara.de.martin@cern.ch) + + +#include "Framework/runDataProcessing.h" +#include "Framework/AnalysisTask.h" +#include "Common/DataModel/EventSelection.h" +#include "PWGLF/DataModel/LFStrangenessTables.h" +#include "Framework/O2DatabasePDGPlugin.h" + +using namespace o2; +using namespace o2::framework; +using namespace o2::framework::expressions; + +// STEP 0 +// Starting point: loop over all cascades and fill invariant mass histogram +// STEP 1 +// Apply selections on topological variables of Cascades + +struct strangeness_pbpb_tutorial { + // Histograms are defined with HistogramRegistry + HistogramRegistry rEventSelection{"eventSelection", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + HistogramRegistry rXi{"xi", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + HistogramRegistry rOmega{"omega", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + + // Configurable for histograms + Configurable nBins{"nBins", 100, "N bins in all histos"}; + + // Configurable for event selection + Configurable cutzvertex{"cutzvertex", 10.0f, "Accepted z-vertex range (cm)"}; + + // Configurable parameters for cascade selection + Configurable cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"}; + Configurable cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"}; + Configurable cascadesetting_dcacascdau{"cascadesetting_dcacascdau", 1.0, "DCA cascade daughters"}; + Configurable cascadesetting_dcav0dau{"cascadesetting_dcav0dau", 1.0, "DCA v0 daughters"}; + Configurable cascadesetting_dcabachtopv{"cascadesetting_dcabachtopv", 0.06, "DCA bachelor to PV"}; + Configurable cascadesetting_dcapostopv{"cascadesetting_dcapostopv", 0.06, "DCA positive to PV"}; + Configurable cascadesetting_dcanegtopv{"cascadesetting_dcanegtopv", 0.06, "DCA negative to PV"}; + Configurable cascadesetting_mindcav0topv{"cascadesetting_mindcav0topv", 0.01, "minimum V0 DCA to PV"}; + Configurable cascadesetting_cascradius{"cascadesetting_cascradius", 0.5, "cascradius"}; + Configurable cascadesetting_v0radius{"cascadesetting_v0radius", 1.2, "v0radius"}; + Configurable cascadesetting_v0masswindow{"cascadesetting_v0masswindow", 0.01, "v0 mass window"}; + Configurable cascadesetting_competingmassrej{"cascadesetting_competingmassrej", 0.008, "Competing mass rejection"}; + + // PDG data base + Service pdgDB; + + void init(InitContext const&) + { + // Axes + AxisSpec XiMassAxis = {100, 1.28f, 1.36f, "#it{M}_{inv} [GeV/#it{c}^{2}]"}; + AxisSpec OmegaMassAxis = {100, 1.63f, 1.7f, "#it{M}_{inv} [GeV/#it{c}^{2}]"}; + AxisSpec vertexZAxis = {nBins, -15., 15., "vrtx_{Z} [cm]"}; + + // Histograms + // Event selection + rEventSelection.add("hVertexZRec", "hVertexZRec", {HistType::kTH1F, {vertexZAxis}}); + + // Xi/Omega reconstruction + rXi.add("hMassXi", "hMassXi", {HistType::kTH1F, {XiMassAxis}}); + rXi.add("hMassXiSelected", "hMassXiSelected", {HistType::kTH1F, {XiMassAxis}}); + + rOmega.add("hMassOmega", "hMassOmega", {HistType::kTH1F, {OmegaMassAxis}}); + rOmega.add("hMassOmegaSelected", "hMassOmegaSelected", {HistType::kTH1F, {OmegaMassAxis}}); + + // Xi/Omega topological cuts + rXi.add("hCascDCAV0Daughters", "hCascDCAV0Daughters", {HistType::kTH1F, {{55, 0.0f, 2.2f}}}); + rXi.add("hCascCosPA", "hCascCosPA", {HistType::kTH1F, {{100, 0.95f, 1.f}}}); + + rOmega.add("hCascDCAV0Daughters", "hCascDCAV0Daughters", {HistType::kTH1F, {{55, 0.0f, 2.2f}}}); + rOmega.add("hCascCosPA", "hCascCosPA", {HistType::kTH1F, {{100, 0.95f, 1.f}}}); + } + + // Defining filters for events (event selection) + // Processed events will be already fulfilling the event selection requirements + Filter eventFilter = (o2::aod::evsel::sel8 == true); + Filter posZFilter = (nabs(o2::aod::collision::posZ) < cutzvertex); + + // Filters on Cascades + // Cannot filter on dynamic columns + Filter preFilterCascades = (aod::cascdata::dcaV0daughters < cascadesetting_dcav0dau && + nabs(aod::cascdata::dcapostopv) > cascadesetting_dcapostopv && + nabs(aod::cascdata::dcanegtopv) > cascadesetting_dcanegtopv && + nabs(aod::cascdata::dcabachtopv) > cascadesetting_dcabachtopv && + aod::cascdata::dcacascdaughters < cascadesetting_dcacascdau); + + // Defining the type of the daughter tracks + using dauTracks = aod::DauTrackExtras; + + void process(soa::Filtered>::iterator const& collision, + soa::Filtered> const& Cascades, + dauTracks const&) + { + // Fill the event counter + rEventSelection.fill(HIST("hVertexZRec"), collision.posZ()); + + // Cascades + for (const auto& casc : Cascades) { + const auto& bachDaughterTrackCasc = casc.bachTrackExtra_as(); + const auto& posDaughterTrackCasc = casc.posTrackExtra_as(); + const auto& negDaughterTrackCasc = casc.negTrackExtra_as(); + + rXi.fill(HIST("hMassXi"), casc.mXi()); + rOmega.fill(HIST("hMassOmega"), casc.mOmega()); + + // Cut on dynamic columns + if (casc.casccosPA(collision.posX(), collision.posY(), collision.posZ()) < cascadesetting_cospa) + continue; + if (casc.v0cosPA(collision.posX(), collision.posY(), collision.posZ()) < cascadesetting_v0cospa) + continue; + if (TMath::Abs(casc.mLambda() - pdgDB->Mass(3122)) > cascadesetting_v0masswindow) + continue; + if (casc.dcav0topv(collision.posX(), collision.posY(), collision.posZ()) < cascadesetting_mindcav0topv) + continue; + if (casc.cascradius() < cascadesetting_cascradius) + continue; + if (casc.v0radius() < cascadesetting_v0radius) + continue; + + // Fill histograms! (if possible) + rXi.fill(HIST("hMassXiSelected"), casc.mXi()); + + rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rXi.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); + + if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega + rOmega.fill(HIST("hMassOmegaSelected"), casc.mOmega()); + + rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rOmega.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); + } + } + } +}; + +WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) +{ + return WorkflowSpec{ + adaptAnalysisTask(cfgc)}; +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step2.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step2.cxx new file mode 100644 index 00000000000..25f5eb1a32e --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step2.cxx @@ -0,0 +1,183 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. +/// +/// \brief Step4 of the Strangeness tutorial +/// \author Romain Schotter +/// based on the original codes from: +/// \author Nepeivoda Roman (roman.nepeivoda@cern.ch) +/// \author Chiara De Martin (chiara.de.martin@cern.ch) + + +#include "Framework/runDataProcessing.h" +#include "Framework/AnalysisTask.h" +#include "Common/DataModel/EventSelection.h" +#include "PWGLF/DataModel/LFStrangenessPIDTables.h" +#include "PWGLF/DataModel/LFStrangenessTables.h" +#include "Framework/O2DatabasePDGPlugin.h" + +using namespace o2; +using namespace o2::framework; +using namespace o2::framework::expressions; + +// STEP 0 +// Starting point: loop over all cascades and fill invariant mass histogram +// STEP 1 +// Apply selections on topological variables of Cascades +// STEP 2 +// Apply TPC PID selections on cascade daughter tracks + +struct strangeness_pbpb_tutorial { + // Histograms are defined with HistogramRegistry + HistogramRegistry rEventSelection{"eventSelection", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + HistogramRegistry rXi{"xi", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + HistogramRegistry rOmega{"omega", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + + // Configurable for histograms + Configurable nBins{"nBins", 100, "N bins in all histos"}; + + // Configurable for event selection + Configurable cutzvertex{"cutzvertex", 10.0f, "Accepted z-vertex range (cm)"}; + + // Configurable parameters for cascade selection + Configurable cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"}; + Configurable cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"}; + Configurable cascadesetting_dcacascdau{"cascadesetting_dcacascdau", 1.0, "DCA cascade daughters"}; + Configurable cascadesetting_dcav0dau{"cascadesetting_dcav0dau", 1.0, "DCA v0 daughters"}; + Configurable cascadesetting_dcabachtopv{"cascadesetting_dcabachtopv", 0.06, "DCA bachelor to PV"}; + Configurable cascadesetting_dcapostopv{"cascadesetting_dcapostopv", 0.06, "DCA positive to PV"}; + Configurable cascadesetting_dcanegtopv{"cascadesetting_dcanegtopv", 0.06, "DCA negative to PV"}; + Configurable cascadesetting_mindcav0topv{"cascadesetting_mindcav0topv", 0.01, "minimum V0 DCA to PV"}; + Configurable cascadesetting_cascradius{"cascadesetting_cascradius", 0.5, "cascradius"}; + Configurable cascadesetting_v0radius{"cascadesetting_v0radius", 1.2, "v0radius"}; + Configurable cascadesetting_v0masswindow{"cascadesetting_v0masswindow", 0.01, "v0 mass window"}; + Configurable cascadesetting_competingmassrej{"cascadesetting_competingmassrej", 0.008, "Competing mass rejection"}; + + // Configurable parameters for PID selection + Configurable NSigmaTPCPion{"NSigmaTPCPion", 4, "NSigmaTPCPion"}; + Configurable NSigmaTPCKaon{"NSigmaTPCKaon", 4, "NSigmaTPCKaon"}; + Configurable NSigmaTPCProton{"NSigmaTPCProton", 4, "NSigmaTPCProton"}; + + // PDG data base + Service pdgDB; + + void init(InitContext const&) + { + // Axes + AxisSpec XiMassAxis = {100, 1.28f, 1.36f, "#it{M}_{inv} [GeV/#it{c}^{2}]"}; + AxisSpec OmegaMassAxis = {100, 1.63f, 1.7f, "#it{M}_{inv} [GeV/#it{c}^{2}]"}; + AxisSpec vertexZAxis = {nBins, -15., 15., "vrtx_{Z} [cm]"}; + + // Histograms + // Event selection + rEventSelection.add("hVertexZRec", "hVertexZRec", {HistType::kTH1F, {vertexZAxis}}); + + // Xi/Omega reconstruction + rXi.add("hMassXi", "hMassXi", {HistType::kTH1F, {XiMassAxis}}); + rXi.add("hMassXiSelected", "hMassXiSelected", {HistType::kTH1F, {XiMassAxis}}); + + rOmega.add("hMassOmega", "hMassOmega", {HistType::kTH1F, {OmegaMassAxis}}); + rOmega.add("hMassOmegaSelected", "hMassOmegaSelected", {HistType::kTH1F, {OmegaMassAxis}}); + + // Xi/Omega topological cuts + rXi.add("hCascDCAV0Daughters", "hCascDCAV0Daughters", {HistType::kTH1F, {{55, 0.0f, 2.2f}}}); + rXi.add("hCascCosPA", "hCascCosPA", {HistType::kTH1F, {{100, 0.95f, 1.f}}}); + + rOmega.add("hCascDCAV0Daughters", "hCascDCAV0Daughters", {HistType::kTH1F, {{55, 0.0f, 2.2f}}}); + rOmega.add("hCascCosPA", "hCascCosPA", {HistType::kTH1F, {{100, 0.95f, 1.f}}}); + } + + // Defining filters for events (event selection) + // Processed events will be already fulfilling the event selection requirements + Filter eventFilter = (o2::aod::evsel::sel8 == true); + Filter posZFilter = (nabs(o2::aod::collision::posZ) < cutzvertex); + + // Filters on Cascades + // Cannot filter on dynamic columns + Filter preFilterCascades = (aod::cascdata::dcaV0daughters < cascadesetting_dcav0dau && + nabs(aod::cascdata::dcapostopv) > cascadesetting_dcapostopv && + nabs(aod::cascdata::dcanegtopv) > cascadesetting_dcanegtopv && + nabs(aod::cascdata::dcabachtopv) > cascadesetting_dcabachtopv && + aod::cascdata::dcacascdaughters < cascadesetting_dcacascdau); + + // Defining the type of the daughter tracks + using dauTracks = soa::Join; + + void process(soa::Filtered>::iterator const& collision, + soa::Filtered> const& Cascades, + dauTracks const&) + { + // Fill the event counter + rEventSelection.fill(HIST("hVertexZRec"), collision.posZ()); + + // Cascades + for (const auto& casc : Cascades) { + const auto& bachDaughterTrackCasc = casc.bachTrackExtra_as(); + const auto& posDaughterTrackCasc = casc.posTrackExtra_as(); + const auto& negDaughterTrackCasc = casc.negTrackExtra_as(); + + rXi.fill(HIST("hMassXi"), casc.mXi()); + rOmega.fill(HIST("hMassOmega"), casc.mOmega()); + + // Cut on dynamic columns + if (casc.casccosPA(collision.posX(), collision.posY(), collision.posZ()) < cascadesetting_cospa) + continue; + if (casc.v0cosPA(collision.posX(), collision.posY(), collision.posZ()) < cascadesetting_v0cospa) + continue; + if (TMath::Abs(casc.mLambda() - pdgDB->Mass(3122)) > cascadesetting_v0masswindow) + continue; + if (casc.dcav0topv(collision.posX(), collision.posY(), collision.posZ()) < cascadesetting_mindcav0topv) + continue; + if (casc.cascradius() < cascadesetting_cascradius) + continue; + if (casc.v0radius() < cascadesetting_v0radius) + continue; + + // PID selection + if (casc.sign() < 0) { + if (TMath::Abs(posDaughterTrackCasc.tpcNSigmaPr()) > NSigmaTPCProton) { + continue; + } + if (TMath::Abs(negDaughterTrackCasc.tpcNSigmaPi()) > NSigmaTPCPion) { + continue; + } + } else { + if (TMath::Abs(negDaughterTrackCasc.tpcNSigmaPr()) > NSigmaTPCProton) { + continue; + } + if (TMath::Abs(posDaughterTrackCasc.tpcNSigmaPi()) > NSigmaTPCPion) { + continue; + } + } + + // Fill histograms! (if possible) + if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaPi()) < NSigmaTPCPion) { // Xi case + rXi.fill(HIST("hMassXiSelected"), casc.mXi()); + + rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rXi.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); + } + if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case + if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega + rOmega.fill(HIST("hMassOmegaSelected"), casc.mOmega()); + + rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rOmega.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); + } + } + } + } +}; + +WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) +{ + return WorkflowSpec{ + adaptAnalysisTask(cfgc)}; +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step3.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step3.cxx new file mode 100644 index 00000000000..5ea66c17f20 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step3.cxx @@ -0,0 +1,249 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. +/// +/// \brief Step4 of the Strangeness tutorial +/// \author Romain Schotter +/// based on the original codes from: +/// \author Nepeivoda Roman (roman.nepeivoda@cern.ch) +/// \author Chiara De Martin (chiara.de.martin@cern.ch) + + +#include "Framework/runDataProcessing.h" +#include "Framework/AnalysisTask.h" +#include "Common/DataModel/EventSelection.h" +#include "PWGLF/DataModel/LFStrangenessPIDTables.h" +#include "PWGLF/DataModel/LFStrangenessTables.h" +#include "Framework/O2DatabasePDGPlugin.h" + +using namespace o2; +using namespace o2::framework; +using namespace o2::framework::expressions; + +// STEP 0 +// Starting point: loop over all cascades and fill invariant mass histogram +// STEP 1 +// Apply selections on topological variables of Cascades +// STEP 2 +// Apply TPC PID selections on cascade daughter tracks +// STEP 3 +// Apply TOF PID selections on cascade daugther tracks (if info is available) + +struct strangeness_pbpb_tutorial { + // Histograms are defined with HistogramRegistry + HistogramRegistry rEventSelection{"eventSelection", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + HistogramRegistry rXi{"xi", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + HistogramRegistry rOmega{"omega", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + + // Configurable for histograms + Configurable nBins{"nBins", 100, "N bins in all histos"}; + + // Configurable for event selection + Configurable cutzvertex{"cutzvertex", 10.0f, "Accepted z-vertex range (cm)"}; + + // Configurable parameters for cascade selection + Configurable cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"}; + Configurable cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"}; + Configurable cascadesetting_dcacascdau{"cascadesetting_dcacascdau", 1.0, "DCA cascade daughters"}; + Configurable cascadesetting_dcav0dau{"cascadesetting_dcav0dau", 1.0, "DCA v0 daughters"}; + Configurable cascadesetting_dcabachtopv{"cascadesetting_dcabachtopv", 0.06, "DCA bachelor to PV"}; + Configurable cascadesetting_dcapostopv{"cascadesetting_dcapostopv", 0.06, "DCA positive to PV"}; + Configurable cascadesetting_dcanegtopv{"cascadesetting_dcanegtopv", 0.06, "DCA negative to PV"}; + Configurable cascadesetting_mindcav0topv{"cascadesetting_mindcav0topv", 0.01, "minimum V0 DCA to PV"}; + Configurable cascadesetting_cascradius{"cascadesetting_cascradius", 0.5, "cascradius"}; + Configurable cascadesetting_v0radius{"cascadesetting_v0radius", 1.2, "v0radius"}; + Configurable cascadesetting_v0masswindow{"cascadesetting_v0masswindow", 0.01, "v0 mass window"}; + Configurable cascadesetting_competingmassrej{"cascadesetting_competingmassrej", 0.008, "Competing mass rejection"}; + + // Configurable parameters for PID selection + Configurable NSigmaTPCPion{"NSigmaTPCPion", 4, "NSigmaTPCPion"}; + Configurable NSigmaTPCKaon{"NSigmaTPCKaon", 4, "NSigmaTPCKaon"}; + Configurable NSigmaTPCProton{"NSigmaTPCProton", 4, "NSigmaTPCProton"}; + + // Configurable parameters for TOF PID selection + Configurable NSigmaTOFPion{"NSigmaTOFPion", 3, "NSigmaTOFPion"}; + Configurable NSigmaTOFKaon{"NSigmaTOFKaon", 3, "NSigmaTOFKaon"}; + Configurable NSigmaTOFProton{"NSigmaTOFProton", 3, "NSigmaTOFProton"}; + + // PDG data base + Service pdgDB; + + void init(InitContext const&) + { + // Axes + AxisSpec XiMassAxis = {100, 1.28f, 1.36f, "#it{M}_{inv} [GeV/#it{c}^{2}]"}; + AxisSpec OmegaMassAxis = {100, 1.63f, 1.7f, "#it{M}_{inv} [GeV/#it{c}^{2}]"}; + AxisSpec vertexZAxis = {nBins, -15., 15., "vrtx_{Z} [cm]"}; + + // Histograms + // Event selection + rEventSelection.add("hVertexZRec", "hVertexZRec", {HistType::kTH1F, {vertexZAxis}}); + + // Xi/Omega reconstruction + rXi.add("hMassXi", "hMassXi", {HistType::kTH1F, {XiMassAxis}}); + rXi.add("hMassXiSelected", "hMassXiSelected", {HistType::kTH1F, {XiMassAxis}}); + rXi.add("hMassXiSelectedWithTOF", "hMassXiSelectedWithTOF", {HistType::kTH1F, {XiMassAxis}}); + + rOmega.add("hMassOmega", "hMassOmega", {HistType::kTH1F, {OmegaMassAxis}}); + rOmega.add("hMassOmegaSelected", "hMassOmegaSelected", {HistType::kTH1F, {OmegaMassAxis}}); + rOmega.add("hMassOmegaSelectedWithTOF", "hMassOmegaSelectedWithTOF", {HistType::kTH1F, {OmegaMassAxis}}); + + // Xi/Omega topological cuts + rXi.add("hCascDCAV0Daughters", "hCascDCAV0Daughters", {HistType::kTH1F, {{55, 0.0f, 2.2f}}}); + rXi.add("hCascCosPA", "hCascCosPA", {HistType::kTH1F, {{100, 0.95f, 1.f}}}); + + rOmega.add("hCascDCAV0Daughters", "hCascDCAV0Daughters", {HistType::kTH1F, {{55, 0.0f, 2.2f}}}); + rOmega.add("hCascCosPA", "hCascCosPA", {HistType::kTH1F, {{100, 0.95f, 1.f}}}); + } + + // Defining filters for events (event selection) + // Processed events will be already fulfilling the event selection requirements + Filter eventFilter = (o2::aod::evsel::sel8 == true); + Filter posZFilter = (nabs(o2::aod::collision::posZ) < cutzvertex); + + // Filters on Cascades + // Cannot filter on dynamic columns + Filter preFilterCascades = (aod::cascdata::dcaV0daughters < cascadesetting_dcav0dau && + nabs(aod::cascdata::dcapostopv) > cascadesetting_dcapostopv && + nabs(aod::cascdata::dcanegtopv) > cascadesetting_dcanegtopv && + nabs(aod::cascdata::dcabachtopv) > cascadesetting_dcabachtopv && + aod::cascdata::dcacascdaughters < cascadesetting_dcacascdau); + + // Defining the type of the daughter tracks + using dauTracks = soa::Join; + + void process(soa::Filtered>::iterator const& collision, + soa::Filtered> const& Cascades, + dauTracks const&) + { + // Fill the event counter + rEventSelection.fill(HIST("hVertexZRec"), collision.posZ()); + + // Cascades + for (const auto& casc : Cascades) { + const auto& bachDaughterTrackCasc = casc.bachTrackExtra_as(); + const auto& posDaughterTrackCasc = casc.posTrackExtra_as(); + const auto& negDaughterTrackCasc = casc.negTrackExtra_as(); + + rXi.fill(HIST("hMassXi"), casc.mXi()); + rOmega.fill(HIST("hMassOmega"), casc.mOmega()); + + // Cut on dynamic columns + if (casc.casccosPA(collision.posX(), collision.posY(), collision.posZ()) < cascadesetting_cospa) + continue; + if (casc.v0cosPA(collision.posX(), collision.posY(), collision.posZ()) < cascadesetting_v0cospa) + continue; + if (TMath::Abs(casc.mLambda() - pdgDB->Mass(3122)) > cascadesetting_v0masswindow) + continue; + if (casc.dcav0topv(collision.posX(), collision.posY(), collision.posZ()) < cascadesetting_mindcav0topv) + continue; + if (casc.cascradius() < cascadesetting_cascradius) + continue; + if (casc.v0radius() < cascadesetting_v0radius) + continue; + + // PID selection + if (casc.sign() < 0) { + if (TMath::Abs(posDaughterTrackCasc.tpcNSigmaPr()) > NSigmaTPCProton) { + continue; + } + if (TMath::Abs(negDaughterTrackCasc.tpcNSigmaPi()) > NSigmaTPCPion) { + continue; + } + } else { + if (TMath::Abs(negDaughterTrackCasc.tpcNSigmaPr()) > NSigmaTPCProton) { + continue; + } + if (TMath::Abs(posDaughterTrackCasc.tpcNSigmaPi()) > NSigmaTPCPion) { + continue; + } + } + + // TOF PID check + bool bachXiPassTOFSelection = true; + bool posXiPassTOFSelection = true; + bool negXiPassTOFSelection = true; + bool bachOmegaPassTOFSelection = true; + bool posOmegaPassTOFSelection = true; + bool negOmegaPassTOFSelection = true; + bool atLeastOneTOF = bachDaughterTrackCasc.hasTOF() || posDaughterTrackCasc.hasTOF() || negDaughterTrackCasc.hasTOF(); + if (casc.sign() < 0) { + if (posDaughterTrackCasc.hasTOF()) { + if (TMath::Abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) { + posXiPassTOFSelection = false; + } + if (TMath::Abs(casc.tofNSigmaOmLaPr()) > NSigmaTOFProton) { + posOmegaPassTOFSelection = false; + } + } + if (negDaughterTrackCasc.hasTOF()) { + if (TMath::Abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) { + negXiPassTOFSelection = false; + } + if (TMath::Abs(casc.tofNSigmaOmLaPi()) > NSigmaTOFPion) { + negOmegaPassTOFSelection = false; + } + } + } else { + if (posDaughterTrackCasc.hasTOF()) { + if (TMath::Abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) { + posXiPassTOFSelection = false; + } + if (TMath::Abs(casc.tofNSigmaOmLaPi()) > NSigmaTOFPion) { + posOmegaPassTOFSelection = false; + } + } + if (negDaughterTrackCasc.hasTOF()) { + if (TMath::Abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) { + negXiPassTOFSelection = false; + } + if (TMath::Abs(casc.tofNSigmaOmLaPr()) > NSigmaTOFProton) { + negOmegaPassTOFSelection = false; + } + } + } + + if (bachDaughterTrackCasc.hasTOF()) { + if (TMath::Abs(casc.tofNSigmaXiPi()) > NSigmaTOFPion) { + bachXiPassTOFSelection = false; + } + if (TMath::Abs(casc.tofNSigmaOmKa()) > NSigmaTOFKaon) { + bachOmegaPassTOFSelection = false; + } + } + + // Fill histograms! (if possible) + if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaPi()) < NSigmaTPCPion) { // Xi case + rXi.fill(HIST("hMassXiSelected"), casc.mXi()); + if (atLeastOneTOF && bachXiPassTOFSelection && posXiPassTOFSelection && negXiPassTOFSelection) + rXi.fill(HIST("hMassXiSelectedWithTOF"), casc.mXi()); + + rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rXi.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); + } + if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case + if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega + rOmega.fill(HIST("hMassOmegaSelected"), casc.mOmega()); + if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) + rOmega.fill(HIST("hMassOmegaSelectedWithTOF"), casc.mOmega()); + + rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rOmega.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); + } + } + } + } +}; + +WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) +{ + return WorkflowSpec{ + adaptAnalysisTask(cfgc)}; +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx new file mode 100644 index 00000000000..2ddf6886b6a --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx @@ -0,0 +1,318 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. +/// +/// \brief Step4 of the Strangeness tutorial +/// \author Romain Schotter +/// based on the original codes from: +/// \author Nepeivoda Roman (roman.nepeivoda@cern.ch) +/// \author Chiara De Martin (chiara.de.martin@cern.ch) + + +#include "Framework/runDataProcessing.h" +#include "Framework/AnalysisTask.h" +#include "Common/DataModel/EventSelection.h" +#include "PWGLF/DataModel/LFStrangenessPIDTables.h" +#include "PWGLF/DataModel/LFStrangenessTables.h" +#include "Framework/O2DatabasePDGPlugin.h" + +using namespace o2; +using namespace o2::framework; +using namespace o2::framework::expressions; + +// STEP 0 +// Starting point: loop over all cascades and fill invariant mass histogram +// STEP 1 +// Apply selections on topological variables of Cascades +// STEP 2 +// Apply TPC PID selections on cascade daughter tracks +// STEP 3 +// Apply TOF PID selections on cascade daugther tracks (if info is available) +// STEP 4 +// Check the MC information of the cascades + +struct strangeness_pbpb_tutorial { + // Histograms are defined with HistogramRegistry + HistogramRegistry rEventSelection{"eventSelection", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + HistogramRegistry rXi{"xi", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + HistogramRegistry rOmega{"omega", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + HistogramRegistry rGenParticles{"genParticles", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + + // Configurable for histograms + Configurable nBins{"nBins", 100, "N bins in all histos"}; + + // Configurable for event selection + Configurable cutzvertex{"cutzvertex", 10.0f, "Accepted z-vertex range (cm)"}; + + // Configurable parameters for cascade selection + Configurable cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"}; + Configurable cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"}; + Configurable cascadesetting_dcacascdau{"cascadesetting_dcacascdau", 1.0, "DCA cascade daughters"}; + Configurable cascadesetting_dcav0dau{"cascadesetting_dcav0dau", 1.0, "DCA v0 daughters"}; + Configurable cascadesetting_dcabachtopv{"cascadesetting_dcabachtopv", 0.06, "DCA bachelor to PV"}; + Configurable cascadesetting_dcapostopv{"cascadesetting_dcapostopv", 0.06, "DCA positive to PV"}; + Configurable cascadesetting_dcanegtopv{"cascadesetting_dcanegtopv", 0.06, "DCA negative to PV"}; + Configurable cascadesetting_mindcav0topv{"cascadesetting_mindcav0topv", 0.01, "minimum V0 DCA to PV"}; + Configurable cascadesetting_cascradius{"cascadesetting_cascradius", 0.5, "cascradius"}; + Configurable cascadesetting_v0radius{"cascadesetting_v0radius", 1.2, "v0radius"}; + Configurable cascadesetting_v0masswindow{"cascadesetting_v0masswindow", 0.01, "v0 mass window"}; + Configurable cascadesetting_competingmassrej{"cascadesetting_competingmassrej", 0.008, "Competing mass rejection"}; + + // Configurable parameters for PID selection + Configurable NSigmaTPCPion{"NSigmaTPCPion", 4, "NSigmaTPCPion"}; + Configurable NSigmaTPCKaon{"NSigmaTPCKaon", 4, "NSigmaTPCKaon"}; + Configurable NSigmaTPCProton{"NSigmaTPCProton", 4, "NSigmaTPCProton"}; + + // Configurable parameters for TOF PID selection + Configurable NSigmaTOFPion{"NSigmaTOFPion", 3, "NSigmaTOFPion"}; + Configurable NSigmaTOFKaon{"NSigmaTOFKaon", 3, "NSigmaTOFKaon"}; + Configurable NSigmaTOFProton{"NSigmaTOFProton", 3, "NSigmaTOFProton"}; + + // PDG data base + Service pdgDB; + + void init(InitContext const&) + { + // Axes + AxisSpec XiMassAxis = {100, 1.28f, 1.36f, "#it{M}_{inv} [GeV/#it{c}^{2}]"}; + AxisSpec OmegaMassAxis = {100, 1.63f, 1.7f, "#it{M}_{inv} [GeV/#it{c}^{2}]"}; + AxisSpec vertexZAxis = {nBins, -15., 15., "vrtx_{Z} [cm]"}; + AxisSpec ptAxis = {100, 0.0f, 10.0f, "#it{p}_{T} (GeV/#it{c})"}; + + // Histograms + // Event selection + rEventSelection.add("hVertexZRec", "hVertexZRec", {HistType::kTH1F, {vertexZAxis}}); + + // Xi/Omega reconstruction + rXi.add("hMassXi", "hMassXi", {HistType::kTH1F, {XiMassAxis}}); + rXi.add("hMassXiSelected", "hMassXiSelected", {HistType::kTH1F, {XiMassAxis}}); + rXi.add("hMassXiSelectedWithTOF", "hMassXiSelectedWithTOF", {HistType::kTH1F, {XiMassAxis}}); + rXi.add("hMassXiTrueRec", "hMassXiTrueRec", {HistType::kTH1F, {XiMassAxis}}); + rXi.add("hPtXiTrueRec", "hPtXiTrueRec", {HistType::kTH1F, {ptAxis}}); + rXi.add("hMassXiTrueRecWithTOF", "hMassXiTrueRecWithTOF", {HistType::kTH1F, {XiMassAxis}}); + rXi.add("hPtXiTrueRecWithTOF", "hPtXiTrueRecWithTOF", {HistType::kTH1F, {ptAxis}}); + + rOmega.add("hMassOmega", "hMassOmega", {HistType::kTH1F, {OmegaMassAxis}}); + rOmega.add("hMassOmegaSelected", "hMassOmegaSelected", {HistType::kTH1F, {OmegaMassAxis}}); + rOmega.add("hMassOmegaSelectedWithTOF", "hMassOmegaSelectedWithTOF", {HistType::kTH1F, {OmegaMassAxis}}); + rOmega.add("hMassOmegaTrueRec", "hMassOmegaTrueRec", {HistType::kTH1F, {OmegaMassAxis}}); + rOmega.add("hPtOmegaTrueRec", "hPtOmegaTrueRec", {HistType::kTH1F, {ptAxis}}); + rOmega.add("hMassOmegaTrueRecWithTOF", "hMassOmegaTrueRecWithTOF", {HistType::kTH1F, {OmegaMassAxis}}); + rOmega.add("hPtOmegaTrueRecWithTOF", "hPtOmegaTrueRecWithTOF", {HistType::kTH1F, {ptAxis}}); + + + // Xi/Omega topological cuts + rXi.add("hCascDCAV0Daughters", "hCascDCAV0Daughters", {HistType::kTH1F, {{55, 0.0f, 2.2f}}}); + rXi.add("hCascCosPA", "hCascCosPA", {HistType::kTH1F, {{100, 0.95f, 1.f}}}); + + rOmega.add("hCascDCAV0Daughters", "hCascDCAV0Daughters", {HistType::kTH1F, {{55, 0.0f, 2.2f}}}); + rOmega.add("hCascCosPA", "hCascCosPA", {HistType::kTH1F, {{100, 0.95f, 1.f}}}); + + // Generated level histograms + rEventSelection.add("hVertexZGen", "hVertexZGen", {HistType::kTH1F, {vertexZAxis}}); + rGenParticles.add("hPtXiGen", "hPtXiGen", {HistType::kTH1F, {{ptAxis}}}); + rGenParticles.add("hPtOmegaGen", "hPtOmegaGen", {HistType::kTH1F, {{ptAxis}}}); + } + + // Defining filters for events (event selection) + // Processed events will be already fulfilling the event selection requirements + Filter eventFilter = (o2::aod::evsel::sel8 == true); + Filter posZFilter = (nabs(o2::aod::collision::posZ) < cutzvertex); + Filter posZFilterMC = (nabs(o2::aod::mccollision::posZ) < cutzvertex); + + // Filters on Cascades + // Cannot filter on dynamic columns + Filter preFilterCascades = (aod::cascdata::dcaV0daughters < cascadesetting_dcav0dau && + nabs(aod::cascdata::dcapostopv) > cascadesetting_dcapostopv && + nabs(aod::cascdata::dcanegtopv) > cascadesetting_dcanegtopv && + nabs(aod::cascdata::dcabachtopv) > cascadesetting_dcabachtopv && + aod::cascdata::dcacascdaughters < cascadesetting_dcacascdau); + + // Defining the type of the daughter tracks + using dauTracks = soa::Join; + + void processRecMC(soa::Filtered>::iterator const& collision, + soa::Filtered> const& Cascades, + dauTracks const&, + aod::CascMCCores const& /*cascmccores*/) + { + // Fill the event counter + rEventSelection.fill(HIST("hVertexZRec"), collision.posZ()); + + // Cascades + for (const auto& casc : Cascades) { + const auto& bachDaughterTrackCasc = casc.bachTrackExtra_as(); + const auto& posDaughterTrackCasc = casc.posTrackExtra_as(); + const auto& negDaughterTrackCasc = casc.negTrackExtra_as(); + + rXi.fill(HIST("hMassXi"), casc.mXi()); + rOmega.fill(HIST("hMassOmega"), casc.mOmega()); + + // Cut on dynamic columns + if (casc.casccosPA(collision.posX(), collision.posY(), collision.posZ()) < cascadesetting_cospa) + continue; + if (casc.v0cosPA(collision.posX(), collision.posY(), collision.posZ()) < cascadesetting_v0cospa) + continue; + if (TMath::Abs(casc.mLambda() - pdgDB->Mass(3122)) > cascadesetting_v0masswindow) + continue; + if (casc.dcav0topv(collision.posX(), collision.posY(), collision.posZ()) < cascadesetting_mindcav0topv) + continue; + if (casc.cascradius() < cascadesetting_cascradius) + continue; + if (casc.v0radius() < cascadesetting_v0radius) + continue; + + // PID selection + if (casc.sign() < 0) { + if (TMath::Abs(posDaughterTrackCasc.tpcNSigmaPr()) > NSigmaTPCProton) { + continue; + } + if (TMath::Abs(negDaughterTrackCasc.tpcNSigmaPi()) > NSigmaTPCPion) { + continue; + } + } else { + if (TMath::Abs(negDaughterTrackCasc.tpcNSigmaPr()) > NSigmaTPCProton) { + continue; + } + if (TMath::Abs(posDaughterTrackCasc.tpcNSigmaPi()) > NSigmaTPCPion) { + continue; + } + } + + // TOF PID check + bool bachXiPassTOFSelection = true; + bool posXiPassTOFSelection = true; + bool negXiPassTOFSelection = true; + bool bachOmegaPassTOFSelection = true; + bool posOmegaPassTOFSelection = true; + bool negOmegaPassTOFSelection = true; + bool atLeastOneTOF = bachDaughterTrackCasc.hasTOF() || posDaughterTrackCasc.hasTOF() || negDaughterTrackCasc.hasTOF(); + if (casc.sign() < 0) { + if (posDaughterTrackCasc.hasTOF()) { + if (TMath::Abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) { + posXiPassTOFSelection = false; + } + if (TMath::Abs(casc.tofNSigmaOmLaPr()) > NSigmaTOFProton) { + posOmegaPassTOFSelection = false; + } + } + if (negDaughterTrackCasc.hasTOF()) { + if (TMath::Abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) { + negXiPassTOFSelection = false; + } + if (TMath::Abs(casc.tofNSigmaOmLaPi()) > NSigmaTOFPion) { + negOmegaPassTOFSelection = false; + } + } + } else { + if (posDaughterTrackCasc.hasTOF()) { + if (TMath::Abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) { + posXiPassTOFSelection = false; + } + if (TMath::Abs(casc.tofNSigmaOmLaPi()) > NSigmaTOFPion) { + posOmegaPassTOFSelection = false; + } + } + if (negDaughterTrackCasc.hasTOF()) { + if (TMath::Abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) { + negXiPassTOFSelection = false; + } + if (TMath::Abs(casc.tofNSigmaOmLaPr()) > NSigmaTOFProton) { + negOmegaPassTOFSelection = false; + } + } + } + + if (bachDaughterTrackCasc.hasTOF()) { + if (TMath::Abs(casc.tofNSigmaXiPi()) > NSigmaTOFPion) { + bachXiPassTOFSelection = false; + } + if (TMath::Abs(casc.tofNSigmaOmKa()) > NSigmaTOFKaon) { + bachOmegaPassTOFSelection = false; + } + } + + // Fill histograms! (if possible) + if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaPi()) < NSigmaTPCPion) { // Xi case + rXi.fill(HIST("hMassXiSelected"), casc.mXi()); + if (atLeastOneTOF && bachXiPassTOFSelection && posXiPassTOFSelection && negXiPassTOFSelection) { + rXi.fill(HIST("hMassXiSelectedWithTOF"), casc.mXi()); + } + + rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rXi.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); + } + if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case + if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega + rOmega.fill(HIST("hMassOmegaSelected"), casc.mOmega()); + if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) { + rOmega.fill(HIST("hMassOmegaSelectedWithTOF"), casc.mOmega()); + } + + rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rOmega.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); + } + } + + // MC truth info + if(!casc.has_cascMCCore()) { + continue; + } + auto cascmccore = casc.cascMCCore_as(); + + // Checking that the cascade is a true Xi + if (TMath::Abs(cascmccore.pdgCode()) == 3312) { + rXi.fill(HIST("hMassXiTrueRec"), casc.mXi()); + rXi.fill(HIST("hPtXiTrueRec"), casc.pt()); + if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) { + rXi.fill(HIST("hMassXiTrueRecWithTOF"), casc.mXi()); + rXi.fill(HIST("hPtXiTrueRecWithTOF"), casc.pt()); + } + } + if (TMath::Abs(cascmccore.pdgCode()) == 3334) { + if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega + rOmega.fill(HIST("hMassOmegaTrueRec"), casc.mOmega()); + rOmega.fill(HIST("hPtOmegaTrueRec"), casc.pt()); + if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) { + rOmega.fill(HIST("hMassOmegaTrueRecWithTOF"), casc.mOmega()); + rOmega.fill(HIST("hPtOmegaTrueRecWithTOF"), casc.pt()); + } + } + } + } + } + + void processGenMC(soa::Filtered::iterator const& mcCollision, + const soa::SmallGroups>& collisions, + const soa::SmallGroups>& cascMC) + { + if (collisions.size() < 1) // to process generated collisions that've been reconstructed at least once + return; + rEventSelection.fill(HIST("hVertexZGen"), mcCollision.posZ()); + + for (const auto& cascmc : cascMC) { + if (TMath::Abs(cascmc.pdgCode()) == 3312) { + rGenParticles.fill(HIST("hPtXiGen"), cascmc.ptMC()); + } + if (TMath::Abs(cascmc.pdgCode()) == 3334) { + rGenParticles.fill(HIST("hPtOmegaGen"), cascmc.ptMC()); + } + } + } + + PROCESS_SWITCH(strangeness_pbpb_tutorial, processRecMC, "Process Run 3 mc, reconstructed", true); + PROCESS_SWITCH(strangeness_pbpb_tutorial, processGenMC, "Process Run 3 mc, generated", true); +}; + +WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) +{ + return WorkflowSpec{ + adaptAnalysisTask(cfgc)}; +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirector.json b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirector.json new file mode 100644 index 00000000000..2c4eeebb7d0 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirector.json @@ -0,0 +1,76 @@ +{ "OutputDirector": { + "debug_mode": true, + "resfile": "AO2D", + "OutputDescriptors": [ + { + "table": "AOD/DAUTRACKTPCPID/0" + }, + { + "table": "AOD/V0COLLREF/0" + }, + { + "table": "AOD/STRACENTS/0" + }, + { + "table": "AOD/CASCCOLLREF/0" + }, + { + "table": "AOD/CASCEXTRA/0" + }, + { + "table": "AOD/STRACOLLISION/0" + }, + { + "table": "AOD/V0EXTRA/0" + }, + { + "table": "AOD/STRATRACKEXTRAS/0" + }, + { + "table": "AOD/CASCTOTRAREFS/0" + }, + { + "table": "AOD/TRATOCASCREFS/0" + }, + { + "table": "AOD/TRACASCCOLLREF/0" + }, + { + "table": "AOD/TRACASCEXTRA/0" + }, + { + "table": "AOD/STRASTAMPS/0" + }, + { + "table": "AOD/STRAFT0CQVS/0" + }, + { + "table": "AOD/DAUTRACKTOFPID/0" + }, + { + "table": "AOD/DAUTRACKEXTRA/1" + }, + { + "table": "AOD/STRAFT0CQVSEv/0" + }, + { + "table": "AOD/STRATPCQVS/0" + }, + { + "table": "AOD/STRAEVSELS/1" + }, + { + "table": "AOD/V0CORE/0" + }, + { + "table": "AOD/CASCBB/0" + }, + { + "table": "AOD/CASCCORE/0" + }, + { + "table": "AOD/TRACASCCORE/0" + } + ], + "ntfmerge": 1 +} } diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirectorMC.json b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirectorMC.json new file mode 100644 index 00000000000..0a6564c1a9d --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirectorMC.json @@ -0,0 +1,136 @@ +{ "OutputDirector": { + "debug_mode": true, + "resfile": "AO2D", + "OutputDescriptors": [ + { + "table": "AOD/DAUTRACKTPCPID/0" + }, + { + "table": "AOD/V0COLLREF/0" + }, + { + "table": "AOD/STRACENTS/0" + }, + { + "table": "AOD/CASCCOLLREF/0" + }, + { + "table": "AOD/CASCEXTRA/0" + }, + { + "table": "AOD/STRACOLLISION/0" + }, + { + "table": "AOD/V0EXTRA/0" + }, + { + "table": "AOD/CASCMCMOTHER/0" + }, + { + "table": "AOD/V0MCMOTHER/0" + }, + { + "table": "AOD/GeXiMinus/0" + }, + { + "table": "AOD/GeXiPlus/0" + }, + { + "table": "AOD/STRAEVSELS/1" + }, + { + "table": "AOD/MOTHERMCPARTS/0" + }, + { + "table": "AOD/CASCTOTRAREFS/0" + }, + { + "table": "AOD/TRATOCASCREFS/0" + }, + { + "table": "AOD/STRATRACKEXTRAS/0" + }, + { + "table": "AOD/CascTOF/0" + }, + { + "table": "AOD/TRACASCCOLLREF/0" + }, + { + "table": "AOD/STRASTAMPS/0" + }, + { + "table": "AOD/V0TOF/0" + }, + { + "table": "AOD/GeAntiLambda/0" + }, + { + "table": "AOD/STRAEVSELS/0" + }, + { + "table": "AOD/MOTHERMCPART/0" + }, + { + "table": "AOD/GeK0Short/0" + }, + { + "table": "AOD/GeLambda/0" + }, + { + "table": "AOD/GeOmegaMinus/0" + }, + { + "table": "AOD/GeOmegaPlus/0" + }, + { + "table": "AOD/STRACOLLLABELS/0" + }, + { + "table": "AOD/STRAMCCOLLISION/0" + }, + { + "table": "AOD/STRAMCCOLLMULTS/0" + }, + { + "table": "AOD/DAUTRACKTOFPID/0" + }, + { + "table": "AOD/DAUTRACKEXTRA/1" + }, + { + "table": "AOD/DAUTRACKMCID/0" + }, + { + "table": "AOD/V0CORE/0" + }, + { + "table": "AOD/CASCBB/0" + }, + { + "table": "AOD/CASCCORE/0" + }, + { + "table": "AOD/TRACASCCORE/0" + }, + { + "table": "AOD/CASCMCCORE/0" + }, + { + "table": "AOD/CASCCOREMCLABEL/0" + }, + { + "table": "AOD/CASCMCCOLLREF/0" + }, + { + "table": "AOD/V0COREMCLABEL/0" + }, + { + "table": "AOD/V0MCCOLLREF/0" + }, + { + "table": "AOD/V0MCCORE/2" + } + ], + "ntfmerge": 1 +} } diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configuration.json b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configuration.json new file mode 100644 index 00000000000..65d38d14f03 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configuration.json @@ -0,0 +1,1639 @@ +{ + "strangederivedbuilder": { + "axisNVertices": { + "values": [ + 10, + -0.5, + 9.5 + ] + }, + "processCollisionsMC": "0", + "precisionNSigmas": "0.1", + "processFT0CQVectorsLF": "1", + "fillRawFT0C": "1", + "fillRawFV0A": "1", + "processFT0CQVectors": "0", + "processFV0AQVectors": "0", + "fillEmptyCollisions": "1", + "fillRawFT0A": "1", + "FT0Camplitude": { + "values": [ + 100, + 0, + 2000 + ] + }, + "processTPCQVectors": "0", + "ZNAamplitude": { + "values": [ + 100, + 0, + 250 + ] + }, + "processTrackExtrasMC": "0", + "axisRawCentrality": { + "values": [ + 0, + 0, + 52.31999969482422, + 75.4000015258789, + 95.71900177001953, + 115.36399841308594, + 135.21099853515625, + 155.79100036621094, + 177.50399780273438, + 200.68600463867188, + 225.64100646972656, + 252.64500427246094, + 281.906005859375, + 313.8500061035156, + 348.302001953125, + 385.73199462890625, + 426.3070068359375, + 470.14599609375, + 517.5549926757812, + 568.8989868164062, + 624.177001953125, + 684.02099609375, + 748.7340087890625, + 818.0780029296875, + 892.5770263671875, + 973.0869750976562, + 1058.7889404296875, + 1150.9150390625, + 1249.3189697265625, + 1354.279052734375, + 1465.97900390625, + 1584.7900390625, + 1710.7779541015625, + 1844.863037109375, + 1985.7459716796875, + 2134.64306640625, + 2291.610107421875, + 2456.943115234375, + 2630.653076171875, + 2813.958984375, + 3006.631103515625, + 3207.22900390625, + 3417.64111328125, + 3637.318115234375, + 3865.784912109375, + 4104.9970703125, + 4354.93798828125, + 4615.7861328125, + 4885.3349609375, + 5166.55517578125, + 5458.02099609375, + 5762.583984375, + 6077.880859375, + 6406.833984375, + 6746.43505859375, + 7097.9580078125, + 7462.5791015625, + 7839.1650390625, + 8231.62890625, + 8635.6396484375, + 9052, + 9484.267578125, + 9929.111328125, + 10389.349609375, + 10862.05859375, + 11352.1845703125, + 11856.8232421875, + 12380.37109375, + 12920.4013671875, + 13476.970703125, + 14053.0869140625, + 14646.1904296875, + 15258.42578125, + 15890.6171875, + 16544.43359375, + 17218.0234375, + 17913.46484375, + 18631.373046875, + 19374.982421875, + 20136.69921875, + 20927.783203125, + 21746.796875, + 22590.880859375, + 23465.734375, + 24372.2734375, + 25314.3515625, + 26290.48828125, + 27300.8984375, + 28347.51171875, + 29436.1328125, + 30567.83984375, + 31746.818359375, + 32982.6640625, + 34276.328125, + 35624.859375, + 37042.58984375, + 38546.609375, + 40139.7421875, + 41837.98046875, + 43679.4296875, + 45892.12890625, + 400000 + ] + }, + "FDDAamplitude": { + "values": [ + 100, + 0, + 2000 + ] + }, + "processPureSimulation": "0", + "processTrackExtrasV0sOnly": "0", + "processReconstructedSimulation": "0", + "axisPt": { + "values": [ + 0, + 0, + 0.10000000149011612, + 0.20000000298023224, + 0.30000001192092896, + 0.4000000059604645, + 0.5, + 0.6000000238418579, + 0.699999988079071, + 0.800000011920929, + 0.8999999761581421, + 1, + 1.100000023841858, + 1.2000000476837158, + 1.2999999523162842, + 1.399999976158142, + 1.5, + 1.600000023841858, + 1.7000000476837158, + 1.7999999523162842, + 1.899999976158142, + 2, + 2.200000047683716, + 2.4000000953674316, + 2.5999999046325684, + 2.799999952316284, + 3, + 3.200000047683716, + 3.4000000953674316, + 3.5999999046325684, + 3.799999952316284, + 4, + 4.400000095367432, + 4.800000190734863, + 5.199999809265137, + 5.599999904632568, + 6, + 6.5, + 7, + 7.5, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 17, + 19, + 21, + 23, + 25, + 30, + 35, + 40, + 50 + ] + }, + "fillRawNTracksForCorrelation": "1", + "FV0Aamplitude": { + "values": [ + 100, + 0, + 2000 + ] + }, + "processTrackExtras": "1", + "processStrangeMothers": "0", + "fillRawNTracksEta1": "1", + "fillRawZDC": "1", + "processTPCQVectorsLF": "1", + "fillTOFInformation": "1", + "FDDCamplitude": { + "values": [ + 100, + 0, + 2000 + ] + }, + "processCascadeInterlinkKF": "0", + "processFT0MQVectors": "0", + "fillRawFDDC": "1", + "enableGeneratedInfo": { + "values": [ + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ] + ] + }, + "processBinnedGenerated": "0", + "fillRawFDDA": "1", + "processCollisions": "1", + "processFT0AQVectors": "0", + "processV0FoundTags": "0", + "FT0Aamplitude": { + "values": [ + 100, + 0, + 2000 + ] + }, + "processCascFoundTags": "0", + "axisCentrality": { + "values": [ + 100, + 0, + 100 + ] + }, + "processCollisionsV0sOnly": "0", + "ZNCamplitude": { + "values": [ + 100, + 0, + 250 + ] + }, + "roundNSigmaVariables": "1", + "qaCentrality": "0", + "processCascadeInterlinkTracked": "1" + }, + "tof-signal": { + "ccdb-timestamp": "-1", + "processRun3": "1", + "processRun2": "0", + "distanceForGoodMatchLowMult": "999", + "multThreshold": "0", + "distanceForGoodMatch": "999", + "timeShiftCCDBPath": "", + "ccdb-url": "http://alice-ccdb.cern.ch", + "enableQaHistograms": "0" + }, + "tof-event-time": { + "parametrizationPath": "TOF/Calib/Params", + "sel8TOFEvTime": "0", + "maxNtracksInSet": "10", + "fatalOnPassNotAvailable": "1", + "maxMomentum": "2", + "paramFileName": "", + "processOnlyFT0": "0", + "enableTimeDependentResponse": "0", + "processRun2": "0", + "passName": "", + "inheritFromBaseTask": "1", + "processNoFT0": "0", + "minMomentum": "0.5", + "ccdb-timestamp": "-1", + "maxEvTimeTOF": "100000", + "processFT0": "1", + "ccdb-url": "", + "loadResponseFromCCDB": "0" + }, + "bc-selection-task": { + "ITSROFrameStartBorderMargin": "-1", + "triggerBcShift": "999", + "TimeFrameStartBorderMargin": "-1", + "processRun3": "1", + "processRun2": "0", + "TimeFrameEndBorderMargin": "-1", + "ITSROFrameEndBorderMargin": "-1" + }, + "event-selection-task": { + "TimeRangeVetoOnCollStandard": "10", + "processRun3": "1", + "TimeIntervalForOccupancyCalculationMin": "-40", + "processRun2": "0", + "TimeIntervalForOccupancyCalculationMax": "100", + "ReferenceOccupanciesInTimeBins": { + "values": [ + 3000, + 1400, + 750, + 1000, + 1750, + 4000 + ] + }, + "syst": "PbPb", + "isMC": "0", + "maxDiffZvtxFT0vsPV": "1", + "UseWeightsForOccupancyEstimator": "1", + "muonSelection": "0", + "TimeBinsForOccupancyCalculation": { + "values": [ + -40, + -20, + 0, + 25, + 50, + 75, + 100 + ] + }, + "TimeRangeVetoOnCollNarrow": "4" + }, + "lambdakzero-initializer": {}, + "lambdakzero-builder": { + "maximumPt": "1000", + "axisConfigurations.axisTopoVarDCAToPV": { + "values": [ + 200, + -1, + 1 + ] + }, + "downscalingOptions.downscale_sqrts": "13.6", + "downscalingOptions.downscale_factor1Pt": "1", + "axisConfigurations.axisDeltaDistanceRadii": { + "values": [ + 500, + -50, + 50 + ] + }, + "mlConfigurations.calculateK0ShortScores": "0", + "processRun3": "1", + "processRun2": "0", + "v0radius": "1.2", + "massWindowWithTPCPID": "0", + "processFindableRun3": "0", + "mlConfigurations.thresholdK0Short": "-1", + "downscalingOptions.downscale_adaptive": "0", + "dcaFitterConfigurations.d_UseWeightedPCA": "0", + "axisConfigurations.axisTopoVarDCAV0ToPV": { + "values": [ + 200, + 0, + 5 + ] + }, + "d_UseAutodetectMode": "0", + "qaConfigurations.dQAMaxPt": "5", + "mlConfigurations.modelPathCCDB": "", + "axisConfigurations.axisDCACHI2": { + "values": [ + 500, + 0, + 50 + ] + }, + "massWindownumberOfSigmas": "25", + "downscalingOptions.downscale_triggerMaskSelection": "0", + "createV0DauCovMats": "-1", + "mlConfigurations.localModelPathK0Short": "KZeroShort_BDTModel.onnx", + "qaConfigurations.dQAK0ShortMassWindow": "0.005", + "mlConfigurations.thresholdGamma": "-1", + "massCutLambda": { + "values": [ + [ + 0.0011751799611374736, + 0.00012409899500198662, + 0.005479369778186083, + 0.30800899863243103 + ] + ] + }, + "axisConfigurations.axisTopoVarV0Radius": { + "values": [ + 500, + 0, + 100 + ] + }, + "axisConfigurations.axisDCAXY": { + "values": [ + 500, + -50, + 50 + ] + }, + "dcaFitterConfigurations.d_UseAbsDCA": "1", + "dcaFitterConfigurations.d_maxDZIni": "1e+09", + "qaConfigurations.d_QA_checkMC": "1", + "dcaFitterConfigurations.d_bz": "-999", + "mlConfigurations.loadModelsFromCCDB": "0", + "downscalingOptions.downscale_factorUniform": "0.001", + "mlConfigurations.calculateAntiLambdaScores": "0", + "qaConfigurations.dQALambdaMassWindow": "0.005", + "dcapostopv": "0.05", + "mlConfigurations.calculateLambdaScores": "0", + "ccdbConfigurations.ccdb-url": "http://alice-ccdb.cern.ch", + "qaConfigurations.dQANBinsRadius": "500", + "mlConfigurations.localModelPathGamma": "Gamma_BDTModel.onnx", + "qaConfigurations.d_doTrackQA": "0", + "mlConfigurations.thresholdLambda": "-1", + "ccdbConfigurations.grpPath": "GLO/GRP/GRP", + "ccdbConfigurations.lutPath": "GLO/Param/MatLUT", + "lifetimecut": { + "values": [ + [ + 60, + 20 + ] + ] + }, + "qaConfigurations.d_doQA": "0", + "dcaFitterConfigurations.d_maxDXYIni": "4", + "createV0PosAtIUs": "0", + "precisionDCAs": "0.01", + "mlConfigurations.timestampCCDB": "-1", + "dcav0dau": "1", + "storePhotonCandidates": "1", + "axisConfigurations.axisPtQA": { + "values": [ + 0, + 0, + 0.10000000149011612, + 0.20000000298023224, + 0.30000001192092896, + 0.4000000059604645, + 0.5, + 0.6000000238418579, + 0.699999988079071, + 0.800000011920929, + 0.8999999761581421, + 1, + 1.100000023841858, + 1.2000000476837158, + 1.2999999523162842, + 1.399999976158142, + 1.5, + 1.600000023841858, + 1.7000000476837158, + 1.7999999523162842, + 1.899999976158142, + 2, + 2.200000047683716, + 2.4000000953674316, + 2.5999999046325684, + 2.799999952316284, + 3, + 3.200000047683716, + 3.4000000953674316, + 3.5999999046325684, + 3.799999952316284, + 4, + 4.400000095367432, + 4.800000190734863, + 5.199999809265137, + 5.599999904632568, + 6, + 6.5, + 7, + 7.5, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 17, + 19, + 21, + 23, + 25, + 30, + 35, + 40, + 50 + ] + }, + "ccdbConfigurations.grpmagPath": "GLO/Config/GRPMagField", + "tpcrefit": "0", + "v0cospa": "0.9", + "qaConfigurations.dQANBinsPtCoarse": "10", + "axisConfigurations.axisTopoVarDCAV0Dau": { + "values": [ + 200, + 0, + 2 + ] + }, + "dcaFitterConfigurations.d_UseCollinearFit": "0", + "qaConfigurations.d_QA_checkdEdx": "0", + "axisConfigurations.axisTopoVarRAP": { + "values": [ + 50, + 0, + 1 + ] + }, + "qaConfigurations.dQAGammaMassWindow": "0.05", + "downscalingOptions.downscale_factorPt": "1", + "roundDCAVariables": "0", + "axisConfigurations.axisPositionGuess": { + "values": [ + 240, + 0, + 120 + ] + }, + "mlConfigurations.calculateGammaScores": "0", + "massWindowSafetyMargin": "0.001", + "mlConfigurations.enableOptimizations": "0", + "qaConfigurations.dQANBinsMass": "400", + "dcaFitterConfigurations.rejDiffCollTracks": "0", + "axisConfigurations.axisTopoVarPointingAngle": { + "values": [ + 50, + 0, + 1 + ] + }, + "maxDaughterEta": "0.8", + "dcanegtopv": "0.05", + "ccdbConfigurations.geoPath": "GLO/Config/GeometryAligned", + "axisConfigurations.axisX": { + "values": [ + 200, + 0, + 200 + ] + }, + "axisConfigurations.axisRadius": { + "values": [ + 500, + 0, + 50 + ] + }, + "createV0PosAtDCAs": "1", + "mlConfigurations.localModelPathLambda": "Lambda_BDTModel.onnx", + "dcaFitterConfigurations.useMatCorrType": "2", + "mlConfigurations.thresholdAntiLambda": "-1", + "massCutK0": { + "values": [ + [ + 0.0028188200667500496, + 0.0011405700352042913, + 0.0017213800456374884, + 0.5002620220184326 + ] + ] + }, + "ccdbConfigurations.mVtxPath": "GLO/Calib/MeanVertex", + "createV0CovMats": "-1", + "downscalingOptions.downscaleFactor": "2", + "downscalingOptions.downscale_mass": "0.139", + "mlConfigurations.localModelPathAntiLambda": "AntiLambda_BDTModel.onnx", + "minimumPt": "0" + }, + "lambdakzero-v0-data-link-builder": { + "processFound": "1", + "processFindable": "0" + }, + "lambdakzero-preselector": { + "dIfMCselectPhysicalPrimary": "1", + "ddEdxPreSelectAntiLambda": "1", + "ddEdxPreSelectLambda": "1", + "dIfMCgenerateLambda": "1", + "dTPCNCrossedRows": "70", + "ddEdxPreSelectHypertriton": "0", + "dIfMCgenerateK0Short": "0", + "processBuildFindable": "0", + "ddEdxPreSelectAntiHypertriton": "0", + "processSkipV0sNotUsedInCascades": "0", + "forceITSOnlyMesons": "0", + "dIfMCgenerateHypertriton": "0", + "minITSCluITSOnly": "6", + "dIfMCselectV0MotherPDG": "0", + "dIfMCgenerateAntiHypertriton": "0", + "dIfMCgenerateAntiLambda": "1", + "dPreselectOnlyBaryons": "1", + "processSkipV0sNotUsedInTrackedCascades": "0", + "dIfMCgenerateGamma": "0", + "ddEdxPreSelectGamma": "1", + "processBuildAll": "0", + "processBuildMCAssociated": "0", + "ddEdxPreSelectionWindow": "10", + "processBuildValiddEdx": "1", + "ddEdxPreSelectK0Short": "1", + "processBuildValiddEdxMCAssociated": "0" + }, + "cascade-builder": { + "lutPath": "GLO/Param/MatLUT", + "axisConfigurations.axisTopoVarDCAToPV": { + "values": [ + 200, + -1, + 1 + ] + }, + "d_QA_checkMC": "1", + "casccospa": "0.9", + "processRun3": "0", + "processRun2": "0", + "qaConfigurations.dQAMaxCluSize": "10", + "kfDoDCAFitterPreMinimCasc": "1", + "useMatCorrTypeCasc": "2", + "processFindableRun3": "0", + "qaConfigurations.dQANBinsChi2": "200", + "axisConfigurations.axisTopoVarDCAV0ToPV": { + "values": [ + 200, + 0, + 5 + ] + }, + "d_UseAutodetectMode": "0", + "d_doStraTrackQA": "0", + "qaConfigurations.dQAMaxPt": "5", + "processRun3withKFParticle": "0", + "qaConfigurations.dQAMaxChi2": "20", + "qaConfigurations.dQAOmegaMassWindow": "0.005", + "mlConfigurations.modelPathCCDB": "", + "cas_cospaParameter": "0.341715", + "d_GenerateOnlyTrackedCascades": "0", + "createCascCovMats": "-1", + "calculateBachBaryonVars": "1", + "d_UseWeightedPCA": "0", + "rejDiffCollTracks": "0", + "qaConfigurations.dQANBinsDCAxy": "200", + "dcabachtopv": "0.05", + "mlConfigurations.calculateXiPlusScores": "0", + "dcacascdau": "1", + "axisConfigurations.axisTopoVarV0Radius": { + "values": [ + 500, + 0, + 100 + ] + }, + "geoPath": "GLO/Config/GeometryAligned", + "mlConfigurations.loadModelsFromCCDB": "0", + "axisPtQA": { + "values": [ + 0, + 0, + 0.10000000149011612, + 0.20000000298023224, + 0.30000001192092896, + 0.4000000059604645, + 0.5, + 0.6000000238418579, + 0.699999988079071, + 0.800000011920929, + 0.8999999761581421, + 1, + 1.100000023841858, + 1.2000000476837158, + 1.2999999523162842, + 1.399999976158142, + 1.5, + 1.600000023841858, + 1.7000000476837158, + 1.7999999523162842, + 1.899999976158142, + 2, + 2.200000047683716, + 2.4000000953674316, + 2.5999999046325684, + 2.799999952316284, + 3, + 3.200000047683716, + 3.4000000953674316, + 3.5999999046325684, + 3.799999952316284, + 4, + 4.400000095367432, + 4.800000190734863, + 5.199999809265137, + 5.599999904632568, + 6, + 6.5, + 7, + 7.5, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 17, + 19, + 21, + 23, + 25, + 30, + 35, + 40, + 50 + ] + }, + "mlConfigurations.calculateXiMinusScores": "0", + "mlConfigurations.calculateOmegaPlusScores": "0", + "createCascTrackXs": "-1", + "qaConfigurations.dQANBinsRadius": "500", + "qaConfigurations.dQAXiMassWindow": "0.005", + "mlConfigurations.localModelPathOmegaMinus": "OmegaMinus_BDTModel.onnx", + "mlConfigurations.thresholdOmegaMinus": "-1", + "dcaZCascToPV": "1e+06", + "d_bz": "-999", + "ccdb-url": "http://alice-ccdb.cern.ch", + "qaConfigurations.d_doQA": "0", + "kfConstructMethod": "2", + "kfUseCascadeMassConstraint": "0", + "precisionDCAs": "0.01", + "mlConfigurations.timestampCCDB": "-1", + "kfDoDCAFitterPreMinimV0": "1", + "mlConfigurations.localModelPathOmegaPlus": "OmegaPlus_BDTModel.onnx", + "d_UseAbsDCA": "1", + "tpcrefit": "0", + "grpPath": "GLO/GRP/GRP", + "mlConfigurations.localModelPathXiPlus": "XiPlus_BDTModel.onnx", + "cascradius": "0.9", + "qaConfigurations.dQANBinsPtCoarse": "10", + "axisConfigurations.axisTopoVarDCAV0Dau": { + "values": [ + 200, + 0, + 2 + ] + }, + "mlConfigurations.calculateOmegaMinusScores": "0", + "useMatCorrType": "2", + "axisConfigurations.axisTopoVarRAP": { + "values": [ + 50, + 0, + 1 + ] + }, + "mlConfigurations.thresholdOmegaPlus": "-1", + "d_QA_checkdEdx": "0", + "kfUseV0MassConstraint": "1", + "roundDCAVariables": "0", + "mlConfigurations.enableOptimizations": "0", + "dcaXYCascToPV": "1e+06", + "qaConfigurations.dQANBinsMass": "400", + "kfTuneForOmega": "0", + "axisConfigurations.axisTopoVarPointingAngle": { + "values": [ + 50, + 0, + 1 + ] + }, + "maxDaughterEta": "0.8", + "mlConfigurations.localModelPathXiMinus": "XiMinus_BDTModel.onnx", + "mlConfigurations.thresholdXiMinus": "-1", + "lambdaMassWindow": "0.01", + "d_doPtDep_CosPaCut": "0", + "qaConfigurations.dQANBinsCluSize": "200", + "processRun3withStrangenessTracking": "1", + "qaConfigurations.dQAMaxDCA": "1", + "d_doTrackQA": "0", + "grpmagPath": "GLO/Config/GRPMagField", + "mlConfigurations.thresholdXiPlus": "-1" + }, + "cascade-preselector": { + "dPreselectOnlyBaryons": "1", + "dIfMCselectPhysicalPrimary": "1", + "dIfMCgenerateOmegaPlus": "1", + "ddEdxPreSelectXiMinus": "1", + "dTPCNCrossedRows": "70", + "processSkipCascadesNotUsedInTrackedCascades": "0", + "processBuildAll": "0", + "processBuildFindable": "0", + "dIfMCgenerateXiPlus": "1", + "processBuildMCAssociated": "0", + "dIfMCgenerateXiMinus": "1", + "dIfMCgenerateOmegaMinus": "1", + "ddEdxPreSelectionWindow": "10", + "ddEdxPreSelectOmegaPlus": "1", + "doQA": "0", + "ddEdxPreSelectXiPlus": "1", + "dIfMCselectV0MotherPDG": "0", + "processBuildValiddEdx": "1", + "ddEdxPreSelectOmegaMinus": "1", + "processBuildValiddEdxMCAssociated": "0" + }, + "cascade-link-builder": { + "processFound": "1", + "processFindable": "0" + }, + "kfcascade-link-builder": {}, + "cascade-initializer": {}, + "tracascade-link-builder": {}, + "multiplicity-table": { + "processRun3": "1", + "processRun2": "0", + "enabledTables": { + "values": [ + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + 1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ] + ] + }, + "fractionOfEvents": "2", + "min_pt_globaltrack": "0.15", + "min_ncluster_its_globaltrack": "5", + "max_pt_globaltrack": "1e+10", + "processGlobalTrackingCounters": "1", + "min_ncluster_itsib_globaltrack": "1", + "doVertexZeq": "1", + "produceHistograms": "0", + "reconstructionPass": "", + "ccdbpath": "Centrality/Calibration", + "ccdburl": "http://alice-ccdb.cern.ch", + "processMC": "0" + }, + "centrality-table": { + "produceHistograms": "0", + "processRun3": "1", + "genname": "", + "reconstructionPass": "", + "processRun2": "0", + "ccdbpath": "Centrality/Estimators", + "processRun3FT0": "0", + "ccdburl": "http://alice-ccdb.cern.ch", + "enabledTables": { + "values": [ + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + 1 + ], + [ + -1 + ], + [ + -1 + ] + ] + }, + "doNotCrashOnNull": "1", + "embedINELgtZEROselection": "0", + "binsPercentile": { + "values": [ + 0, + 0, + 0.001, + 0.002, + 0.003, + 0.004, + 0.005, + 0.006, + 0.007, + 0.008, + 0.009, + 0.01, + 0.011, + 0.012, + 0.013, + 0.014, + 0.015, + 0.016, + 0.017, + 0.018, + 0.019, + 0.02, + 0.021, + 0.022, + 0.023, + 0.024, + 0.025, + 0.026, + 0.027, + 0.028, + 0.029, + 0.03, + 0.031, + 0.032, + 0.033, + 0.034, + 0.035, + 0.036, + 0.037, + 0.038, + 0.039, + 0.04, + 0.041, + 0.042, + 0.043, + 0.044, + 0.045, + 0.046, + 0.047, + 0.048, + 0.049, + 0.05, + 0.051, + 0.052, + 0.053, + 0.054, + 0.055, + 0.056, + 0.057, + 0.058, + 0.059, + 0.06, + 0.061, + 0.062, + 0.063, + 0.064, + 0.065, + 0.066, + 0.067, + 0.068, + 0.069, + 0.07, + 0.071, + 0.072, + 0.073, + 0.074, + 0.075, + 0.076, + 0.077, + 0.078, + 0.079, + 0.08, + 0.081, + 0.082, + 0.083, + 0.084, + 0.085, + 0.086, + 0.087, + 0.088, + 0.089, + 0.09, + 0.091, + 0.092, + 0.093, + 0.094, + 0.095, + 0.096, + 0.097, + 0.098, + 0.099, + 0.1, + 0.11, + 0.12, + 0.13, + 0.14, + 0.15, + 0.16, + 0.17, + 0.18, + 0.19, + 0.2, + 0.21, + 0.22, + 0.23, + 0.24, + 0.25, + 0.26, + 0.27, + 0.28, + 0.29, + 0.3, + 0.31, + 0.32, + 0.33, + 0.34, + 0.35, + 0.36, + 0.37, + 0.38, + 0.39, + 0.4, + 0.41, + 0.42, + 0.43, + 0.44, + 0.45, + 0.46, + 0.47, + 0.48, + 0.49, + 0.5, + 0.51, + 0.52, + 0.53, + 0.54, + 0.55, + 0.56, + 0.57, + 0.58, + 0.59, + 0.6, + 0.61, + 0.62, + 0.63, + 0.64, + 0.65, + 0.66, + 0.67, + 0.68, + 0.69, + 0.7, + 0.71, + 0.72, + 0.73, + 0.74, + 0.75, + 0.76, + 0.77, + 0.78, + 0.79, + 0.8, + 0.81, + 0.82, + 0.83, + 0.84, + 0.85, + 0.86, + 0.87, + 0.88, + 0.89, + 0.9, + 0.91, + 0.92, + 0.93, + 0.94, + 0.95, + 0.96, + 0.97, + 0.98, + 0.99, + 1, + 1.1, + 1.2, + 1.3, + 1.4, + 1.5, + 1.6, + 1.7, + 1.8, + 1.9, + 2, + 2.1, + 2.2, + 2.3, + 2.4, + 2.5, + 2.6, + 2.7, + 2.8, + 2.9, + 3, + 3.1, + 3.2, + 3.3, + 3.4, + 3.5, + 3.6, + 3.7, + 3.8, + 3.9, + 4, + 4.1, + 4.2, + 4.3, + 4.4, + 4.5, + 4.6, + 4.7, + 4.8, + 4.9, + 5, + 5.1, + 5.2, + 5.3, + 5.4, + 5.5, + 5.6, + 5.7, + 5.8, + 5.9, + 6, + 6.1, + 6.2, + 6.3, + 6.4, + 6.5, + 6.6, + 6.7, + 6.8, + 6.9, + 7, + 7.1, + 7.2, + 7.3, + 7.4, + 7.5, + 7.6, + 7.7, + 7.8, + 7.9, + 8, + 8.1, + 8.2, + 8.3, + 8.4, + 8.5, + 8.6, + 8.7, + 8.8, + 8.9, + 9, + 9.1, + 9.2, + 9.3, + 9.4, + 9.5, + 9.6, + 9.7, + 9.8, + 9.9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100 + ] + } + }, + "epvector": { + "useGainCallib": "1", + "ConfGainPath": "Users/s/skundu/My/Object/PbPbpass3TPCA11/gaincallib_all2", + "ccdb-no-later-than": "1712019074832", + "cfgCutPTMax": "3", + "useShift": "1", + "cfgCutVertex": "10", + "cfgITScluster": "5", + "cfgCutDCAxy": "0.1", + "cfgMinEta": "0.1", + "cfgURL": "http://alice-ccdb.cern.ch", + "ConfShift": "Users/s/skundu/My/Object/PbPbpass3TPCA11/shift", + "cfgCutPT": "0.2", + "cfgCutDCAz": "0.1", + "useRecentere": "1", + "cfgCutCentrality": "80", + "ConfRecentere": "Users/s/skundu/My/Object/PbPbpass3TPCA11/recenter", + "configAxisCentrality": { + "values": [ + 80, + 0, + 80 + ] + }, + "cfgCutEta": "0.8" + }, + "centrality-qa": { + "processRun3_FT0M": "0", + "processRun3_NTPV": "0", + "INELgtZERO": "1", + "processRun2PP": "0", + "processRun3_FT0A": "0", + "nBins": "1050", + "processRun2PbPb": "0", + "processRun3_FV0A": "0", + "processRun3_FT0C": "1", + "processRun3_FDDM": "0", + "processRun2PPb": "0" + }, + "sgcandproducer": { + "SGCuts.mWithFwdTracks": "0", + "SGCuts.mMinEta": "-0.9", + "SGCuts.mMinRgtrwTOF": "0", + "noITSROFrameBorder": "1", + "rejectAtTFBoundary": "1", + "SGCuts.mNDtcoll": "1", + "SGCuts.mITSOnlyTracks": "1", + "SGCuts.mMaxEta": "0.9", + "SGCuts.mMaxFITtime": "34", + "IsGoodVertex": "0", + "SGCuts.mGlobalTracksOnly": "0", + "SGCuts.mMaxVertexPosz": "1000", + "SGCuts.mFITAmpLimits": { + "values": [ + -1, + 150, + 50, + -1, + -1 + ] + }, + "SGCuts.mMinPt": "0.1", + "SGCuts.mMaxNTracks": "100", + "noSameBunchPileUp": "1", + "saveAllTracks": "1", + "SGCuts.mMinNTracks": "2", + "SGCuts.mPidHypo": "211", + "SGCuts.mMinNBCs": "2", + "SGCuts.mMinVertexPosz": "-1000", + "SGCuts.mMaxPt": "1000", + "savenonPVCITSOnlyTracks": "0", + "ITSTPCVertex": "1" + }, + "timestamp-task": { + "rct-path": "RCT/Info/RunInformation", + "orbit-reset-path": "CTP/Calib/OrbitReset", + "ccdb-url": "http://alice-ccdb.cern.ch", + "verbose": "0", + "isRun2MC": "-1" + }, + "ft0-corrected-table": {}, + "track-propagation": { + "lutPath": "GLO/Param/MatLUT", + "processCovarianceMc": "0", + "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.", + "geoPath": "GLO/Config/GeometryAligned", + "minPropagationDistance": "5", + "axisPtQA": { + "values": [ + 0, + 0, + 0.10000000149011612, + 0.20000000298023224, + 0.30000001192092896, + 0.4000000059604645, + 0.5, + 0.6000000238418579, + 0.699999988079071, + 0.800000011920929, + 0.8999999761581421, + 1, + 1.100000023841858, + 1.2000000476837158, + 1.2999999523162842, + 1.399999976158142, + 1.5, + 1.600000023841858, + 1.7000000476837158, + 1.7999999523162842, + 1.899999976158142, + 2, + 2.200000047683716, + 2.4000000953674316, + 2.5999999046325684, + 2.799999952316284, + 3, + 3.200000047683716, + 3.4000000953674316, + 3.5999999046325684, + 3.799999952316284, + 4, + 4.400000095367432, + 4.800000190734863, + 5.199999809265137, + 5.599999904632568, + 6, + 6.5, + 7, + 7.5, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 17, + 19, + 21, + 23, + 25, + 30, + 35, + 40, + 50 + ] + }, + "useTrackTuner": "0", + "processCovarianceWithPID": "0", + "fillTrackTunerTable": "0", + "mVtxPath": "GLO/Calib/MeanVertex", + "grpmagPath": "GLO/Config/GRPMagField", + "ccdb-url": "http://alice-ccdb.cern.ch", + "processStandard": "1", + "processCovariance": "0", + "processStandardWithPID": "0" + }, + "pid-multiplicity": { + "processIU": "1", + "processStandard": "0" + }, + "tpc-pid": { + "param-file": "", + "pid-tiny-ka": "-1", + "useNetworkDe": "1", + "useNetworkPr": "1", + "useNetworkHe": "1", + "networkPathCCDB": "Analysis/PID/TPC/ML", + "useNetworkTr": "1", + "useNetworkPi": "1", + "enableTuneOnDataTable": "-1", + "pid-tiny-mu": "-1", + "pid-tiny-el": "-1", + "useNetworkKa": "1", + "pid-tiny-al": "-1", + "pid-full-ka": "-1", + "networkSetNumThreads": "0", + "skipTPCOnly": "1", + "recoPass": "", + "processStandard": "1", + "pid-full-mu": "-1", + "useNetworkEl": "1", + "pid-full-al": "-1", + "useNetworkMu": "1", + "networkBetaGammaCutoff": "0.45", + "pid-full-el": "-1", + "pid-tiny-pi": "-1", + "pid-tiny-tr": "-1", + "pid-tiny-he": "-1", + "pid-tiny-pr": "-1", + "ccdbPath": "Analysis/PID/TPC/Response", + "pid-tiny-de": "-1", + "pid-full-pi": "-1", + "autofetchNetworks": "1", + "ccdb-timestamp": "0", + "enableNetworkOptimizations": "1", + "processMcTuneOnData": "0", + "pid-full-de": "-1", + "pid-full-pr": "-1", + "ccdb-url": "http://alice-ccdb.cern.ch", + "useNetworkCorrection": "0", + "pid-full-he": "-1", + "pid-full-tr": "-1", + "useNetworkAl": "1", + "networkPathLocally": "network.onnx" + }, + "track-selection": { + "ptMax": "1e+10", + "produceTable": "-1", + "etaMin": "-0.8", + "isRun3": "1", + "itsMatching": "1", + "etaMax": "0.8", + "compatibilityIU": "0", + "dcaSetup": "0", + "ptMin": "0.1", + "produceFBextendedTable": "-1" + }, + "tof-pid-full": { + "parametrizationPath": "", + "fatalOnPassNotAvailable": "1", + "paramFileName": "", + "enableTimeDependentResponse": "0", + "processWSlice": "1", + "processWoSlice": "0", + "passName": "", + "inheritFromBaseTask": "1", + "timeShiftCCDBPath": "", + "enableParticle": { + "values": [ + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ] + ] + }, + "ccdb-timestamp": "-1", + "ccdb-url": "", + "loadResponseFromCCDB": "0" + }, + "tof-pid-beta": { + "enableTOFParams": "0", + "parametrizationPath": "TOF/Calib/Params", + "ccdb-timestamp": "-1", + "fatalOnPassNotAvailable": "1", + "paramFileName": "", + "tof-expreso": "80", + "passName": "", + "ccdb-url": "http://alice-ccdb.cern.ch" + } +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configurationMC.json b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configurationMC.json new file mode 100644 index 00000000000..3afddf3b702 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configurationMC.json @@ -0,0 +1,1671 @@ +{ + "strangederivedbuilder": { + "axisNVertices": { + "values": [ + 10, + -0.5, + 9.5 + ] + }, + "processCollisionsMC": "1", + "precisionNSigmas": "0.1", + "processFT0CQVectorsLF": "0", + "fillRawFT0C": "1", + "fillRawFV0A": "1", + "processFT0CQVectors": "0", + "processFV0AQVectors": "0", + "fillEmptyCollisions": "1", + "fillRawFT0A": "1", + "FT0Camplitude": { + "values": [ + 100, + 0, + 2000 + ] + }, + "processTPCQVectors": "0", + "ZNAamplitude": { + "values": [ + 100, + 0, + 250 + ] + }, + "processTrackExtrasMC": "1", + "axisRawCentrality": { + "values": [ + 0, + 0, + 52.31999969482422, + 75.4000015258789, + 95.71900177001953, + 115.36399841308594, + 135.21099853515625, + 155.79100036621094, + 177.50399780273438, + 200.68600463867188, + 225.64100646972656, + 252.64500427246094, + 281.906005859375, + 313.8500061035156, + 348.302001953125, + 385.73199462890625, + 426.3070068359375, + 470.14599609375, + 517.5549926757812, + 568.8989868164062, + 624.177001953125, + 684.02099609375, + 748.7340087890625, + 818.0780029296875, + 892.5770263671875, + 973.0869750976562, + 1058.7889404296875, + 1150.9150390625, + 1249.3189697265625, + 1354.279052734375, + 1465.97900390625, + 1584.7900390625, + 1710.7779541015625, + 1844.863037109375, + 1985.7459716796875, + 2134.64306640625, + 2291.610107421875, + 2456.943115234375, + 2630.653076171875, + 2813.958984375, + 3006.631103515625, + 3207.22900390625, + 3417.64111328125, + 3637.318115234375, + 3865.784912109375, + 4104.9970703125, + 4354.93798828125, + 4615.7861328125, + 4885.3349609375, + 5166.55517578125, + 5458.02099609375, + 5762.583984375, + 6077.880859375, + 6406.833984375, + 6746.43505859375, + 7097.9580078125, + 7462.5791015625, + 7839.1650390625, + 8231.62890625, + 8635.6396484375, + 9052, + 9484.267578125, + 9929.111328125, + 10389.349609375, + 10862.05859375, + 11352.1845703125, + 11856.8232421875, + 12380.37109375, + 12920.4013671875, + 13476.970703125, + 14053.0869140625, + 14646.1904296875, + 15258.42578125, + 15890.6171875, + 16544.43359375, + 17218.0234375, + 17913.46484375, + 18631.373046875, + 19374.982421875, + 20136.69921875, + 20927.783203125, + 21746.796875, + 22590.880859375, + 23465.734375, + 24372.2734375, + 25314.3515625, + 26290.48828125, + 27300.8984375, + 28347.51171875, + 29436.1328125, + 30567.83984375, + 31746.818359375, + 32982.6640625, + 34276.328125, + 35624.859375, + 37042.58984375, + 38546.609375, + 40139.7421875, + 41837.98046875, + 43679.4296875, + 45892.12890625, + 400000 + ] + }, + "FDDAamplitude": { + "values": [ + 100, + 0, + 2000 + ] + }, + "processPureSimulation": "1", + "processTrackExtrasV0sOnly": "0", + "processReconstructedSimulation": "1", + "axisPt": { + "values": [ + 0, + 0, + 0.10000000149011612, + 0.20000000298023224, + 0.30000001192092896, + 0.4000000059604645, + 0.5, + 0.6000000238418579, + 0.699999988079071, + 0.800000011920929, + 0.8999999761581421, + 1, + 1.100000023841858, + 1.2000000476837158, + 1.2999999523162842, + 1.399999976158142, + 1.5, + 1.600000023841858, + 1.7000000476837158, + 1.7999999523162842, + 1.899999976158142, + 2, + 2.200000047683716, + 2.4000000953674316, + 2.5999999046325684, + 2.799999952316284, + 3, + 3.200000047683716, + 3.4000000953674316, + 3.5999999046325684, + 3.799999952316284, + 4, + 4.400000095367432, + 4.800000190734863, + 5.199999809265137, + 5.599999904632568, + 6, + 6.5, + 7, + 7.5, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 17, + 19, + 21, + 23, + 25, + 30, + 35, + 40, + 50 + ] + }, + "fillRawNTracksForCorrelation": "1", + "FV0Aamplitude": { + "values": [ + 100, + 0, + 2000 + ] + }, + "processTrackExtras": "0", + "processStrangeMothers": "1", + "fillRawNTracksEta1": "1", + "fillRawZDC": "1", + "processTPCQVectorsLF": "0", + "fillTOFInformation": "1", + "FDDCamplitude": { + "values": [ + 100, + 0, + 2000 + ] + }, + "processCascadeInterlinkKF": "0", + "processFT0MQVectors": "0", + "fillRawFDDC": "0", + "enableGeneratedInfo": { + "values": [ + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + 1 + ] + ] + }, + "processBinnedGenerated": "1", + "fillRawFDDA": "0", + "processCollisions": "0", + "processFT0AQVectors": "0", + "processV0FoundTags": "0", + "FT0Aamplitude": { + "values": [ + 100, + 0, + 2000 + ] + }, + "processCascFoundTags": "0", + "axisCentrality": { + "values": [ + 0, + 0, + 1, + 2, + 3, + 4, + 5, + 10, + 20, + 30, + 40, + 50, + 60, + 70, + 72, + 74, + 76, + 78, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100 + ] + }, + "processCollisionsV0sOnly": "0", + "ZNCamplitude": { + "values": [ + 100, + 0, + 250 + ] + }, + "roundNSigmaVariables": "0", + "qaCentrality": "0", + "processCascadeInterlinkTracked": "0" + }, + "tof-signal": { + "ccdb-timestamp": "-1", + "processRun3": "1", + "processRun2": "0", + "distanceForGoodMatchLowMult": "999", + "multThreshold": "0", + "distanceForGoodMatch": "999", + "timeShiftCCDBPath": "", + "ccdb-url": "http://alice-ccdb.cern.ch", + "enableQaHistograms": "0" + }, + "tof-event-time": { + "parametrizationPath": "TOF/Calib/Params", + "sel8TOFEvTime": "0", + "maxNtracksInSet": "10", + "fatalOnPassNotAvailable": "1", + "maxMomentum": "2", + "paramFileName": "", + "processOnlyFT0": "0", + "enableTimeDependentResponse": "0", + "processRun2": "0", + "passName": "", + "inheritFromBaseTask": "1", + "processNoFT0": "0", + "minMomentum": "0.5", + "ccdb-timestamp": "-1", + "maxEvTimeTOF": "100000", + "processFT0": "1", + "ccdb-url": "", + "loadResponseFromCCDB": "0" + }, + "mc-collision-extra": { + "poiEtaWindow": "0.8", + "processNoCentrality": "0", + "pdgCodeOfInterest": "3312", + "processWithCentrality": "1", + "processMcContexts": "0", + "pdgCodeAbsolute": "1" + }, + "lambdakzero-initializer": {}, + "lambdakzero-builder": { + "maximumPt": "1000", + "axisConfigurations.axisTopoVarDCAToPV": { + "values": [ + 200, + -1, + 1 + ] + }, + "downscalingOptions.downscale_sqrts": "13.6", + "downscalingOptions.downscale_factor1Pt": "1", + "axisConfigurations.axisDeltaDistanceRadii": { + "values": [ + 500, + -50, + 50 + ] + }, + "mlConfigurations.calculateK0ShortScores": "0", + "processRun3": "1", + "processRun2": "0", + "v0radius": "1.2", + "massWindowWithTPCPID": "0", + "processFindableRun3": "0", + "mlConfigurations.thresholdK0Short": "-1", + "downscalingOptions.downscale_adaptive": "0", + "dcaFitterConfigurations.d_UseWeightedPCA": "0", + "axisConfigurations.axisTopoVarDCAV0ToPV": { + "values": [ + 200, + 0, + 5 + ] + }, + "d_UseAutodetectMode": "0", + "qaConfigurations.dQAMaxPt": "5", + "mlConfigurations.modelPathCCDB": "", + "axisConfigurations.axisDCACHI2": { + "values": [ + 500, + 0, + 50 + ] + }, + "massWindownumberOfSigmas": "25", + "downscalingOptions.downscale_triggerMaskSelection": "0", + "createV0DauCovMats": "-1", + "mlConfigurations.localModelPathK0Short": "KZeroShort_BDTModel.onnx", + "qaConfigurations.dQAK0ShortMassWindow": "0.005", + "mlConfigurations.thresholdGamma": "-1", + "massCutLambda": { + "values": [ + [ + 0.0011751799611374736, + 0.00012409899500198662, + 0.005479369778186083, + 0.30800899863243103 + ] + ] + }, + "axisConfigurations.axisTopoVarV0Radius": { + "values": [ + 500, + 0, + 100 + ] + }, + "axisConfigurations.axisDCAXY": { + "values": [ + 500, + -50, + 50 + ] + }, + "dcaFitterConfigurations.d_UseAbsDCA": "1", + "dcaFitterConfigurations.d_maxDZIni": "1e+09", + "qaConfigurations.d_QA_checkMC": "1", + "dcaFitterConfigurations.d_bz": "-999", + "mlConfigurations.loadModelsFromCCDB": "0", + "downscalingOptions.downscale_factorUniform": "0.001", + "mlConfigurations.calculateAntiLambdaScores": "0", + "qaConfigurations.dQALambdaMassWindow": "0.005", + "dcapostopv": "0.05", + "mlConfigurations.calculateLambdaScores": "0", + "ccdbConfigurations.ccdb-url": "http://alice-ccdb.cern.ch", + "qaConfigurations.dQANBinsRadius": "500", + "mlConfigurations.localModelPathGamma": "Gamma_BDTModel.onnx", + "qaConfigurations.d_doTrackQA": "0", + "mlConfigurations.thresholdLambda": "-1", + "ccdbConfigurations.grpPath": "GLO/GRP/GRP", + "ccdbConfigurations.lutPath": "GLO/Param/MatLUT", + "lifetimecut": { + "values": [ + [ + 60, + 20 + ] + ] + }, + "qaConfigurations.d_doQA": "0", + "dcaFitterConfigurations.d_maxDXYIni": "4", + "createV0PosAtIUs": "0", + "precisionDCAs": "0.01", + "mlConfigurations.timestampCCDB": "-1", + "dcav0dau": "1", + "storePhotonCandidates": "1", + "axisConfigurations.axisPtQA": { + "values": [ + 0, + 0, + 0.10000000149011612, + 0.20000000298023224, + 0.30000001192092896, + 0.4000000059604645, + 0.5, + 0.6000000238418579, + 0.699999988079071, + 0.800000011920929, + 0.8999999761581421, + 1, + 1.100000023841858, + 1.2000000476837158, + 1.2999999523162842, + 1.399999976158142, + 1.5, + 1.600000023841858, + 1.7000000476837158, + 1.7999999523162842, + 1.899999976158142, + 2, + 2.200000047683716, + 2.4000000953674316, + 2.5999999046325684, + 2.799999952316284, + 3, + 3.200000047683716, + 3.4000000953674316, + 3.5999999046325684, + 3.799999952316284, + 4, + 4.400000095367432, + 4.800000190734863, + 5.199999809265137, + 5.599999904632568, + 6, + 6.5, + 7, + 7.5, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 17, + 19, + 21, + 23, + 25, + 30, + 35, + 40, + 50 + ] + }, + "ccdbConfigurations.grpmagPath": "GLO/Config/GRPMagField", + "tpcrefit": "0", + "v0cospa": "0.9", + "qaConfigurations.dQANBinsPtCoarse": "10", + "axisConfigurations.axisTopoVarDCAV0Dau": { + "values": [ + 200, + 0, + 2 + ] + }, + "dcaFitterConfigurations.d_UseCollinearFit": "0", + "qaConfigurations.d_QA_checkdEdx": "0", + "axisConfigurations.axisTopoVarRAP": { + "values": [ + 50, + 0, + 1 + ] + }, + "qaConfigurations.dQAGammaMassWindow": "0.05", + "downscalingOptions.downscale_factorPt": "1", + "roundDCAVariables": "0", + "axisConfigurations.axisPositionGuess": { + "values": [ + 240, + 0, + 120 + ] + }, + "mlConfigurations.calculateGammaScores": "0", + "massWindowSafetyMargin": "0.001", + "mlConfigurations.enableOptimizations": "0", + "qaConfigurations.dQANBinsMass": "400", + "dcaFitterConfigurations.rejDiffCollTracks": "0", + "axisConfigurations.axisTopoVarPointingAngle": { + "values": [ + 50, + 0, + 1 + ] + }, + "maxDaughterEta": "0.8", + "dcanegtopv": "0.05", + "ccdbConfigurations.geoPath": "GLO/Config/GeometryAligned", + "axisConfigurations.axisX": { + "values": [ + 200, + 0, + 200 + ] + }, + "axisConfigurations.axisRadius": { + "values": [ + 500, + 0, + 50 + ] + }, + "createV0PosAtDCAs": "1", + "mlConfigurations.localModelPathLambda": "Lambda_BDTModel.onnx", + "dcaFitterConfigurations.useMatCorrType": "2", + "mlConfigurations.thresholdAntiLambda": "-1", + "massCutK0": { + "values": [ + [ + 0.0028188200667500496, + 0.0011405700352042913, + 0.0017213800456374884, + 0.5002620220184326 + ] + ] + }, + "ccdbConfigurations.mVtxPath": "GLO/Calib/MeanVertex", + "createV0CovMats": "-1", + "downscalingOptions.downscaleFactor": "2", + "downscalingOptions.downscale_mass": "0.139", + "mlConfigurations.localModelPathAntiLambda": "AntiLambda_BDTModel.onnx", + "minimumPt": "0" + }, + "lambdakzero-v0-data-link-builder": { + "processFound": "1", + "processFindable": "0" + }, + "lambdakzero-preselector": { + "dIfMCselectPhysicalPrimary": "1", + "ddEdxPreSelectAntiLambda": "1", + "ddEdxPreSelectLambda": "1", + "dIfMCgenerateLambda": "1", + "dTPCNCrossedRows": "70", + "ddEdxPreSelectHypertriton": "0", + "dIfMCgenerateK0Short": "0", + "processBuildFindable": "0", + "ddEdxPreSelectAntiHypertriton": "0", + "processSkipV0sNotUsedInCascades": "0", + "forceITSOnlyMesons": "0", + "dIfMCgenerateHypertriton": "0", + "minITSCluITSOnly": "6", + "dIfMCselectV0MotherPDG": "0", + "dIfMCgenerateAntiHypertriton": "0", + "dIfMCgenerateAntiLambda": "1", + "dPreselectOnlyBaryons": "1", + "processSkipV0sNotUsedInTrackedCascades": "0", + "dIfMCgenerateGamma": "0", + "ddEdxPreSelectGamma": "1", + "processBuildAll": "0", + "processBuildMCAssociated": "0", + "ddEdxPreSelectionWindow": "10", + "processBuildValiddEdx": "1", + "ddEdxPreSelectK0Short": "1", + "processBuildValiddEdxMCAssociated": "0" + }, + "cascade-builder": { + "lutPath": "GLO/Param/MatLUT", + "axisConfigurations.axisTopoVarDCAToPV": { + "values": [ + 200, + -1, + 1 + ] + }, + "d_QA_checkMC": "1", + "casccospa": "0.9", + "processRun3": "0", + "processRun2": "0", + "qaConfigurations.dQAMaxCluSize": "10", + "kfDoDCAFitterPreMinimCasc": "1", + "useMatCorrTypeCasc": "2", + "processFindableRun3": "0", + "qaConfigurations.dQANBinsChi2": "200", + "axisConfigurations.axisTopoVarDCAV0ToPV": { + "values": [ + 200, + 0, + 5 + ] + }, + "d_UseAutodetectMode": "0", + "d_doStraTrackQA": "0", + "qaConfigurations.dQAMaxPt": "5", + "processRun3withKFParticle": "0", + "qaConfigurations.dQAMaxChi2": "20", + "qaConfigurations.dQAOmegaMassWindow": "0.005", + "mlConfigurations.modelPathCCDB": "", + "cas_cospaParameter": "0.341715", + "d_GenerateOnlyTrackedCascades": "0", + "createCascCovMats": "-1", + "calculateBachBaryonVars": "1", + "d_UseWeightedPCA": "0", + "rejDiffCollTracks": "0", + "qaConfigurations.dQANBinsDCAxy": "200", + "dcabachtopv": "0.05", + "mlConfigurations.calculateXiPlusScores": "0", + "dcacascdau": "1", + "axisConfigurations.axisTopoVarV0Radius": { + "values": [ + 500, + 0, + 100 + ] + }, + "geoPath": "GLO/Config/GeometryAligned", + "mlConfigurations.loadModelsFromCCDB": "0", + "axisPtQA": { + "values": [ + 0, + 0, + 0.10000000149011612, + 0.20000000298023224, + 0.30000001192092896, + 0.4000000059604645, + 0.5, + 0.6000000238418579, + 0.699999988079071, + 0.800000011920929, + 0.8999999761581421, + 1, + 1.100000023841858, + 1.2000000476837158, + 1.2999999523162842, + 1.399999976158142, + 1.5, + 1.600000023841858, + 1.7000000476837158, + 1.7999999523162842, + 1.899999976158142, + 2, + 2.200000047683716, + 2.4000000953674316, + 2.5999999046325684, + 2.799999952316284, + 3, + 3.200000047683716, + 3.4000000953674316, + 3.5999999046325684, + 3.799999952316284, + 4, + 4.400000095367432, + 4.800000190734863, + 5.199999809265137, + 5.599999904632568, + 6, + 6.5, + 7, + 7.5, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 17, + 19, + 21, + 23, + 25, + 30, + 35, + 40, + 50 + ] + }, + "mlConfigurations.calculateXiMinusScores": "0", + "mlConfigurations.calculateOmegaPlusScores": "0", + "createCascTrackXs": "-1", + "qaConfigurations.dQANBinsRadius": "500", + "qaConfigurations.dQAXiMassWindow": "0.005", + "mlConfigurations.localModelPathOmegaMinus": "OmegaMinus_BDTModel.onnx", + "mlConfigurations.thresholdOmegaMinus": "-1", + "dcaZCascToPV": "1e+06", + "d_bz": "-999", + "ccdb-url": "http://alice-ccdb.cern.ch", + "qaConfigurations.d_doQA": "0", + "kfConstructMethod": "2", + "kfUseCascadeMassConstraint": "0", + "precisionDCAs": "0.01", + "mlConfigurations.timestampCCDB": "-1", + "kfDoDCAFitterPreMinimV0": "1", + "mlConfigurations.localModelPathOmegaPlus": "OmegaPlus_BDTModel.onnx", + "d_UseAbsDCA": "1", + "tpcrefit": "0", + "grpPath": "GLO/GRP/GRP", + "mlConfigurations.localModelPathXiPlus": "XiPlus_BDTModel.onnx", + "cascradius": "0.9", + "qaConfigurations.dQANBinsPtCoarse": "10", + "axisConfigurations.axisTopoVarDCAV0Dau": { + "values": [ + 200, + 0, + 2 + ] + }, + "mlConfigurations.calculateOmegaMinusScores": "0", + "useMatCorrType": "2", + "axisConfigurations.axisTopoVarRAP": { + "values": [ + 50, + 0, + 1 + ] + }, + "mlConfigurations.thresholdOmegaPlus": "-1", + "d_QA_checkdEdx": "0", + "kfUseV0MassConstraint": "1", + "roundDCAVariables": "0", + "mlConfigurations.enableOptimizations": "0", + "dcaXYCascToPV": "1e+06", + "qaConfigurations.dQANBinsMass": "400", + "kfTuneForOmega": "0", + "axisConfigurations.axisTopoVarPointingAngle": { + "values": [ + 50, + 0, + 1 + ] + }, + "maxDaughterEta": "0.8", + "mlConfigurations.localModelPathXiMinus": "XiMinus_BDTModel.onnx", + "mlConfigurations.thresholdXiMinus": "-1", + "lambdaMassWindow": "0.01", + "d_doPtDep_CosPaCut": "0", + "qaConfigurations.dQANBinsCluSize": "200", + "processRun3withStrangenessTracking": "1", + "qaConfigurations.dQAMaxDCA": "1", + "d_doTrackQA": "0", + "grpmagPath": "GLO/Config/GRPMagField", + "mlConfigurations.thresholdXiPlus": "-1" + }, + "cascade-preselector": { + "dPreselectOnlyBaryons": "1", + "dIfMCselectPhysicalPrimary": "1", + "dIfMCgenerateOmegaPlus": "1", + "ddEdxPreSelectXiMinus": "1", + "dTPCNCrossedRows": "70", + "processSkipCascadesNotUsedInTrackedCascades": "0", + "processBuildAll": "0", + "processBuildFindable": "0", + "dIfMCgenerateXiPlus": "1", + "processBuildMCAssociated": "0", + "dIfMCgenerateXiMinus": "1", + "dIfMCgenerateOmegaMinus": "1", + "ddEdxPreSelectionWindow": "10", + "ddEdxPreSelectOmegaPlus": "1", + "doQA": "0", + "ddEdxPreSelectXiPlus": "1", + "dIfMCselectV0MotherPDG": "0", + "processBuildValiddEdx": "1", + "ddEdxPreSelectOmegaMinus": "1", + "processBuildValiddEdxMCAssociated": "0" + }, + "cascade-link-builder": { + "processFound": "1", + "processFindable": "0" + }, + "kfcascade-link-builder": {}, + "cascade-initializer": {}, + "tracascade-link-builder": {}, + "cascademcbuilder": { + "populateCascMCCoresSymmetric": "0", + "processBBTags": "1", + "processFindableCascades": "0", + "populateCascMCCoresAsymmetric": "1", + "processKFCascades": "0", + "addGeneratedOmegaPlus": "0", + "addGeneratedXiMinus": "0", + "processTrackedCascades": "1", + "rapidityWindow": "0.5", + "processCascades": "1", + "addGeneratedXiPlus": "0", + "addGeneratedOmegaMinus": "0" + }, + "centrality-table": { + "produceHistograms": "0", + "processRun3": "1", + "genname": "PYTHIA", + "reconstructionPass": "", + "processRun2": "0", + "ccdbpath": "Centrality/Estimators", + "processRun3FT0": "0", + "ccdburl": "http://alice-ccdb.cern.ch", + "enabledTables": { + "values": [ + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + 1 + ], + [ + -1 + ], + [ + -1 + ] + ] + }, + "doNotCrashOnNull": "1", + "embedINELgtZEROselection": "0", + "binsPercentile": { + "values": [ + 0, + 0, + 0.001, + 0.002, + 0.003, + 0.004, + 0.005, + 0.006, + 0.007, + 0.008, + 0.009, + 0.01, + 0.011, + 0.012, + 0.013, + 0.014, + 0.015, + 0.016, + 0.017, + 0.018, + 0.019, + 0.02, + 0.021, + 0.022, + 0.023, + 0.024, + 0.025, + 0.026, + 0.027, + 0.028, + 0.029, + 0.03, + 0.031, + 0.032, + 0.033, + 0.034, + 0.035, + 0.036, + 0.037, + 0.038, + 0.039, + 0.04, + 0.041, + 0.042, + 0.043, + 0.044, + 0.045, + 0.046, + 0.047, + 0.048, + 0.049, + 0.05, + 0.051, + 0.052, + 0.053, + 0.054, + 0.055, + 0.056, + 0.057, + 0.058, + 0.059, + 0.06, + 0.061, + 0.062, + 0.063, + 0.064, + 0.065, + 0.066, + 0.067, + 0.068, + 0.069, + 0.07, + 0.071, + 0.072, + 0.073, + 0.074, + 0.075, + 0.076, + 0.077, + 0.078, + 0.079, + 0.08, + 0.081, + 0.082, + 0.083, + 0.084, + 0.085, + 0.086, + 0.087, + 0.088, + 0.089, + 0.09, + 0.091, + 0.092, + 0.093, + 0.094, + 0.095, + 0.096, + 0.097, + 0.098, + 0.099, + 0.1, + 0.11, + 0.12, + 0.13, + 0.14, + 0.15, + 0.16, + 0.17, + 0.18, + 0.19, + 0.2, + 0.21, + 0.22, + 0.23, + 0.24, + 0.25, + 0.26, + 0.27, + 0.28, + 0.29, + 0.3, + 0.31, + 0.32, + 0.33, + 0.34, + 0.35, + 0.36, + 0.37, + 0.38, + 0.39, + 0.4, + 0.41, + 0.42, + 0.43, + 0.44, + 0.45, + 0.46, + 0.47, + 0.48, + 0.49, + 0.5, + 0.51, + 0.52, + 0.53, + 0.54, + 0.55, + 0.56, + 0.57, + 0.58, + 0.59, + 0.6, + 0.61, + 0.62, + 0.63, + 0.64, + 0.65, + 0.66, + 0.67, + 0.68, + 0.69, + 0.7, + 0.71, + 0.72, + 0.73, + 0.74, + 0.75, + 0.76, + 0.77, + 0.78, + 0.79, + 0.8, + 0.81, + 0.82, + 0.83, + 0.84, + 0.85, + 0.86, + 0.87, + 0.88, + 0.89, + 0.9, + 0.91, + 0.92, + 0.93, + 0.94, + 0.95, + 0.96, + 0.97, + 0.98, + 0.99, + 1, + 1.1, + 1.2, + 1.3, + 1.4, + 1.5, + 1.6, + 1.7, + 1.8, + 1.9, + 2, + 2.1, + 2.2, + 2.3, + 2.4, + 2.5, + 2.6, + 2.7, + 2.8, + 2.9, + 3, + 3.1, + 3.2, + 3.3, + 3.4, + 3.5, + 3.6, + 3.7, + 3.8, + 3.9, + 4, + 4.1, + 4.2, + 4.3, + 4.4, + 4.5, + 4.6, + 4.7, + 4.8, + 4.9, + 5, + 5.1, + 5.2, + 5.3, + 5.4, + 5.5, + 5.6, + 5.7, + 5.8, + 5.9, + 6, + 6.1, + 6.2, + 6.3, + 6.4, + 6.5, + 6.6, + 6.7, + 6.8, + 6.9, + 7, + 7.1, + 7.2, + 7.3, + 7.4, + 7.5, + 7.6, + 7.7, + 7.8, + 7.9, + 8, + 8.1, + 8.2, + 8.3, + 8.4, + 8.5, + 8.6, + 8.7, + 8.8, + 8.9, + 9, + 9.1, + 9.2, + 9.3, + 9.4, + 9.5, + 9.6, + 9.7, + 9.8, + 9.9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100 + ] + } + }, + "lambdakzeromcbuilder": { + "addGeneratedK0Short": "0", + "populateV0MCCoresSymmetric": "0", + "addGeneratedLambda": "0", + "addGeneratedAntiLambda": "0", + "addGeneratedGamma": "0", + "populateV0MCCoresAsymmetric": "1", + "rapidityWindow": "0.5" + }, + "mc-collision-converter": {}, + "sgcandproducer": { + "SGCuts.mWithFwdTracks": "0", + "SGCuts.mMinEta": "-0.9", + "SGCuts.mMinRgtrwTOF": "0", + "noITSROFrameBorder": "1", + "rejectAtTFBoundary": "1", + "SGCuts.mNDtcoll": "1", + "SGCuts.mITSOnlyTracks": "1", + "SGCuts.mMaxEta": "0.9", + "SGCuts.mMaxFITtime": "34", + "IsGoodVertex": "0", + "SGCuts.mGlobalTracksOnly": "0", + "SGCuts.mMaxVertexPosz": "1000", + "SGCuts.mFITAmpLimits": { + "values": [ + -1, + 150, + 50, + -1, + -1 + ] + }, + "SGCuts.mMinPt": "0.1", + "SGCuts.mMaxNTracks": "100", + "noSameBunchPileUp": "1", + "saveAllTracks": "1", + "SGCuts.mMinNTracks": "2", + "SGCuts.mPidHypo": "211", + "SGCuts.mMinNBCs": "2", + "SGCuts.mMinVertexPosz": "-1000", + "SGCuts.mMaxPt": "1000", + "savenonPVCITSOnlyTracks": "0", + "ITSTPCVertex": "1" + }, + "timestamp-task": { + "rct-path": "RCT/Info/RunInformation", + "orbit-reset-path": "CTP/Calib/OrbitReset", + "fatalOnInvalidTimestamp": "0", + "ccdb-url": "http://alice-ccdb.cern.ch", + "verbose": "0", + "isRun2MC": "-1" + }, + "ft0-corrected-table": {}, + "track-propagation": { + "lutPath": "GLO/Param/MatLUT", + "processCovarianceMc": "0", + "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.", + "geoPath": "GLO/Config/GeometryAligned", + "minPropagationDistance": "5", + "axisPtQA": { + "values": [ + 0, + 0, + 0.10000000149011612, + 0.20000000298023224, + 0.30000001192092896, + 0.4000000059604645, + 0.5, + 0.6000000238418579, + 0.699999988079071, + 0.800000011920929, + 0.8999999761581421, + 1, + 1.100000023841858, + 1.2000000476837158, + 1.2999999523162842, + 1.399999976158142, + 1.5, + 1.600000023841858, + 1.7000000476837158, + 1.7999999523162842, + 1.899999976158142, + 2, + 2.200000047683716, + 2.4000000953674316, + 2.5999999046325684, + 2.799999952316284, + 3, + 3.200000047683716, + 3.4000000953674316, + 3.5999999046325684, + 3.799999952316284, + 4, + 4.400000095367432, + 4.800000190734863, + 5.199999809265137, + 5.599999904632568, + 6, + 6.5, + 7, + 7.5, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 17, + 19, + 21, + 23, + 25, + 30, + 35, + 40, + 50 + ] + }, + "useTrackTuner": "0", + "processCovarianceWithPID": "0", + "fillTrackTunerTable": "0", + "mVtxPath": "GLO/Calib/MeanVertex", + "grpmagPath": "GLO/Config/GRPMagField", + "ccdb-url": "http://alice-ccdb.cern.ch", + "processStandard": "1", + "processCovariance": "0", + "processStandardWithPID": "0" + }, + "pid-multiplicity": { + "processIU": "1", + "processStandard": "0" + }, + "tpc-pid": { + "param-file": "", + "pid-tiny-ka": "-1", + "useNetworkDe": "1", + "useNetworkPr": "1", + "useNetworkHe": "1", + "networkPathCCDB": "Analysis/PID/TPC/ML", + "useNetworkTr": "1", + "useNetworkPi": "1", + "enableTuneOnDataTable": "-1", + "pid-tiny-mu": "-1", + "pid-tiny-el": "-1", + "useNetworkKa": "1", + "pid-tiny-al": "-1", + "pid-full-ka": "-1", + "networkSetNumThreads": "0", + "skipTPCOnly": "1", + "recoPass": "", + "processStandard": "1", + "pid-full-mu": "-1", + "useNetworkEl": "1", + "pid-full-al": "-1", + "useNetworkMu": "1", + "networkBetaGammaCutoff": "0.45", + "pid-full-el": "-1", + "pid-tiny-pi": "-1", + "pid-tiny-tr": "-1", + "pid-tiny-he": "-1", + "pid-tiny-pr": "-1", + "ccdbPath": "Analysis/PID/TPC/Response", + "pid-tiny-de": "-1", + "pid-full-pi": "-1", + "autofetchNetworks": "1", + "ccdb-timestamp": "0", + "enableNetworkOptimizations": "1", + "processMcTuneOnData": "0", + "pid-full-de": "-1", + "pid-full-pr": "-1", + "ccdb-url": "http://alice-ccdb.cern.ch", + "useNetworkCorrection": "0", + "pid-full-he": "-1", + "pid-full-tr": "-1", + "useNetworkAl": "1", + "networkPathLocally": "network.onnx" + }, + "multiplicity-table": { + "processRun3": "1", + "processRun2": "0", + "enabledTables": { + "values": [ + [ + 1 + ], + [ + 1 + ], + [ + 1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + 1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + 1 + ] + ] + }, + "fractionOfEvents": "2", + "processMC2Mults": "0", + "min_pt_globaltrack": "0.15", + "min_ncluster_its_globaltrack": "5", + "max_pt_globaltrack": "1e+10", + "processGlobalTrackingCounters": "1", + "min_ncluster_itsib_globaltrack": "1", + "doVertexZeq": "1", + "produceHistograms": "0", + "reconstructionPass": "", + "ccdbpath": "Centrality/Calibration", + "ccdburl": "http://alice-ccdb.cern.ch", + "processMC": "1" + }, + "track-selection": { + "ptMax": "1e+10", + "produceTable": "-1", + "etaMin": "-0.8", + "isRun3": "1", + "itsMatching": "1", + "etaMax": "0.8", + "compatibilityIU": "0", + "dcaSetup": "0", + "ptMin": "0.1", + "produceFBextendedTable": "-1" + }, + "tof-pid-full": { + "parametrizationPath": "", + "fatalOnPassNotAvailable": "1", + "paramFileName": "", + "enableTimeDependentResponse": "0", + "processWSlice": "1", + "processWoSlice": "0", + "passName": "", + "inheritFromBaseTask": "1", + "timeShiftCCDBPath": "", + "enableParticle": { + "values": [ + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ], + [ + -1 + ] + ] + }, + "ccdb-timestamp": "-1", + "ccdb-url": "", + "loadResponseFromCCDB": "0" + }, + "tof-pid-beta": { + "enableTOFParams": "0", + "parametrizationPath": "TOF/Calib/Params", + "ccdb-timestamp": "-1", + "fatalOnPassNotAvailable": "1", + "paramFileName": "", + "tof-expreso": "80", + "passName": "", + "ccdb-url": "http://alice-ccdb.cern.ch" + }, + "bc-selection-task": { + "ITSROFrameStartBorderMargin": "-1", + "checkRunDurationLimits": "0", + "triggerBcShift": "0", + "TimeFrameStartBorderMargin": "-1", + "processRun3": "1", + "processRun2": "0", + "TimeFrameEndBorderMargin": "-1", + "ITSROFrameEndBorderMargin": "-1" + }, + "event-selection-task": { + "TimeRangeVetoOnCollStandard": "10", + "processRun3": "1", + "TimeIntervalForOccupancyCalculationMin": "-40", + "processRun2": "0", + "TimeIntervalForOccupancyCalculationMax": "100", + "ReferenceOccupanciesInTimeBins": { + "values": [ + 3000, + 1400, + 750, + 1000, + 1750, + 4000 + ] + }, + "syst": "PbPb", + "isMC": "0", + "maxDiffZvtxFT0vsPV": "1", + "UseWeightsForOccupancyEstimator": "1", + "muonSelection": "0", + "TimeBinsForOccupancyCalculation": { + "values": [ + -40, + -20, + 0, + 25, + 50, + 75, + 100 + ] + }, + "TimeRangeVetoOnCollNarrow": "4" + } +} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/run.sh b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/run.sh new file mode 100644 index 00000000000..ee4f2a18612 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/run.sh @@ -0,0 +1,3 @@ +OPTION="-b --configuration json://configuration.json" + +o2-analysis-lf-strangederivedbuilder ${OPTION} | o2-analysis-pid-tof-base ${OPTION} | o2-analysis-event-selection ${OPTION} | o2-analysis-lf-lambdakzerobuilder ${OPTION} | o2-analysis-lf-cascadebuilder ${OPTION} | o2-analysis-multiplicity-table ${OPTION} | o2-analysis-centrality-table ${OPTION} | o2-analysis-lf-epvector ${OPTION} | o2-analysis-centrality-qa ${OPTION} | o2-analysis-ud-sgcand-producer ${OPTION} | o2-analysis-timestamp ${OPTION} | o2-analysis-ft0-corrected-table ${OPTION} | o2-analysis-track-propagation ${OPTION} | o2-analysis-pid-tpc-base ${OPTION} | o2-analysis-pid-tpc ${OPTION} | o2-analysis-trackselection ${OPTION} | o2-analysis-pid-tof-full ${OPTION} | o2-analysis-pid-tof-beta ${OPTION} --aod-file @input_data.txt --aod-writer-json OutputDirector.json \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/runMC.sh b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/runMC.sh new file mode 100644 index 00000000000..ebe4580476f --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/runMC.sh @@ -0,0 +1,3 @@ +OPTION="-b --configuration json://configurationMC.json" + +o2-analysis-lf-strangederivedbuilder ${OPTION} | o2-analysis-pid-tof-base ${OPTION} | o2-analysis-mccollisionextra ${OPTION} | o2-analysis-lf-lambdakzerobuilder ${OPTION} | o2-analysis-lf-cascadebuilder ${OPTION} | o2-analysis-lf-cascademcbuilder ${OPTION} | o2-analysis-centrality-table ${OPTION} | o2-analysis-lf-lambdakzeromcbuilder ${OPTION} | o2-analysis-mccollision-converter ${OPTION} | o2-analysis-ud-sgcand-producer ${OPTION} | o2-analysis-timestamp ${OPTION} | o2-analysis-ft0-corrected-table ${OPTION} | o2-analysis-track-propagation ${OPTION} | o2-analysis-pid-tpc-base ${OPTION} | o2-analysis-pid-tpc ${OPTION} | o2-analysis-multiplicity-table ${OPTION} | o2-analysis-trackselection ${OPTION} | o2-analysis-pid-tof-full ${OPTION} | o2-analysis-pid-tof-beta ${OPTION} | o2-analysis-event-selection ${OPTION} --aod-file @input_dataMC.txt --aod-writer-json OutputDirectorMC.json \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/README.md b/Tutorials/PWGLF/Strangeness/README.md index ee28059d0f8..62c21416865 100644 --- a/Tutorials/PWGLF/Strangeness/README.md +++ b/Tutorials/PWGLF/Strangeness/README.md @@ -1,13 +1,25 @@ # This is the base for the PWGLF tutorials for the O2AT -The tutorial (17-28 Apr 2023) can be still used and is a reference for the LF analyses. +The tutorial (14-18 Oct 2024) can be used as a reference for the LF analysis. It is built as a set of steps. Each step adds a level of complexity and is built in a separate executable. -The executables are defined in the `CMakeLists.txt`. -## Files -* `README.md` this readme +The tutorial is divided into two directories depending on the collision system: +## pp +This repository contains the codes to analyse V0 and cascade particles in proton-proton collisions: * `CMakeLists.txt` here are defined the source files to compile * `strangeness_step0.cxx` Starting point: loop over all V0s and fill invariant mass histogram * `strangeness_step1.cxx` Apply selections on topological variables of V0s * `strangeness_step2.cxx` Apply PID selections on V0 daughter tracks * `strangeness_step3.cxx` Check the MC information of the V0s and verify with the PID information of daughter tracks + +## PbPb +This repository contains the code to analyse cascade particles in Pb-Pb collisions. +The tutorial revolves around two aspects: +i) the derived data production in the directory DerivedDataProduction, +ii) the analysis of the derived data in the directory Analysis, containing: +* `CMakeLists.txt` here are defined the source files to compile +* `strangeness_pbpb_step0.cxx` Starting point: loop over all cascades and fill invariant mass histogram +* `strangeness_pbpb_step1.cxx` Apply selections on topological variables of cascades +* `strangeness_pbpb_step2.cxx` Apply TPC PID selections on cascade daughter tracks +* `strangeness_pbpb_step3.cxx` Apply TOF PID selections on cascade daughter tracks (if available) +* `strangeness_pbpb_step4.cxx` Check the MC information of the cascade \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/strangeness_step0.cxx b/Tutorials/PWGLF/Strangeness/pp/strangeness_step0.cxx similarity index 100% rename from Tutorials/PWGLF/Strangeness/strangeness_step0.cxx rename to Tutorials/PWGLF/Strangeness/pp/strangeness_step0.cxx diff --git a/Tutorials/PWGLF/Strangeness/strangeness_step1.cxx b/Tutorials/PWGLF/Strangeness/pp/strangeness_step1.cxx similarity index 100% rename from Tutorials/PWGLF/Strangeness/strangeness_step1.cxx rename to Tutorials/PWGLF/Strangeness/pp/strangeness_step1.cxx diff --git a/Tutorials/PWGLF/Strangeness/strangeness_step2.cxx b/Tutorials/PWGLF/Strangeness/pp/strangeness_step2.cxx similarity index 100% rename from Tutorials/PWGLF/Strangeness/strangeness_step2.cxx rename to Tutorials/PWGLF/Strangeness/pp/strangeness_step2.cxx diff --git a/Tutorials/PWGLF/Strangeness/strangeness_step3.cxx b/Tutorials/PWGLF/Strangeness/pp/strangeness_step3.cxx similarity index 100% rename from Tutorials/PWGLF/Strangeness/strangeness_step3.cxx rename to Tutorials/PWGLF/Strangeness/pp/strangeness_step3.cxx diff --git a/Tutorials/PWGLF/Strangeness/strangeness_step4.cxx b/Tutorials/PWGLF/Strangeness/pp/strangeness_step4.cxx similarity index 100% rename from Tutorials/PWGLF/Strangeness/strangeness_step4.cxx rename to Tutorials/PWGLF/Strangeness/pp/strangeness_step4.cxx From d895f04db3de9b7201bea881ac48bb4f667311e7 Mon Sep 17 00:00:00 2001 From: romainschotter Date: Thu, 12 Sep 2024 01:48:04 +0200 Subject: [PATCH 02/10] Add CMakeLists for old tutorial --- Tutorials/PWGLF/Strangeness/pp/CMakeLists.txt | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Tutorials/PWGLF/Strangeness/pp/CMakeLists.txt diff --git a/Tutorials/PWGLF/Strangeness/pp/CMakeLists.txt b/Tutorials/PWGLF/Strangeness/pp/CMakeLists.txt new file mode 100644 index 00000000000..f46ac1f9e0b --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/pp/CMakeLists.txt @@ -0,0 +1,36 @@ +# Copyright 2019-2020 CERN and copyright holders of ALICE O2. +# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +# All rights not expressly granted are reserved. +# +# This software is distributed under the terms of the GNU General Public +# License v3 (GPL Version 3), copied verbatim in the file "COPYING". +# +# In applying this license CERN does not waive the privileges and immunities +# granted to it by virtue of its status as an Intergovernmental Organization +# or submit itself to any jurisdiction. + +# Strangeness analysis tutorial +o2physics_add_dpl_workflow(strangeness-step0 + SOURCES strangeness_step0.cxx + PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore + COMPONENT_NAME AnalysisTutorial) + +o2physics_add_dpl_workflow(strangeness-step1 + SOURCES strangeness_step1.cxx + PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore + COMPONENT_NAME AnalysisTutorial) + +o2physics_add_dpl_workflow(strangeness-step2 + SOURCES strangeness_step2.cxx + PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore + COMPONENT_NAME AnalysisTutorial) + +o2physics_add_dpl_workflow(strangeness-step3 + SOURCES strangeness_step3.cxx + PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore + COMPONENT_NAME AnalysisTutorial) + +o2physics_add_dpl_workflow(strangeness-step4 + SOURCES strangeness_step4.cxx + PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore + COMPONENT_NAME AnalysisTutorial) \ No newline at end of file From 72e6c54b3118ba69a9630620023d1c9f1ed88e38 Mon Sep 17 00:00:00 2001 From: romainschotter Date: Thu, 12 Sep 2024 11:58:17 +0200 Subject: [PATCH 03/10] Remove JSON files --- .../PbPb/Analysis/configuration_step0.json | 21 - .../PbPb/Analysis/configuration_step1.json | 142 -- .../PbPb/Analysis/configuration_step2.json | 145 -- .../PbPb/Analysis/configuration_step3.json | 148 -- .../PbPb/Analysis/configuration_step4.json | 148 -- .../DerivedDataProduction/OutputDirector.json | 76 - .../OutputDirectorMC.json | 136 -- .../DerivedDataProduction/configuration.json | 1639 ---------------- .../configurationMC.json | 1671 ----------------- 9 files changed, 4126 deletions(-) delete mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step0.json delete mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step1.json delete mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step2.json delete mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step3.json delete mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step4.json delete mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirector.json delete mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirectorMC.json delete mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configuration.json delete mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configurationMC.json diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step0.json b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step0.json deleted file mode 100644 index 702b7782bd5..00000000000 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step0.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "internal-dpl-clock": "", - "internal-dpl-aod-reader": { - "aod-file-private": "@input_data.txt", - "time-limit": "0", - "orbit-offset-enumeration": "0", - "orbit-multiplier-enumeration": "0", - "start-value-enumeration": "0", - "end-value-enumeration": "-1", - "step-value-enumeration": "1" - }, - "internal-dpl-aod-spawner": "", - "cascadespawner": "", - "strangeness_pbpb_tutorial": { - "nBins": "100", - "cutzvertex": "10" - }, - "internal-dpl-aod-writer": "", - "internal-dpl-aod-global-analysis-file-sink": "", - "internal-dpl-injected-dummy-sink": "" -} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step1.json b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step1.json deleted file mode 100644 index f00818e9c98..00000000000 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step1.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "internal-dpl-clock": "", - "internal-dpl-aod-reader": { - "aod-file-private": "@input_data.txt", - "time-limit": "0", - "orbit-offset-enumeration": "0", - "orbit-multiplier-enumeration": "0", - "start-value-enumeration": "0", - "end-value-enumeration": "-1", - "step-value-enumeration": "1" - }, - "cascadespawner": "", - "cascadepid": { - "d_bz": "-999", - "tofPosition": "377.93399", - "doQA": "true", - "qaV0DCADau": "0.5", - "qaCascDCADau": "0.5", - "qaV0CosPA": "0.995000005", - "qaCascCosPA": "0.995000005", - "qaMassWindow": "0.00499999989", - "qaTPCNSigma": "5", - "doNSigmas": "false", - "doQANSigma": "false", - "ccdb-url": "http:\/\/alice-ccdb.cern.ch", - "grpPath": "GLO\/GRP\/GRP", - "grpmagPath": "GLO\/Config\/GRPMagField", - "lutPath": "GLO\/Param\/MatLUT", - "geoPath": "GLO\/Config\/GeometryAligned", - "nSigmaPath": "Users\/d\/ddobrigk\/stratof", - "axisEta": { - "values": [ - "20", - "-1", - "1" - ] - }, - "axisDeltaTime": { - "values": [ - "2000", - "-1000", - "1000" - ] - }, - "axisNSigma": { - "values": [ - "200", - "-10", - "10" - ] - }, - "axisTime": { - "values": [ - "200", - "0", - "20000" - ] - }, - "axisPt": { - "values": [ - "0", - "0", - "0.10000000149011612", - "0.20000000298023224", - "0.30000001192092896", - "0.40000000596046448", - "0.5", - "0.60000002384185791", - "0.69999998807907104", - "0.80000001192092896", - "0.89999997615814209", - "1", - "1.1000000238418579", - "1.200000047683716", - "1.2999999523162842", - "1.3999999761581421", - "1.5", - "1.6000000238418579", - "1.700000047683716", - "1.7999999523162842", - "1.8999999761581421", - "2", - "2.2000000476837158", - "2.4000000953674321", - "2.5999999046325684", - "2.7999999523162842", - "3", - "3.2000000476837158", - "3.4000000953674321", - "3.5999999046325684", - "3.7999999523162842", - "4", - "4.4000000953674316", - "4.8000001907348633", - "5.1999998092651367", - "5.5999999046325684", - "6", - "6.5", - "7", - "7.5", - "8", - "9", - "10", - "11", - "12", - "13", - "14", - "15", - "17", - "19", - "21", - "23", - "25", - "30", - "35", - "40", - "50" - ] - }, - "processStandardData": "false", - "processDerivedData": "true" - }, - "strangeness_pbpb_tutorial": { - "nBins": "100", - "cutzvertex": "10", - "cascadesetting_cospa": "0.998", - "cascadesetting_v0cospa": "0.96999999999999997", - "cascadesetting_dcacascdau": "1", - "cascadesetting_dcav0dau": "1", - "cascadesetting_dcabachtopv": "0.0599999987", - "cascadesetting_dcapostopv": "0.0599999987", - "cascadesetting_dcanegtopv": "0.0599999987", - "cascadesetting_mindcav0topv": "0.00999999978", - "cascadesetting_cascradius": "0.5", - "cascadesetting_v0radius": "1.20000005", - "cascadesetting_v0masswindow": "0.00800000038", - "cascadesetting_competingmassrej": "0.00800000038" - }, - "internal-dpl-aod-writer": "", - "internal-dpl-aod-global-analysis-file-sink": "", - "internal-dpl-injected-dummy-sink": "" -} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step2.json b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step2.json deleted file mode 100644 index a39593ca8fa..00000000000 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step2.json +++ /dev/null @@ -1,145 +0,0 @@ -{ - "internal-dpl-clock": "", - "internal-dpl-aod-reader": { - "aod-file-private": "@input_data.txt", - "time-limit": "0", - "orbit-offset-enumeration": "0", - "orbit-multiplier-enumeration": "0", - "start-value-enumeration": "0", - "end-value-enumeration": "-1", - "step-value-enumeration": "1" - }, - "cascadespawner": "", - "cascadepid": { - "d_bz": "-999", - "tofPosition": "377.93399", - "doQA": "true", - "qaV0DCADau": "0.5", - "qaCascDCADau": "0.5", - "qaV0CosPA": "0.995000005", - "qaCascCosPA": "0.995000005", - "qaMassWindow": "0.00499999989", - "qaTPCNSigma": "5", - "doNSigmas": "false", - "doQANSigma": "false", - "ccdb-url": "http:\/\/alice-ccdb.cern.ch", - "grpPath": "GLO\/GRP\/GRP", - "grpmagPath": "GLO\/Config\/GRPMagField", - "lutPath": "GLO\/Param\/MatLUT", - "geoPath": "GLO\/Config\/GeometryAligned", - "nSigmaPath": "Users\/d\/ddobrigk\/stratof", - "axisEta": { - "values": [ - "20", - "-1", - "1" - ] - }, - "axisDeltaTime": { - "values": [ - "2000", - "-1000", - "1000" - ] - }, - "axisNSigma": { - "values": [ - "200", - "-10", - "10" - ] - }, - "axisTime": { - "values": [ - "200", - "0", - "20000" - ] - }, - "axisPt": { - "values": [ - "0", - "0", - "0.10000000149011612", - "0.20000000298023224", - "0.30000001192092896", - "0.40000000596046448", - "0.5", - "0.60000002384185791", - "0.69999998807907104", - "0.80000001192092896", - "0.89999997615814209", - "1", - "1.1000000238418579", - "1.200000047683716", - "1.2999999523162842", - "1.3999999761581421", - "1.5", - "1.6000000238418579", - "1.700000047683716", - "1.7999999523162842", - "1.8999999761581421", - "2", - "2.2000000476837158", - "2.4000000953674321", - "2.5999999046325684", - "2.7999999523162842", - "3", - "3.2000000476837158", - "3.4000000953674321", - "3.5999999046325684", - "3.7999999523162842", - "4", - "4.4000000953674316", - "4.8000001907348633", - "5.1999998092651367", - "5.5999999046325684", - "6", - "6.5", - "7", - "7.5", - "8", - "9", - "10", - "11", - "12", - "13", - "14", - "15", - "17", - "19", - "21", - "23", - "25", - "30", - "35", - "40", - "50" - ] - }, - "processStandardData": "false", - "processDerivedData": "true" - }, - "strangeness_pbpb_tutorial": { - "nBins": "100", - "cutzvertex": "10", - "cascadesetting_cospa": "0.998", - "cascadesetting_v0cospa": "0.96999999999999997", - "cascadesetting_dcacascdau": "1", - "cascadesetting_dcav0dau": "1", - "cascadesetting_dcabachtopv": "0.0599999987", - "cascadesetting_dcapostopv": "0.0599999987", - "cascadesetting_dcanegtopv": "0.0599999987", - "cascadesetting_mindcav0topv": "0.00999999978", - "cascadesetting_cascradius": "0.5", - "cascadesetting_v0radius": "1.20000005", - "cascadesetting_v0masswindow": "0.00800000038", - "cascadesetting_competingmassrej": "0.00800000038", - "NSigmaTPCPion": "3", - "NSigmaTPCKaon": "3", - "NSigmaTPCProton": "3" - }, - "internal-dpl-aod-writer": "", - "internal-dpl-aod-global-analysis-file-sink": "", - "internal-dpl-injected-dummy-sink": "" -} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step3.json b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step3.json deleted file mode 100644 index d404ed8b6f5..00000000000 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step3.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "internal-dpl-clock": "", - "internal-dpl-aod-reader": { - "aod-file-private": "@input_data.txt", - "time-limit": "0", - "orbit-offset-enumeration": "0", - "orbit-multiplier-enumeration": "0", - "start-value-enumeration": "0", - "end-value-enumeration": "-1", - "step-value-enumeration": "1" - }, - "cascadespawner": "", - "cascadepid": { - "d_bz": "-999", - "tofPosition": "377.93399", - "doQA": "true", - "qaV0DCADau": "0.5", - "qaCascDCADau": "0.5", - "qaV0CosPA": "0.995000005", - "qaCascCosPA": "0.995000005", - "qaMassWindow": "0.00499999989", - "qaTPCNSigma": "5", - "doNSigmas": "true", - "doQANSigma": "false", - "ccdb-url": "http:\/\/alice-ccdb.cern.ch", - "grpPath": "GLO\/GRP\/GRP", - "grpmagPath": "GLO\/Config\/GRPMagField", - "lutPath": "GLO\/Param\/MatLUT", - "geoPath": "GLO\/Config\/GeometryAligned", - "nSigmaPath": "Users\/d\/ddobrigk\/stratof", - "axisEta": { - "values": [ - "20", - "-1", - "1" - ] - }, - "axisDeltaTime": { - "values": [ - "2000", - "-1000", - "1000" - ] - }, - "axisNSigma": { - "values": [ - "200", - "-10", - "10" - ] - }, - "axisTime": { - "values": [ - "200", - "0", - "20000" - ] - }, - "axisPt": { - "values": [ - "0", - "0", - "0.10000000149011612", - "0.20000000298023224", - "0.30000001192092896", - "0.40000000596046448", - "0.5", - "0.60000002384185791", - "0.69999998807907104", - "0.80000001192092896", - "0.89999997615814209", - "1", - "1.1000000238418579", - "1.200000047683716", - "1.2999999523162842", - "1.3999999761581421", - "1.5", - "1.6000000238418579", - "1.700000047683716", - "1.7999999523162842", - "1.8999999761581421", - "2", - "2.2000000476837158", - "2.4000000953674321", - "2.5999999046325684", - "2.7999999523162842", - "3", - "3.2000000476837158", - "3.4000000953674321", - "3.5999999046325684", - "3.7999999523162842", - "4", - "4.4000000953674316", - "4.8000001907348633", - "5.1999998092651367", - "5.5999999046325684", - "6", - "6.5", - "7", - "7.5", - "8", - "9", - "10", - "11", - "12", - "13", - "14", - "15", - "17", - "19", - "21", - "23", - "25", - "30", - "35", - "40", - "50" - ] - }, - "processStandardData": "false", - "processDerivedData": "true" - }, - "strangeness_pbpb_tutorial": { - "nBins": "100", - "cutzvertex": "10", - "cascadesetting_cospa": "0.998", - "cascadesetting_v0cospa": "0.96999999999999997", - "cascadesetting_dcacascdau": "1", - "cascadesetting_dcav0dau": "1", - "cascadesetting_dcabachtopv": "0.0599999987", - "cascadesetting_dcapostopv": "0.0599999987", - "cascadesetting_dcanegtopv": "0.0599999987", - "cascadesetting_mindcav0topv": "0.00999999978", - "cascadesetting_cascradius": "0.5", - "cascadesetting_v0radius": "1.20000005", - "cascadesetting_v0masswindow": "0.00800000038", - "cascadesetting_competingmassrej": "0.00800000038", - "NSigmaTPCPion": "3", - "NSigmaTPCKaon": "3", - "NSigmaTPCProton": "3", - "NSigmaTOFPion": "3", - "NSigmaTOFKaon": "3", - "NSigmaTOFProton": "3" - }, - "internal-dpl-aod-writer": "", - "internal-dpl-aod-global-analysis-file-sink": "", - "internal-dpl-injected-dummy-sink": "" -} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step4.json b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step4.json deleted file mode 100644 index d404ed8b6f5..00000000000 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/configuration_step4.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "internal-dpl-clock": "", - "internal-dpl-aod-reader": { - "aod-file-private": "@input_data.txt", - "time-limit": "0", - "orbit-offset-enumeration": "0", - "orbit-multiplier-enumeration": "0", - "start-value-enumeration": "0", - "end-value-enumeration": "-1", - "step-value-enumeration": "1" - }, - "cascadespawner": "", - "cascadepid": { - "d_bz": "-999", - "tofPosition": "377.93399", - "doQA": "true", - "qaV0DCADau": "0.5", - "qaCascDCADau": "0.5", - "qaV0CosPA": "0.995000005", - "qaCascCosPA": "0.995000005", - "qaMassWindow": "0.00499999989", - "qaTPCNSigma": "5", - "doNSigmas": "true", - "doQANSigma": "false", - "ccdb-url": "http:\/\/alice-ccdb.cern.ch", - "grpPath": "GLO\/GRP\/GRP", - "grpmagPath": "GLO\/Config\/GRPMagField", - "lutPath": "GLO\/Param\/MatLUT", - "geoPath": "GLO\/Config\/GeometryAligned", - "nSigmaPath": "Users\/d\/ddobrigk\/stratof", - "axisEta": { - "values": [ - "20", - "-1", - "1" - ] - }, - "axisDeltaTime": { - "values": [ - "2000", - "-1000", - "1000" - ] - }, - "axisNSigma": { - "values": [ - "200", - "-10", - "10" - ] - }, - "axisTime": { - "values": [ - "200", - "0", - "20000" - ] - }, - "axisPt": { - "values": [ - "0", - "0", - "0.10000000149011612", - "0.20000000298023224", - "0.30000001192092896", - "0.40000000596046448", - "0.5", - "0.60000002384185791", - "0.69999998807907104", - "0.80000001192092896", - "0.89999997615814209", - "1", - "1.1000000238418579", - "1.200000047683716", - "1.2999999523162842", - "1.3999999761581421", - "1.5", - "1.6000000238418579", - "1.700000047683716", - "1.7999999523162842", - "1.8999999761581421", - "2", - "2.2000000476837158", - "2.4000000953674321", - "2.5999999046325684", - "2.7999999523162842", - "3", - "3.2000000476837158", - "3.4000000953674321", - "3.5999999046325684", - "3.7999999523162842", - "4", - "4.4000000953674316", - "4.8000001907348633", - "5.1999998092651367", - "5.5999999046325684", - "6", - "6.5", - "7", - "7.5", - "8", - "9", - "10", - "11", - "12", - "13", - "14", - "15", - "17", - "19", - "21", - "23", - "25", - "30", - "35", - "40", - "50" - ] - }, - "processStandardData": "false", - "processDerivedData": "true" - }, - "strangeness_pbpb_tutorial": { - "nBins": "100", - "cutzvertex": "10", - "cascadesetting_cospa": "0.998", - "cascadesetting_v0cospa": "0.96999999999999997", - "cascadesetting_dcacascdau": "1", - "cascadesetting_dcav0dau": "1", - "cascadesetting_dcabachtopv": "0.0599999987", - "cascadesetting_dcapostopv": "0.0599999987", - "cascadesetting_dcanegtopv": "0.0599999987", - "cascadesetting_mindcav0topv": "0.00999999978", - "cascadesetting_cascradius": "0.5", - "cascadesetting_v0radius": "1.20000005", - "cascadesetting_v0masswindow": "0.00800000038", - "cascadesetting_competingmassrej": "0.00800000038", - "NSigmaTPCPion": "3", - "NSigmaTPCKaon": "3", - "NSigmaTPCProton": "3", - "NSigmaTOFPion": "3", - "NSigmaTOFKaon": "3", - "NSigmaTOFProton": "3" - }, - "internal-dpl-aod-writer": "", - "internal-dpl-aod-global-analysis-file-sink": "", - "internal-dpl-injected-dummy-sink": "" -} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirector.json b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirector.json deleted file mode 100644 index 2c4eeebb7d0..00000000000 --- a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirector.json +++ /dev/null @@ -1,76 +0,0 @@ -{ "OutputDirector": { - "debug_mode": true, - "resfile": "AO2D", - "OutputDescriptors": [ - { - "table": "AOD/DAUTRACKTPCPID/0" - }, - { - "table": "AOD/V0COLLREF/0" - }, - { - "table": "AOD/STRACENTS/0" - }, - { - "table": "AOD/CASCCOLLREF/0" - }, - { - "table": "AOD/CASCEXTRA/0" - }, - { - "table": "AOD/STRACOLLISION/0" - }, - { - "table": "AOD/V0EXTRA/0" - }, - { - "table": "AOD/STRATRACKEXTRAS/0" - }, - { - "table": "AOD/CASCTOTRAREFS/0" - }, - { - "table": "AOD/TRATOCASCREFS/0" - }, - { - "table": "AOD/TRACASCCOLLREF/0" - }, - { - "table": "AOD/TRACASCEXTRA/0" - }, - { - "table": "AOD/STRASTAMPS/0" - }, - { - "table": "AOD/STRAFT0CQVS/0" - }, - { - "table": "AOD/DAUTRACKTOFPID/0" - }, - { - "table": "AOD/DAUTRACKEXTRA/1" - }, - { - "table": "AOD/STRAFT0CQVSEv/0" - }, - { - "table": "AOD/STRATPCQVS/0" - }, - { - "table": "AOD/STRAEVSELS/1" - }, - { - "table": "AOD/V0CORE/0" - }, - { - "table": "AOD/CASCBB/0" - }, - { - "table": "AOD/CASCCORE/0" - }, - { - "table": "AOD/TRACASCCORE/0" - } - ], - "ntfmerge": 1 -} } diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirectorMC.json b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirectorMC.json deleted file mode 100644 index 0a6564c1a9d..00000000000 --- a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/OutputDirectorMC.json +++ /dev/null @@ -1,136 +0,0 @@ -{ "OutputDirector": { - "debug_mode": true, - "resfile": "AO2D", - "OutputDescriptors": [ - { - "table": "AOD/DAUTRACKTPCPID/0" - }, - { - "table": "AOD/V0COLLREF/0" - }, - { - "table": "AOD/STRACENTS/0" - }, - { - "table": "AOD/CASCCOLLREF/0" - }, - { - "table": "AOD/CASCEXTRA/0" - }, - { - "table": "AOD/STRACOLLISION/0" - }, - { - "table": "AOD/V0EXTRA/0" - }, - { - "table": "AOD/CASCMCMOTHER/0" - }, - { - "table": "AOD/V0MCMOTHER/0" - }, - { - "table": "AOD/GeXiMinus/0" - }, - { - "table": "AOD/GeXiPlus/0" - }, - { - "table": "AOD/STRAEVSELS/1" - }, - { - "table": "AOD/MOTHERMCPARTS/0" - }, - { - "table": "AOD/CASCTOTRAREFS/0" - }, - { - "table": "AOD/TRATOCASCREFS/0" - }, - { - "table": "AOD/STRATRACKEXTRAS/0" - }, - { - "table": "AOD/CascTOF/0" - }, - { - "table": "AOD/TRACASCCOLLREF/0" - }, - { - "table": "AOD/STRASTAMPS/0" - }, - { - "table": "AOD/V0TOF/0" - }, - { - "table": "AOD/GeAntiLambda/0" - }, - { - "table": "AOD/STRAEVSELS/0" - }, - { - "table": "AOD/MOTHERMCPART/0" - }, - { - "table": "AOD/GeK0Short/0" - }, - { - "table": "AOD/GeLambda/0" - }, - { - "table": "AOD/GeOmegaMinus/0" - }, - { - "table": "AOD/GeOmegaPlus/0" - }, - { - "table": "AOD/STRACOLLLABELS/0" - }, - { - "table": "AOD/STRAMCCOLLISION/0" - }, - { - "table": "AOD/STRAMCCOLLMULTS/0" - }, - { - "table": "AOD/DAUTRACKTOFPID/0" - }, - { - "table": "AOD/DAUTRACKEXTRA/1" - }, - { - "table": "AOD/DAUTRACKMCID/0" - }, - { - "table": "AOD/V0CORE/0" - }, - { - "table": "AOD/CASCBB/0" - }, - { - "table": "AOD/CASCCORE/0" - }, - { - "table": "AOD/TRACASCCORE/0" - }, - { - "table": "AOD/CASCMCCORE/0" - }, - { - "table": "AOD/CASCCOREMCLABEL/0" - }, - { - "table": "AOD/CASCMCCOLLREF/0" - }, - { - "table": "AOD/V0COREMCLABEL/0" - }, - { - "table": "AOD/V0MCCOLLREF/0" - }, - { - "table": "AOD/V0MCCORE/2" - } - ], - "ntfmerge": 1 -} } diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configuration.json b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configuration.json deleted file mode 100644 index 65d38d14f03..00000000000 --- a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configuration.json +++ /dev/null @@ -1,1639 +0,0 @@ -{ - "strangederivedbuilder": { - "axisNVertices": { - "values": [ - 10, - -0.5, - 9.5 - ] - }, - "processCollisionsMC": "0", - "precisionNSigmas": "0.1", - "processFT0CQVectorsLF": "1", - "fillRawFT0C": "1", - "fillRawFV0A": "1", - "processFT0CQVectors": "0", - "processFV0AQVectors": "0", - "fillEmptyCollisions": "1", - "fillRawFT0A": "1", - "FT0Camplitude": { - "values": [ - 100, - 0, - 2000 - ] - }, - "processTPCQVectors": "0", - "ZNAamplitude": { - "values": [ - 100, - 0, - 250 - ] - }, - "processTrackExtrasMC": "0", - "axisRawCentrality": { - "values": [ - 0, - 0, - 52.31999969482422, - 75.4000015258789, - 95.71900177001953, - 115.36399841308594, - 135.21099853515625, - 155.79100036621094, - 177.50399780273438, - 200.68600463867188, - 225.64100646972656, - 252.64500427246094, - 281.906005859375, - 313.8500061035156, - 348.302001953125, - 385.73199462890625, - 426.3070068359375, - 470.14599609375, - 517.5549926757812, - 568.8989868164062, - 624.177001953125, - 684.02099609375, - 748.7340087890625, - 818.0780029296875, - 892.5770263671875, - 973.0869750976562, - 1058.7889404296875, - 1150.9150390625, - 1249.3189697265625, - 1354.279052734375, - 1465.97900390625, - 1584.7900390625, - 1710.7779541015625, - 1844.863037109375, - 1985.7459716796875, - 2134.64306640625, - 2291.610107421875, - 2456.943115234375, - 2630.653076171875, - 2813.958984375, - 3006.631103515625, - 3207.22900390625, - 3417.64111328125, - 3637.318115234375, - 3865.784912109375, - 4104.9970703125, - 4354.93798828125, - 4615.7861328125, - 4885.3349609375, - 5166.55517578125, - 5458.02099609375, - 5762.583984375, - 6077.880859375, - 6406.833984375, - 6746.43505859375, - 7097.9580078125, - 7462.5791015625, - 7839.1650390625, - 8231.62890625, - 8635.6396484375, - 9052, - 9484.267578125, - 9929.111328125, - 10389.349609375, - 10862.05859375, - 11352.1845703125, - 11856.8232421875, - 12380.37109375, - 12920.4013671875, - 13476.970703125, - 14053.0869140625, - 14646.1904296875, - 15258.42578125, - 15890.6171875, - 16544.43359375, - 17218.0234375, - 17913.46484375, - 18631.373046875, - 19374.982421875, - 20136.69921875, - 20927.783203125, - 21746.796875, - 22590.880859375, - 23465.734375, - 24372.2734375, - 25314.3515625, - 26290.48828125, - 27300.8984375, - 28347.51171875, - 29436.1328125, - 30567.83984375, - 31746.818359375, - 32982.6640625, - 34276.328125, - 35624.859375, - 37042.58984375, - 38546.609375, - 40139.7421875, - 41837.98046875, - 43679.4296875, - 45892.12890625, - 400000 - ] - }, - "FDDAamplitude": { - "values": [ - 100, - 0, - 2000 - ] - }, - "processPureSimulation": "0", - "processTrackExtrasV0sOnly": "0", - "processReconstructedSimulation": "0", - "axisPt": { - "values": [ - 0, - 0, - 0.10000000149011612, - 0.20000000298023224, - 0.30000001192092896, - 0.4000000059604645, - 0.5, - 0.6000000238418579, - 0.699999988079071, - 0.800000011920929, - 0.8999999761581421, - 1, - 1.100000023841858, - 1.2000000476837158, - 1.2999999523162842, - 1.399999976158142, - 1.5, - 1.600000023841858, - 1.7000000476837158, - 1.7999999523162842, - 1.899999976158142, - 2, - 2.200000047683716, - 2.4000000953674316, - 2.5999999046325684, - 2.799999952316284, - 3, - 3.200000047683716, - 3.4000000953674316, - 3.5999999046325684, - 3.799999952316284, - 4, - 4.400000095367432, - 4.800000190734863, - 5.199999809265137, - 5.599999904632568, - 6, - 6.5, - 7, - 7.5, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 17, - 19, - 21, - 23, - 25, - 30, - 35, - 40, - 50 - ] - }, - "fillRawNTracksForCorrelation": "1", - "FV0Aamplitude": { - "values": [ - 100, - 0, - 2000 - ] - }, - "processTrackExtras": "1", - "processStrangeMothers": "0", - "fillRawNTracksEta1": "1", - "fillRawZDC": "1", - "processTPCQVectorsLF": "1", - "fillTOFInformation": "1", - "FDDCamplitude": { - "values": [ - 100, - 0, - 2000 - ] - }, - "processCascadeInterlinkKF": "0", - "processFT0MQVectors": "0", - "fillRawFDDC": "1", - "enableGeneratedInfo": { - "values": [ - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ] - ] - }, - "processBinnedGenerated": "0", - "fillRawFDDA": "1", - "processCollisions": "1", - "processFT0AQVectors": "0", - "processV0FoundTags": "0", - "FT0Aamplitude": { - "values": [ - 100, - 0, - 2000 - ] - }, - "processCascFoundTags": "0", - "axisCentrality": { - "values": [ - 100, - 0, - 100 - ] - }, - "processCollisionsV0sOnly": "0", - "ZNCamplitude": { - "values": [ - 100, - 0, - 250 - ] - }, - "roundNSigmaVariables": "1", - "qaCentrality": "0", - "processCascadeInterlinkTracked": "1" - }, - "tof-signal": { - "ccdb-timestamp": "-1", - "processRun3": "1", - "processRun2": "0", - "distanceForGoodMatchLowMult": "999", - "multThreshold": "0", - "distanceForGoodMatch": "999", - "timeShiftCCDBPath": "", - "ccdb-url": "http://alice-ccdb.cern.ch", - "enableQaHistograms": "0" - }, - "tof-event-time": { - "parametrizationPath": "TOF/Calib/Params", - "sel8TOFEvTime": "0", - "maxNtracksInSet": "10", - "fatalOnPassNotAvailable": "1", - "maxMomentum": "2", - "paramFileName": "", - "processOnlyFT0": "0", - "enableTimeDependentResponse": "0", - "processRun2": "0", - "passName": "", - "inheritFromBaseTask": "1", - "processNoFT0": "0", - "minMomentum": "0.5", - "ccdb-timestamp": "-1", - "maxEvTimeTOF": "100000", - "processFT0": "1", - "ccdb-url": "", - "loadResponseFromCCDB": "0" - }, - "bc-selection-task": { - "ITSROFrameStartBorderMargin": "-1", - "triggerBcShift": "999", - "TimeFrameStartBorderMargin": "-1", - "processRun3": "1", - "processRun2": "0", - "TimeFrameEndBorderMargin": "-1", - "ITSROFrameEndBorderMargin": "-1" - }, - "event-selection-task": { - "TimeRangeVetoOnCollStandard": "10", - "processRun3": "1", - "TimeIntervalForOccupancyCalculationMin": "-40", - "processRun2": "0", - "TimeIntervalForOccupancyCalculationMax": "100", - "ReferenceOccupanciesInTimeBins": { - "values": [ - 3000, - 1400, - 750, - 1000, - 1750, - 4000 - ] - }, - "syst": "PbPb", - "isMC": "0", - "maxDiffZvtxFT0vsPV": "1", - "UseWeightsForOccupancyEstimator": "1", - "muonSelection": "0", - "TimeBinsForOccupancyCalculation": { - "values": [ - -40, - -20, - 0, - 25, - 50, - 75, - 100 - ] - }, - "TimeRangeVetoOnCollNarrow": "4" - }, - "lambdakzero-initializer": {}, - "lambdakzero-builder": { - "maximumPt": "1000", - "axisConfigurations.axisTopoVarDCAToPV": { - "values": [ - 200, - -1, - 1 - ] - }, - "downscalingOptions.downscale_sqrts": "13.6", - "downscalingOptions.downscale_factor1Pt": "1", - "axisConfigurations.axisDeltaDistanceRadii": { - "values": [ - 500, - -50, - 50 - ] - }, - "mlConfigurations.calculateK0ShortScores": "0", - "processRun3": "1", - "processRun2": "0", - "v0radius": "1.2", - "massWindowWithTPCPID": "0", - "processFindableRun3": "0", - "mlConfigurations.thresholdK0Short": "-1", - "downscalingOptions.downscale_adaptive": "0", - "dcaFitterConfigurations.d_UseWeightedPCA": "0", - "axisConfigurations.axisTopoVarDCAV0ToPV": { - "values": [ - 200, - 0, - 5 - ] - }, - "d_UseAutodetectMode": "0", - "qaConfigurations.dQAMaxPt": "5", - "mlConfigurations.modelPathCCDB": "", - "axisConfigurations.axisDCACHI2": { - "values": [ - 500, - 0, - 50 - ] - }, - "massWindownumberOfSigmas": "25", - "downscalingOptions.downscale_triggerMaskSelection": "0", - "createV0DauCovMats": "-1", - "mlConfigurations.localModelPathK0Short": "KZeroShort_BDTModel.onnx", - "qaConfigurations.dQAK0ShortMassWindow": "0.005", - "mlConfigurations.thresholdGamma": "-1", - "massCutLambda": { - "values": [ - [ - 0.0011751799611374736, - 0.00012409899500198662, - 0.005479369778186083, - 0.30800899863243103 - ] - ] - }, - "axisConfigurations.axisTopoVarV0Radius": { - "values": [ - 500, - 0, - 100 - ] - }, - "axisConfigurations.axisDCAXY": { - "values": [ - 500, - -50, - 50 - ] - }, - "dcaFitterConfigurations.d_UseAbsDCA": "1", - "dcaFitterConfigurations.d_maxDZIni": "1e+09", - "qaConfigurations.d_QA_checkMC": "1", - "dcaFitterConfigurations.d_bz": "-999", - "mlConfigurations.loadModelsFromCCDB": "0", - "downscalingOptions.downscale_factorUniform": "0.001", - "mlConfigurations.calculateAntiLambdaScores": "0", - "qaConfigurations.dQALambdaMassWindow": "0.005", - "dcapostopv": "0.05", - "mlConfigurations.calculateLambdaScores": "0", - "ccdbConfigurations.ccdb-url": "http://alice-ccdb.cern.ch", - "qaConfigurations.dQANBinsRadius": "500", - "mlConfigurations.localModelPathGamma": "Gamma_BDTModel.onnx", - "qaConfigurations.d_doTrackQA": "0", - "mlConfigurations.thresholdLambda": "-1", - "ccdbConfigurations.grpPath": "GLO/GRP/GRP", - "ccdbConfigurations.lutPath": "GLO/Param/MatLUT", - "lifetimecut": { - "values": [ - [ - 60, - 20 - ] - ] - }, - "qaConfigurations.d_doQA": "0", - "dcaFitterConfigurations.d_maxDXYIni": "4", - "createV0PosAtIUs": "0", - "precisionDCAs": "0.01", - "mlConfigurations.timestampCCDB": "-1", - "dcav0dau": "1", - "storePhotonCandidates": "1", - "axisConfigurations.axisPtQA": { - "values": [ - 0, - 0, - 0.10000000149011612, - 0.20000000298023224, - 0.30000001192092896, - 0.4000000059604645, - 0.5, - 0.6000000238418579, - 0.699999988079071, - 0.800000011920929, - 0.8999999761581421, - 1, - 1.100000023841858, - 1.2000000476837158, - 1.2999999523162842, - 1.399999976158142, - 1.5, - 1.600000023841858, - 1.7000000476837158, - 1.7999999523162842, - 1.899999976158142, - 2, - 2.200000047683716, - 2.4000000953674316, - 2.5999999046325684, - 2.799999952316284, - 3, - 3.200000047683716, - 3.4000000953674316, - 3.5999999046325684, - 3.799999952316284, - 4, - 4.400000095367432, - 4.800000190734863, - 5.199999809265137, - 5.599999904632568, - 6, - 6.5, - 7, - 7.5, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 17, - 19, - 21, - 23, - 25, - 30, - 35, - 40, - 50 - ] - }, - "ccdbConfigurations.grpmagPath": "GLO/Config/GRPMagField", - "tpcrefit": "0", - "v0cospa": "0.9", - "qaConfigurations.dQANBinsPtCoarse": "10", - "axisConfigurations.axisTopoVarDCAV0Dau": { - "values": [ - 200, - 0, - 2 - ] - }, - "dcaFitterConfigurations.d_UseCollinearFit": "0", - "qaConfigurations.d_QA_checkdEdx": "0", - "axisConfigurations.axisTopoVarRAP": { - "values": [ - 50, - 0, - 1 - ] - }, - "qaConfigurations.dQAGammaMassWindow": "0.05", - "downscalingOptions.downscale_factorPt": "1", - "roundDCAVariables": "0", - "axisConfigurations.axisPositionGuess": { - "values": [ - 240, - 0, - 120 - ] - }, - "mlConfigurations.calculateGammaScores": "0", - "massWindowSafetyMargin": "0.001", - "mlConfigurations.enableOptimizations": "0", - "qaConfigurations.dQANBinsMass": "400", - "dcaFitterConfigurations.rejDiffCollTracks": "0", - "axisConfigurations.axisTopoVarPointingAngle": { - "values": [ - 50, - 0, - 1 - ] - }, - "maxDaughterEta": "0.8", - "dcanegtopv": "0.05", - "ccdbConfigurations.geoPath": "GLO/Config/GeometryAligned", - "axisConfigurations.axisX": { - "values": [ - 200, - 0, - 200 - ] - }, - "axisConfigurations.axisRadius": { - "values": [ - 500, - 0, - 50 - ] - }, - "createV0PosAtDCAs": "1", - "mlConfigurations.localModelPathLambda": "Lambda_BDTModel.onnx", - "dcaFitterConfigurations.useMatCorrType": "2", - "mlConfigurations.thresholdAntiLambda": "-1", - "massCutK0": { - "values": [ - [ - 0.0028188200667500496, - 0.0011405700352042913, - 0.0017213800456374884, - 0.5002620220184326 - ] - ] - }, - "ccdbConfigurations.mVtxPath": "GLO/Calib/MeanVertex", - "createV0CovMats": "-1", - "downscalingOptions.downscaleFactor": "2", - "downscalingOptions.downscale_mass": "0.139", - "mlConfigurations.localModelPathAntiLambda": "AntiLambda_BDTModel.onnx", - "minimumPt": "0" - }, - "lambdakzero-v0-data-link-builder": { - "processFound": "1", - "processFindable": "0" - }, - "lambdakzero-preselector": { - "dIfMCselectPhysicalPrimary": "1", - "ddEdxPreSelectAntiLambda": "1", - "ddEdxPreSelectLambda": "1", - "dIfMCgenerateLambda": "1", - "dTPCNCrossedRows": "70", - "ddEdxPreSelectHypertriton": "0", - "dIfMCgenerateK0Short": "0", - "processBuildFindable": "0", - "ddEdxPreSelectAntiHypertriton": "0", - "processSkipV0sNotUsedInCascades": "0", - "forceITSOnlyMesons": "0", - "dIfMCgenerateHypertriton": "0", - "minITSCluITSOnly": "6", - "dIfMCselectV0MotherPDG": "0", - "dIfMCgenerateAntiHypertriton": "0", - "dIfMCgenerateAntiLambda": "1", - "dPreselectOnlyBaryons": "1", - "processSkipV0sNotUsedInTrackedCascades": "0", - "dIfMCgenerateGamma": "0", - "ddEdxPreSelectGamma": "1", - "processBuildAll": "0", - "processBuildMCAssociated": "0", - "ddEdxPreSelectionWindow": "10", - "processBuildValiddEdx": "1", - "ddEdxPreSelectK0Short": "1", - "processBuildValiddEdxMCAssociated": "0" - }, - "cascade-builder": { - "lutPath": "GLO/Param/MatLUT", - "axisConfigurations.axisTopoVarDCAToPV": { - "values": [ - 200, - -1, - 1 - ] - }, - "d_QA_checkMC": "1", - "casccospa": "0.9", - "processRun3": "0", - "processRun2": "0", - "qaConfigurations.dQAMaxCluSize": "10", - "kfDoDCAFitterPreMinimCasc": "1", - "useMatCorrTypeCasc": "2", - "processFindableRun3": "0", - "qaConfigurations.dQANBinsChi2": "200", - "axisConfigurations.axisTopoVarDCAV0ToPV": { - "values": [ - 200, - 0, - 5 - ] - }, - "d_UseAutodetectMode": "0", - "d_doStraTrackQA": "0", - "qaConfigurations.dQAMaxPt": "5", - "processRun3withKFParticle": "0", - "qaConfigurations.dQAMaxChi2": "20", - "qaConfigurations.dQAOmegaMassWindow": "0.005", - "mlConfigurations.modelPathCCDB": "", - "cas_cospaParameter": "0.341715", - "d_GenerateOnlyTrackedCascades": "0", - "createCascCovMats": "-1", - "calculateBachBaryonVars": "1", - "d_UseWeightedPCA": "0", - "rejDiffCollTracks": "0", - "qaConfigurations.dQANBinsDCAxy": "200", - "dcabachtopv": "0.05", - "mlConfigurations.calculateXiPlusScores": "0", - "dcacascdau": "1", - "axisConfigurations.axisTopoVarV0Radius": { - "values": [ - 500, - 0, - 100 - ] - }, - "geoPath": "GLO/Config/GeometryAligned", - "mlConfigurations.loadModelsFromCCDB": "0", - "axisPtQA": { - "values": [ - 0, - 0, - 0.10000000149011612, - 0.20000000298023224, - 0.30000001192092896, - 0.4000000059604645, - 0.5, - 0.6000000238418579, - 0.699999988079071, - 0.800000011920929, - 0.8999999761581421, - 1, - 1.100000023841858, - 1.2000000476837158, - 1.2999999523162842, - 1.399999976158142, - 1.5, - 1.600000023841858, - 1.7000000476837158, - 1.7999999523162842, - 1.899999976158142, - 2, - 2.200000047683716, - 2.4000000953674316, - 2.5999999046325684, - 2.799999952316284, - 3, - 3.200000047683716, - 3.4000000953674316, - 3.5999999046325684, - 3.799999952316284, - 4, - 4.400000095367432, - 4.800000190734863, - 5.199999809265137, - 5.599999904632568, - 6, - 6.5, - 7, - 7.5, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 17, - 19, - 21, - 23, - 25, - 30, - 35, - 40, - 50 - ] - }, - "mlConfigurations.calculateXiMinusScores": "0", - "mlConfigurations.calculateOmegaPlusScores": "0", - "createCascTrackXs": "-1", - "qaConfigurations.dQANBinsRadius": "500", - "qaConfigurations.dQAXiMassWindow": "0.005", - "mlConfigurations.localModelPathOmegaMinus": "OmegaMinus_BDTModel.onnx", - "mlConfigurations.thresholdOmegaMinus": "-1", - "dcaZCascToPV": "1e+06", - "d_bz": "-999", - "ccdb-url": "http://alice-ccdb.cern.ch", - "qaConfigurations.d_doQA": "0", - "kfConstructMethod": "2", - "kfUseCascadeMassConstraint": "0", - "precisionDCAs": "0.01", - "mlConfigurations.timestampCCDB": "-1", - "kfDoDCAFitterPreMinimV0": "1", - "mlConfigurations.localModelPathOmegaPlus": "OmegaPlus_BDTModel.onnx", - "d_UseAbsDCA": "1", - "tpcrefit": "0", - "grpPath": "GLO/GRP/GRP", - "mlConfigurations.localModelPathXiPlus": "XiPlus_BDTModel.onnx", - "cascradius": "0.9", - "qaConfigurations.dQANBinsPtCoarse": "10", - "axisConfigurations.axisTopoVarDCAV0Dau": { - "values": [ - 200, - 0, - 2 - ] - }, - "mlConfigurations.calculateOmegaMinusScores": "0", - "useMatCorrType": "2", - "axisConfigurations.axisTopoVarRAP": { - "values": [ - 50, - 0, - 1 - ] - }, - "mlConfigurations.thresholdOmegaPlus": "-1", - "d_QA_checkdEdx": "0", - "kfUseV0MassConstraint": "1", - "roundDCAVariables": "0", - "mlConfigurations.enableOptimizations": "0", - "dcaXYCascToPV": "1e+06", - "qaConfigurations.dQANBinsMass": "400", - "kfTuneForOmega": "0", - "axisConfigurations.axisTopoVarPointingAngle": { - "values": [ - 50, - 0, - 1 - ] - }, - "maxDaughterEta": "0.8", - "mlConfigurations.localModelPathXiMinus": "XiMinus_BDTModel.onnx", - "mlConfigurations.thresholdXiMinus": "-1", - "lambdaMassWindow": "0.01", - "d_doPtDep_CosPaCut": "0", - "qaConfigurations.dQANBinsCluSize": "200", - "processRun3withStrangenessTracking": "1", - "qaConfigurations.dQAMaxDCA": "1", - "d_doTrackQA": "0", - "grpmagPath": "GLO/Config/GRPMagField", - "mlConfigurations.thresholdXiPlus": "-1" - }, - "cascade-preselector": { - "dPreselectOnlyBaryons": "1", - "dIfMCselectPhysicalPrimary": "1", - "dIfMCgenerateOmegaPlus": "1", - "ddEdxPreSelectXiMinus": "1", - "dTPCNCrossedRows": "70", - "processSkipCascadesNotUsedInTrackedCascades": "0", - "processBuildAll": "0", - "processBuildFindable": "0", - "dIfMCgenerateXiPlus": "1", - "processBuildMCAssociated": "0", - "dIfMCgenerateXiMinus": "1", - "dIfMCgenerateOmegaMinus": "1", - "ddEdxPreSelectionWindow": "10", - "ddEdxPreSelectOmegaPlus": "1", - "doQA": "0", - "ddEdxPreSelectXiPlus": "1", - "dIfMCselectV0MotherPDG": "0", - "processBuildValiddEdx": "1", - "ddEdxPreSelectOmegaMinus": "1", - "processBuildValiddEdxMCAssociated": "0" - }, - "cascade-link-builder": { - "processFound": "1", - "processFindable": "0" - }, - "kfcascade-link-builder": {}, - "cascade-initializer": {}, - "tracascade-link-builder": {}, - "multiplicity-table": { - "processRun3": "1", - "processRun2": "0", - "enabledTables": { - "values": [ - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - 1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ] - ] - }, - "fractionOfEvents": "2", - "min_pt_globaltrack": "0.15", - "min_ncluster_its_globaltrack": "5", - "max_pt_globaltrack": "1e+10", - "processGlobalTrackingCounters": "1", - "min_ncluster_itsib_globaltrack": "1", - "doVertexZeq": "1", - "produceHistograms": "0", - "reconstructionPass": "", - "ccdbpath": "Centrality/Calibration", - "ccdburl": "http://alice-ccdb.cern.ch", - "processMC": "0" - }, - "centrality-table": { - "produceHistograms": "0", - "processRun3": "1", - "genname": "", - "reconstructionPass": "", - "processRun2": "0", - "ccdbpath": "Centrality/Estimators", - "processRun3FT0": "0", - "ccdburl": "http://alice-ccdb.cern.ch", - "enabledTables": { - "values": [ - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - 1 - ], - [ - -1 - ], - [ - -1 - ] - ] - }, - "doNotCrashOnNull": "1", - "embedINELgtZEROselection": "0", - "binsPercentile": { - "values": [ - 0, - 0, - 0.001, - 0.002, - 0.003, - 0.004, - 0.005, - 0.006, - 0.007, - 0.008, - 0.009, - 0.01, - 0.011, - 0.012, - 0.013, - 0.014, - 0.015, - 0.016, - 0.017, - 0.018, - 0.019, - 0.02, - 0.021, - 0.022, - 0.023, - 0.024, - 0.025, - 0.026, - 0.027, - 0.028, - 0.029, - 0.03, - 0.031, - 0.032, - 0.033, - 0.034, - 0.035, - 0.036, - 0.037, - 0.038, - 0.039, - 0.04, - 0.041, - 0.042, - 0.043, - 0.044, - 0.045, - 0.046, - 0.047, - 0.048, - 0.049, - 0.05, - 0.051, - 0.052, - 0.053, - 0.054, - 0.055, - 0.056, - 0.057, - 0.058, - 0.059, - 0.06, - 0.061, - 0.062, - 0.063, - 0.064, - 0.065, - 0.066, - 0.067, - 0.068, - 0.069, - 0.07, - 0.071, - 0.072, - 0.073, - 0.074, - 0.075, - 0.076, - 0.077, - 0.078, - 0.079, - 0.08, - 0.081, - 0.082, - 0.083, - 0.084, - 0.085, - 0.086, - 0.087, - 0.088, - 0.089, - 0.09, - 0.091, - 0.092, - 0.093, - 0.094, - 0.095, - 0.096, - 0.097, - 0.098, - 0.099, - 0.1, - 0.11, - 0.12, - 0.13, - 0.14, - 0.15, - 0.16, - 0.17, - 0.18, - 0.19, - 0.2, - 0.21, - 0.22, - 0.23, - 0.24, - 0.25, - 0.26, - 0.27, - 0.28, - 0.29, - 0.3, - 0.31, - 0.32, - 0.33, - 0.34, - 0.35, - 0.36, - 0.37, - 0.38, - 0.39, - 0.4, - 0.41, - 0.42, - 0.43, - 0.44, - 0.45, - 0.46, - 0.47, - 0.48, - 0.49, - 0.5, - 0.51, - 0.52, - 0.53, - 0.54, - 0.55, - 0.56, - 0.57, - 0.58, - 0.59, - 0.6, - 0.61, - 0.62, - 0.63, - 0.64, - 0.65, - 0.66, - 0.67, - 0.68, - 0.69, - 0.7, - 0.71, - 0.72, - 0.73, - 0.74, - 0.75, - 0.76, - 0.77, - 0.78, - 0.79, - 0.8, - 0.81, - 0.82, - 0.83, - 0.84, - 0.85, - 0.86, - 0.87, - 0.88, - 0.89, - 0.9, - 0.91, - 0.92, - 0.93, - 0.94, - 0.95, - 0.96, - 0.97, - 0.98, - 0.99, - 1, - 1.1, - 1.2, - 1.3, - 1.4, - 1.5, - 1.6, - 1.7, - 1.8, - 1.9, - 2, - 2.1, - 2.2, - 2.3, - 2.4, - 2.5, - 2.6, - 2.7, - 2.8, - 2.9, - 3, - 3.1, - 3.2, - 3.3, - 3.4, - 3.5, - 3.6, - 3.7, - 3.8, - 3.9, - 4, - 4.1, - 4.2, - 4.3, - 4.4, - 4.5, - 4.6, - 4.7, - 4.8, - 4.9, - 5, - 5.1, - 5.2, - 5.3, - 5.4, - 5.5, - 5.6, - 5.7, - 5.8, - 5.9, - 6, - 6.1, - 6.2, - 6.3, - 6.4, - 6.5, - 6.6, - 6.7, - 6.8, - 6.9, - 7, - 7.1, - 7.2, - 7.3, - 7.4, - 7.5, - 7.6, - 7.7, - 7.8, - 7.9, - 8, - 8.1, - 8.2, - 8.3, - 8.4, - 8.5, - 8.6, - 8.7, - 8.8, - 8.9, - 9, - 9.1, - 9.2, - 9.3, - 9.4, - 9.5, - 9.6, - 9.7, - 9.8, - 9.9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - 39, - 40, - 41, - 42, - 43, - 44, - 45, - 46, - 47, - 48, - 49, - 50, - 51, - 52, - 53, - 54, - 55, - 56, - 57, - 58, - 59, - 60, - 61, - 62, - 63, - 64, - 65, - 66, - 67, - 68, - 69, - 70, - 71, - 72, - 73, - 74, - 75, - 76, - 77, - 78, - 79, - 80, - 81, - 82, - 83, - 84, - 85, - 86, - 87, - 88, - 89, - 90, - 91, - 92, - 93, - 94, - 95, - 96, - 97, - 98, - 99, - 100 - ] - } - }, - "epvector": { - "useGainCallib": "1", - "ConfGainPath": "Users/s/skundu/My/Object/PbPbpass3TPCA11/gaincallib_all2", - "ccdb-no-later-than": "1712019074832", - "cfgCutPTMax": "3", - "useShift": "1", - "cfgCutVertex": "10", - "cfgITScluster": "5", - "cfgCutDCAxy": "0.1", - "cfgMinEta": "0.1", - "cfgURL": "http://alice-ccdb.cern.ch", - "ConfShift": "Users/s/skundu/My/Object/PbPbpass3TPCA11/shift", - "cfgCutPT": "0.2", - "cfgCutDCAz": "0.1", - "useRecentere": "1", - "cfgCutCentrality": "80", - "ConfRecentere": "Users/s/skundu/My/Object/PbPbpass3TPCA11/recenter", - "configAxisCentrality": { - "values": [ - 80, - 0, - 80 - ] - }, - "cfgCutEta": "0.8" - }, - "centrality-qa": { - "processRun3_FT0M": "0", - "processRun3_NTPV": "0", - "INELgtZERO": "1", - "processRun2PP": "0", - "processRun3_FT0A": "0", - "nBins": "1050", - "processRun2PbPb": "0", - "processRun3_FV0A": "0", - "processRun3_FT0C": "1", - "processRun3_FDDM": "0", - "processRun2PPb": "0" - }, - "sgcandproducer": { - "SGCuts.mWithFwdTracks": "0", - "SGCuts.mMinEta": "-0.9", - "SGCuts.mMinRgtrwTOF": "0", - "noITSROFrameBorder": "1", - "rejectAtTFBoundary": "1", - "SGCuts.mNDtcoll": "1", - "SGCuts.mITSOnlyTracks": "1", - "SGCuts.mMaxEta": "0.9", - "SGCuts.mMaxFITtime": "34", - "IsGoodVertex": "0", - "SGCuts.mGlobalTracksOnly": "0", - "SGCuts.mMaxVertexPosz": "1000", - "SGCuts.mFITAmpLimits": { - "values": [ - -1, - 150, - 50, - -1, - -1 - ] - }, - "SGCuts.mMinPt": "0.1", - "SGCuts.mMaxNTracks": "100", - "noSameBunchPileUp": "1", - "saveAllTracks": "1", - "SGCuts.mMinNTracks": "2", - "SGCuts.mPidHypo": "211", - "SGCuts.mMinNBCs": "2", - "SGCuts.mMinVertexPosz": "-1000", - "SGCuts.mMaxPt": "1000", - "savenonPVCITSOnlyTracks": "0", - "ITSTPCVertex": "1" - }, - "timestamp-task": { - "rct-path": "RCT/Info/RunInformation", - "orbit-reset-path": "CTP/Calib/OrbitReset", - "ccdb-url": "http://alice-ccdb.cern.ch", - "verbose": "0", - "isRun2MC": "-1" - }, - "ft0-corrected-table": {}, - "track-propagation": { - "lutPath": "GLO/Param/MatLUT", - "processCovarianceMc": "0", - "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.", - "geoPath": "GLO/Config/GeometryAligned", - "minPropagationDistance": "5", - "axisPtQA": { - "values": [ - 0, - 0, - 0.10000000149011612, - 0.20000000298023224, - 0.30000001192092896, - 0.4000000059604645, - 0.5, - 0.6000000238418579, - 0.699999988079071, - 0.800000011920929, - 0.8999999761581421, - 1, - 1.100000023841858, - 1.2000000476837158, - 1.2999999523162842, - 1.399999976158142, - 1.5, - 1.600000023841858, - 1.7000000476837158, - 1.7999999523162842, - 1.899999976158142, - 2, - 2.200000047683716, - 2.4000000953674316, - 2.5999999046325684, - 2.799999952316284, - 3, - 3.200000047683716, - 3.4000000953674316, - 3.5999999046325684, - 3.799999952316284, - 4, - 4.400000095367432, - 4.800000190734863, - 5.199999809265137, - 5.599999904632568, - 6, - 6.5, - 7, - 7.5, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 17, - 19, - 21, - 23, - 25, - 30, - 35, - 40, - 50 - ] - }, - "useTrackTuner": "0", - "processCovarianceWithPID": "0", - "fillTrackTunerTable": "0", - "mVtxPath": "GLO/Calib/MeanVertex", - "grpmagPath": "GLO/Config/GRPMagField", - "ccdb-url": "http://alice-ccdb.cern.ch", - "processStandard": "1", - "processCovariance": "0", - "processStandardWithPID": "0" - }, - "pid-multiplicity": { - "processIU": "1", - "processStandard": "0" - }, - "tpc-pid": { - "param-file": "", - "pid-tiny-ka": "-1", - "useNetworkDe": "1", - "useNetworkPr": "1", - "useNetworkHe": "1", - "networkPathCCDB": "Analysis/PID/TPC/ML", - "useNetworkTr": "1", - "useNetworkPi": "1", - "enableTuneOnDataTable": "-1", - "pid-tiny-mu": "-1", - "pid-tiny-el": "-1", - "useNetworkKa": "1", - "pid-tiny-al": "-1", - "pid-full-ka": "-1", - "networkSetNumThreads": "0", - "skipTPCOnly": "1", - "recoPass": "", - "processStandard": "1", - "pid-full-mu": "-1", - "useNetworkEl": "1", - "pid-full-al": "-1", - "useNetworkMu": "1", - "networkBetaGammaCutoff": "0.45", - "pid-full-el": "-1", - "pid-tiny-pi": "-1", - "pid-tiny-tr": "-1", - "pid-tiny-he": "-1", - "pid-tiny-pr": "-1", - "ccdbPath": "Analysis/PID/TPC/Response", - "pid-tiny-de": "-1", - "pid-full-pi": "-1", - "autofetchNetworks": "1", - "ccdb-timestamp": "0", - "enableNetworkOptimizations": "1", - "processMcTuneOnData": "0", - "pid-full-de": "-1", - "pid-full-pr": "-1", - "ccdb-url": "http://alice-ccdb.cern.ch", - "useNetworkCorrection": "0", - "pid-full-he": "-1", - "pid-full-tr": "-1", - "useNetworkAl": "1", - "networkPathLocally": "network.onnx" - }, - "track-selection": { - "ptMax": "1e+10", - "produceTable": "-1", - "etaMin": "-0.8", - "isRun3": "1", - "itsMatching": "1", - "etaMax": "0.8", - "compatibilityIU": "0", - "dcaSetup": "0", - "ptMin": "0.1", - "produceFBextendedTable": "-1" - }, - "tof-pid-full": { - "parametrizationPath": "", - "fatalOnPassNotAvailable": "1", - "paramFileName": "", - "enableTimeDependentResponse": "0", - "processWSlice": "1", - "processWoSlice": "0", - "passName": "", - "inheritFromBaseTask": "1", - "timeShiftCCDBPath": "", - "enableParticle": { - "values": [ - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ] - ] - }, - "ccdb-timestamp": "-1", - "ccdb-url": "", - "loadResponseFromCCDB": "0" - }, - "tof-pid-beta": { - "enableTOFParams": "0", - "parametrizationPath": "TOF/Calib/Params", - "ccdb-timestamp": "-1", - "fatalOnPassNotAvailable": "1", - "paramFileName": "", - "tof-expreso": "80", - "passName": "", - "ccdb-url": "http://alice-ccdb.cern.ch" - } -} diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configurationMC.json b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configurationMC.json deleted file mode 100644 index 3afddf3b702..00000000000 --- a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/configurationMC.json +++ /dev/null @@ -1,1671 +0,0 @@ -{ - "strangederivedbuilder": { - "axisNVertices": { - "values": [ - 10, - -0.5, - 9.5 - ] - }, - "processCollisionsMC": "1", - "precisionNSigmas": "0.1", - "processFT0CQVectorsLF": "0", - "fillRawFT0C": "1", - "fillRawFV0A": "1", - "processFT0CQVectors": "0", - "processFV0AQVectors": "0", - "fillEmptyCollisions": "1", - "fillRawFT0A": "1", - "FT0Camplitude": { - "values": [ - 100, - 0, - 2000 - ] - }, - "processTPCQVectors": "0", - "ZNAamplitude": { - "values": [ - 100, - 0, - 250 - ] - }, - "processTrackExtrasMC": "1", - "axisRawCentrality": { - "values": [ - 0, - 0, - 52.31999969482422, - 75.4000015258789, - 95.71900177001953, - 115.36399841308594, - 135.21099853515625, - 155.79100036621094, - 177.50399780273438, - 200.68600463867188, - 225.64100646972656, - 252.64500427246094, - 281.906005859375, - 313.8500061035156, - 348.302001953125, - 385.73199462890625, - 426.3070068359375, - 470.14599609375, - 517.5549926757812, - 568.8989868164062, - 624.177001953125, - 684.02099609375, - 748.7340087890625, - 818.0780029296875, - 892.5770263671875, - 973.0869750976562, - 1058.7889404296875, - 1150.9150390625, - 1249.3189697265625, - 1354.279052734375, - 1465.97900390625, - 1584.7900390625, - 1710.7779541015625, - 1844.863037109375, - 1985.7459716796875, - 2134.64306640625, - 2291.610107421875, - 2456.943115234375, - 2630.653076171875, - 2813.958984375, - 3006.631103515625, - 3207.22900390625, - 3417.64111328125, - 3637.318115234375, - 3865.784912109375, - 4104.9970703125, - 4354.93798828125, - 4615.7861328125, - 4885.3349609375, - 5166.55517578125, - 5458.02099609375, - 5762.583984375, - 6077.880859375, - 6406.833984375, - 6746.43505859375, - 7097.9580078125, - 7462.5791015625, - 7839.1650390625, - 8231.62890625, - 8635.6396484375, - 9052, - 9484.267578125, - 9929.111328125, - 10389.349609375, - 10862.05859375, - 11352.1845703125, - 11856.8232421875, - 12380.37109375, - 12920.4013671875, - 13476.970703125, - 14053.0869140625, - 14646.1904296875, - 15258.42578125, - 15890.6171875, - 16544.43359375, - 17218.0234375, - 17913.46484375, - 18631.373046875, - 19374.982421875, - 20136.69921875, - 20927.783203125, - 21746.796875, - 22590.880859375, - 23465.734375, - 24372.2734375, - 25314.3515625, - 26290.48828125, - 27300.8984375, - 28347.51171875, - 29436.1328125, - 30567.83984375, - 31746.818359375, - 32982.6640625, - 34276.328125, - 35624.859375, - 37042.58984375, - 38546.609375, - 40139.7421875, - 41837.98046875, - 43679.4296875, - 45892.12890625, - 400000 - ] - }, - "FDDAamplitude": { - "values": [ - 100, - 0, - 2000 - ] - }, - "processPureSimulation": "1", - "processTrackExtrasV0sOnly": "0", - "processReconstructedSimulation": "1", - "axisPt": { - "values": [ - 0, - 0, - 0.10000000149011612, - 0.20000000298023224, - 0.30000001192092896, - 0.4000000059604645, - 0.5, - 0.6000000238418579, - 0.699999988079071, - 0.800000011920929, - 0.8999999761581421, - 1, - 1.100000023841858, - 1.2000000476837158, - 1.2999999523162842, - 1.399999976158142, - 1.5, - 1.600000023841858, - 1.7000000476837158, - 1.7999999523162842, - 1.899999976158142, - 2, - 2.200000047683716, - 2.4000000953674316, - 2.5999999046325684, - 2.799999952316284, - 3, - 3.200000047683716, - 3.4000000953674316, - 3.5999999046325684, - 3.799999952316284, - 4, - 4.400000095367432, - 4.800000190734863, - 5.199999809265137, - 5.599999904632568, - 6, - 6.5, - 7, - 7.5, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 17, - 19, - 21, - 23, - 25, - 30, - 35, - 40, - 50 - ] - }, - "fillRawNTracksForCorrelation": "1", - "FV0Aamplitude": { - "values": [ - 100, - 0, - 2000 - ] - }, - "processTrackExtras": "0", - "processStrangeMothers": "1", - "fillRawNTracksEta1": "1", - "fillRawZDC": "1", - "processTPCQVectorsLF": "0", - "fillTOFInformation": "1", - "FDDCamplitude": { - "values": [ - 100, - 0, - 2000 - ] - }, - "processCascadeInterlinkKF": "0", - "processFT0MQVectors": "0", - "fillRawFDDC": "0", - "enableGeneratedInfo": { - "values": [ - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - 1 - ] - ] - }, - "processBinnedGenerated": "1", - "fillRawFDDA": "0", - "processCollisions": "0", - "processFT0AQVectors": "0", - "processV0FoundTags": "0", - "FT0Aamplitude": { - "values": [ - 100, - 0, - 2000 - ] - }, - "processCascFoundTags": "0", - "axisCentrality": { - "values": [ - 0, - 0, - 1, - 2, - 3, - 4, - 5, - 10, - 20, - 30, - 40, - 50, - 60, - 70, - 72, - 74, - 76, - 78, - 80, - 81, - 82, - 83, - 84, - 85, - 86, - 87, - 88, - 89, - 90, - 91, - 92, - 93, - 94, - 95, - 96, - 97, - 98, - 99, - 100 - ] - }, - "processCollisionsV0sOnly": "0", - "ZNCamplitude": { - "values": [ - 100, - 0, - 250 - ] - }, - "roundNSigmaVariables": "0", - "qaCentrality": "0", - "processCascadeInterlinkTracked": "0" - }, - "tof-signal": { - "ccdb-timestamp": "-1", - "processRun3": "1", - "processRun2": "0", - "distanceForGoodMatchLowMult": "999", - "multThreshold": "0", - "distanceForGoodMatch": "999", - "timeShiftCCDBPath": "", - "ccdb-url": "http://alice-ccdb.cern.ch", - "enableQaHistograms": "0" - }, - "tof-event-time": { - "parametrizationPath": "TOF/Calib/Params", - "sel8TOFEvTime": "0", - "maxNtracksInSet": "10", - "fatalOnPassNotAvailable": "1", - "maxMomentum": "2", - "paramFileName": "", - "processOnlyFT0": "0", - "enableTimeDependentResponse": "0", - "processRun2": "0", - "passName": "", - "inheritFromBaseTask": "1", - "processNoFT0": "0", - "minMomentum": "0.5", - "ccdb-timestamp": "-1", - "maxEvTimeTOF": "100000", - "processFT0": "1", - "ccdb-url": "", - "loadResponseFromCCDB": "0" - }, - "mc-collision-extra": { - "poiEtaWindow": "0.8", - "processNoCentrality": "0", - "pdgCodeOfInterest": "3312", - "processWithCentrality": "1", - "processMcContexts": "0", - "pdgCodeAbsolute": "1" - }, - "lambdakzero-initializer": {}, - "lambdakzero-builder": { - "maximumPt": "1000", - "axisConfigurations.axisTopoVarDCAToPV": { - "values": [ - 200, - -1, - 1 - ] - }, - "downscalingOptions.downscale_sqrts": "13.6", - "downscalingOptions.downscale_factor1Pt": "1", - "axisConfigurations.axisDeltaDistanceRadii": { - "values": [ - 500, - -50, - 50 - ] - }, - "mlConfigurations.calculateK0ShortScores": "0", - "processRun3": "1", - "processRun2": "0", - "v0radius": "1.2", - "massWindowWithTPCPID": "0", - "processFindableRun3": "0", - "mlConfigurations.thresholdK0Short": "-1", - "downscalingOptions.downscale_adaptive": "0", - "dcaFitterConfigurations.d_UseWeightedPCA": "0", - "axisConfigurations.axisTopoVarDCAV0ToPV": { - "values": [ - 200, - 0, - 5 - ] - }, - "d_UseAutodetectMode": "0", - "qaConfigurations.dQAMaxPt": "5", - "mlConfigurations.modelPathCCDB": "", - "axisConfigurations.axisDCACHI2": { - "values": [ - 500, - 0, - 50 - ] - }, - "massWindownumberOfSigmas": "25", - "downscalingOptions.downscale_triggerMaskSelection": "0", - "createV0DauCovMats": "-1", - "mlConfigurations.localModelPathK0Short": "KZeroShort_BDTModel.onnx", - "qaConfigurations.dQAK0ShortMassWindow": "0.005", - "mlConfigurations.thresholdGamma": "-1", - "massCutLambda": { - "values": [ - [ - 0.0011751799611374736, - 0.00012409899500198662, - 0.005479369778186083, - 0.30800899863243103 - ] - ] - }, - "axisConfigurations.axisTopoVarV0Radius": { - "values": [ - 500, - 0, - 100 - ] - }, - "axisConfigurations.axisDCAXY": { - "values": [ - 500, - -50, - 50 - ] - }, - "dcaFitterConfigurations.d_UseAbsDCA": "1", - "dcaFitterConfigurations.d_maxDZIni": "1e+09", - "qaConfigurations.d_QA_checkMC": "1", - "dcaFitterConfigurations.d_bz": "-999", - "mlConfigurations.loadModelsFromCCDB": "0", - "downscalingOptions.downscale_factorUniform": "0.001", - "mlConfigurations.calculateAntiLambdaScores": "0", - "qaConfigurations.dQALambdaMassWindow": "0.005", - "dcapostopv": "0.05", - "mlConfigurations.calculateLambdaScores": "0", - "ccdbConfigurations.ccdb-url": "http://alice-ccdb.cern.ch", - "qaConfigurations.dQANBinsRadius": "500", - "mlConfigurations.localModelPathGamma": "Gamma_BDTModel.onnx", - "qaConfigurations.d_doTrackQA": "0", - "mlConfigurations.thresholdLambda": "-1", - "ccdbConfigurations.grpPath": "GLO/GRP/GRP", - "ccdbConfigurations.lutPath": "GLO/Param/MatLUT", - "lifetimecut": { - "values": [ - [ - 60, - 20 - ] - ] - }, - "qaConfigurations.d_doQA": "0", - "dcaFitterConfigurations.d_maxDXYIni": "4", - "createV0PosAtIUs": "0", - "precisionDCAs": "0.01", - "mlConfigurations.timestampCCDB": "-1", - "dcav0dau": "1", - "storePhotonCandidates": "1", - "axisConfigurations.axisPtQA": { - "values": [ - 0, - 0, - 0.10000000149011612, - 0.20000000298023224, - 0.30000001192092896, - 0.4000000059604645, - 0.5, - 0.6000000238418579, - 0.699999988079071, - 0.800000011920929, - 0.8999999761581421, - 1, - 1.100000023841858, - 1.2000000476837158, - 1.2999999523162842, - 1.399999976158142, - 1.5, - 1.600000023841858, - 1.7000000476837158, - 1.7999999523162842, - 1.899999976158142, - 2, - 2.200000047683716, - 2.4000000953674316, - 2.5999999046325684, - 2.799999952316284, - 3, - 3.200000047683716, - 3.4000000953674316, - 3.5999999046325684, - 3.799999952316284, - 4, - 4.400000095367432, - 4.800000190734863, - 5.199999809265137, - 5.599999904632568, - 6, - 6.5, - 7, - 7.5, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 17, - 19, - 21, - 23, - 25, - 30, - 35, - 40, - 50 - ] - }, - "ccdbConfigurations.grpmagPath": "GLO/Config/GRPMagField", - "tpcrefit": "0", - "v0cospa": "0.9", - "qaConfigurations.dQANBinsPtCoarse": "10", - "axisConfigurations.axisTopoVarDCAV0Dau": { - "values": [ - 200, - 0, - 2 - ] - }, - "dcaFitterConfigurations.d_UseCollinearFit": "0", - "qaConfigurations.d_QA_checkdEdx": "0", - "axisConfigurations.axisTopoVarRAP": { - "values": [ - 50, - 0, - 1 - ] - }, - "qaConfigurations.dQAGammaMassWindow": "0.05", - "downscalingOptions.downscale_factorPt": "1", - "roundDCAVariables": "0", - "axisConfigurations.axisPositionGuess": { - "values": [ - 240, - 0, - 120 - ] - }, - "mlConfigurations.calculateGammaScores": "0", - "massWindowSafetyMargin": "0.001", - "mlConfigurations.enableOptimizations": "0", - "qaConfigurations.dQANBinsMass": "400", - "dcaFitterConfigurations.rejDiffCollTracks": "0", - "axisConfigurations.axisTopoVarPointingAngle": { - "values": [ - 50, - 0, - 1 - ] - }, - "maxDaughterEta": "0.8", - "dcanegtopv": "0.05", - "ccdbConfigurations.geoPath": "GLO/Config/GeometryAligned", - "axisConfigurations.axisX": { - "values": [ - 200, - 0, - 200 - ] - }, - "axisConfigurations.axisRadius": { - "values": [ - 500, - 0, - 50 - ] - }, - "createV0PosAtDCAs": "1", - "mlConfigurations.localModelPathLambda": "Lambda_BDTModel.onnx", - "dcaFitterConfigurations.useMatCorrType": "2", - "mlConfigurations.thresholdAntiLambda": "-1", - "massCutK0": { - "values": [ - [ - 0.0028188200667500496, - 0.0011405700352042913, - 0.0017213800456374884, - 0.5002620220184326 - ] - ] - }, - "ccdbConfigurations.mVtxPath": "GLO/Calib/MeanVertex", - "createV0CovMats": "-1", - "downscalingOptions.downscaleFactor": "2", - "downscalingOptions.downscale_mass": "0.139", - "mlConfigurations.localModelPathAntiLambda": "AntiLambda_BDTModel.onnx", - "minimumPt": "0" - }, - "lambdakzero-v0-data-link-builder": { - "processFound": "1", - "processFindable": "0" - }, - "lambdakzero-preselector": { - "dIfMCselectPhysicalPrimary": "1", - "ddEdxPreSelectAntiLambda": "1", - "ddEdxPreSelectLambda": "1", - "dIfMCgenerateLambda": "1", - "dTPCNCrossedRows": "70", - "ddEdxPreSelectHypertriton": "0", - "dIfMCgenerateK0Short": "0", - "processBuildFindable": "0", - "ddEdxPreSelectAntiHypertriton": "0", - "processSkipV0sNotUsedInCascades": "0", - "forceITSOnlyMesons": "0", - "dIfMCgenerateHypertriton": "0", - "minITSCluITSOnly": "6", - "dIfMCselectV0MotherPDG": "0", - "dIfMCgenerateAntiHypertriton": "0", - "dIfMCgenerateAntiLambda": "1", - "dPreselectOnlyBaryons": "1", - "processSkipV0sNotUsedInTrackedCascades": "0", - "dIfMCgenerateGamma": "0", - "ddEdxPreSelectGamma": "1", - "processBuildAll": "0", - "processBuildMCAssociated": "0", - "ddEdxPreSelectionWindow": "10", - "processBuildValiddEdx": "1", - "ddEdxPreSelectK0Short": "1", - "processBuildValiddEdxMCAssociated": "0" - }, - "cascade-builder": { - "lutPath": "GLO/Param/MatLUT", - "axisConfigurations.axisTopoVarDCAToPV": { - "values": [ - 200, - -1, - 1 - ] - }, - "d_QA_checkMC": "1", - "casccospa": "0.9", - "processRun3": "0", - "processRun2": "0", - "qaConfigurations.dQAMaxCluSize": "10", - "kfDoDCAFitterPreMinimCasc": "1", - "useMatCorrTypeCasc": "2", - "processFindableRun3": "0", - "qaConfigurations.dQANBinsChi2": "200", - "axisConfigurations.axisTopoVarDCAV0ToPV": { - "values": [ - 200, - 0, - 5 - ] - }, - "d_UseAutodetectMode": "0", - "d_doStraTrackQA": "0", - "qaConfigurations.dQAMaxPt": "5", - "processRun3withKFParticle": "0", - "qaConfigurations.dQAMaxChi2": "20", - "qaConfigurations.dQAOmegaMassWindow": "0.005", - "mlConfigurations.modelPathCCDB": "", - "cas_cospaParameter": "0.341715", - "d_GenerateOnlyTrackedCascades": "0", - "createCascCovMats": "-1", - "calculateBachBaryonVars": "1", - "d_UseWeightedPCA": "0", - "rejDiffCollTracks": "0", - "qaConfigurations.dQANBinsDCAxy": "200", - "dcabachtopv": "0.05", - "mlConfigurations.calculateXiPlusScores": "0", - "dcacascdau": "1", - "axisConfigurations.axisTopoVarV0Radius": { - "values": [ - 500, - 0, - 100 - ] - }, - "geoPath": "GLO/Config/GeometryAligned", - "mlConfigurations.loadModelsFromCCDB": "0", - "axisPtQA": { - "values": [ - 0, - 0, - 0.10000000149011612, - 0.20000000298023224, - 0.30000001192092896, - 0.4000000059604645, - 0.5, - 0.6000000238418579, - 0.699999988079071, - 0.800000011920929, - 0.8999999761581421, - 1, - 1.100000023841858, - 1.2000000476837158, - 1.2999999523162842, - 1.399999976158142, - 1.5, - 1.600000023841858, - 1.7000000476837158, - 1.7999999523162842, - 1.899999976158142, - 2, - 2.200000047683716, - 2.4000000953674316, - 2.5999999046325684, - 2.799999952316284, - 3, - 3.200000047683716, - 3.4000000953674316, - 3.5999999046325684, - 3.799999952316284, - 4, - 4.400000095367432, - 4.800000190734863, - 5.199999809265137, - 5.599999904632568, - 6, - 6.5, - 7, - 7.5, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 17, - 19, - 21, - 23, - 25, - 30, - 35, - 40, - 50 - ] - }, - "mlConfigurations.calculateXiMinusScores": "0", - "mlConfigurations.calculateOmegaPlusScores": "0", - "createCascTrackXs": "-1", - "qaConfigurations.dQANBinsRadius": "500", - "qaConfigurations.dQAXiMassWindow": "0.005", - "mlConfigurations.localModelPathOmegaMinus": "OmegaMinus_BDTModel.onnx", - "mlConfigurations.thresholdOmegaMinus": "-1", - "dcaZCascToPV": "1e+06", - "d_bz": "-999", - "ccdb-url": "http://alice-ccdb.cern.ch", - "qaConfigurations.d_doQA": "0", - "kfConstructMethod": "2", - "kfUseCascadeMassConstraint": "0", - "precisionDCAs": "0.01", - "mlConfigurations.timestampCCDB": "-1", - "kfDoDCAFitterPreMinimV0": "1", - "mlConfigurations.localModelPathOmegaPlus": "OmegaPlus_BDTModel.onnx", - "d_UseAbsDCA": "1", - "tpcrefit": "0", - "grpPath": "GLO/GRP/GRP", - "mlConfigurations.localModelPathXiPlus": "XiPlus_BDTModel.onnx", - "cascradius": "0.9", - "qaConfigurations.dQANBinsPtCoarse": "10", - "axisConfigurations.axisTopoVarDCAV0Dau": { - "values": [ - 200, - 0, - 2 - ] - }, - "mlConfigurations.calculateOmegaMinusScores": "0", - "useMatCorrType": "2", - "axisConfigurations.axisTopoVarRAP": { - "values": [ - 50, - 0, - 1 - ] - }, - "mlConfigurations.thresholdOmegaPlus": "-1", - "d_QA_checkdEdx": "0", - "kfUseV0MassConstraint": "1", - "roundDCAVariables": "0", - "mlConfigurations.enableOptimizations": "0", - "dcaXYCascToPV": "1e+06", - "qaConfigurations.dQANBinsMass": "400", - "kfTuneForOmega": "0", - "axisConfigurations.axisTopoVarPointingAngle": { - "values": [ - 50, - 0, - 1 - ] - }, - "maxDaughterEta": "0.8", - "mlConfigurations.localModelPathXiMinus": "XiMinus_BDTModel.onnx", - "mlConfigurations.thresholdXiMinus": "-1", - "lambdaMassWindow": "0.01", - "d_doPtDep_CosPaCut": "0", - "qaConfigurations.dQANBinsCluSize": "200", - "processRun3withStrangenessTracking": "1", - "qaConfigurations.dQAMaxDCA": "1", - "d_doTrackQA": "0", - "grpmagPath": "GLO/Config/GRPMagField", - "mlConfigurations.thresholdXiPlus": "-1" - }, - "cascade-preselector": { - "dPreselectOnlyBaryons": "1", - "dIfMCselectPhysicalPrimary": "1", - "dIfMCgenerateOmegaPlus": "1", - "ddEdxPreSelectXiMinus": "1", - "dTPCNCrossedRows": "70", - "processSkipCascadesNotUsedInTrackedCascades": "0", - "processBuildAll": "0", - "processBuildFindable": "0", - "dIfMCgenerateXiPlus": "1", - "processBuildMCAssociated": "0", - "dIfMCgenerateXiMinus": "1", - "dIfMCgenerateOmegaMinus": "1", - "ddEdxPreSelectionWindow": "10", - "ddEdxPreSelectOmegaPlus": "1", - "doQA": "0", - "ddEdxPreSelectXiPlus": "1", - "dIfMCselectV0MotherPDG": "0", - "processBuildValiddEdx": "1", - "ddEdxPreSelectOmegaMinus": "1", - "processBuildValiddEdxMCAssociated": "0" - }, - "cascade-link-builder": { - "processFound": "1", - "processFindable": "0" - }, - "kfcascade-link-builder": {}, - "cascade-initializer": {}, - "tracascade-link-builder": {}, - "cascademcbuilder": { - "populateCascMCCoresSymmetric": "0", - "processBBTags": "1", - "processFindableCascades": "0", - "populateCascMCCoresAsymmetric": "1", - "processKFCascades": "0", - "addGeneratedOmegaPlus": "0", - "addGeneratedXiMinus": "0", - "processTrackedCascades": "1", - "rapidityWindow": "0.5", - "processCascades": "1", - "addGeneratedXiPlus": "0", - "addGeneratedOmegaMinus": "0" - }, - "centrality-table": { - "produceHistograms": "0", - "processRun3": "1", - "genname": "PYTHIA", - "reconstructionPass": "", - "processRun2": "0", - "ccdbpath": "Centrality/Estimators", - "processRun3FT0": "0", - "ccdburl": "http://alice-ccdb.cern.ch", - "enabledTables": { - "values": [ - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - 1 - ], - [ - -1 - ], - [ - -1 - ] - ] - }, - "doNotCrashOnNull": "1", - "embedINELgtZEROselection": "0", - "binsPercentile": { - "values": [ - 0, - 0, - 0.001, - 0.002, - 0.003, - 0.004, - 0.005, - 0.006, - 0.007, - 0.008, - 0.009, - 0.01, - 0.011, - 0.012, - 0.013, - 0.014, - 0.015, - 0.016, - 0.017, - 0.018, - 0.019, - 0.02, - 0.021, - 0.022, - 0.023, - 0.024, - 0.025, - 0.026, - 0.027, - 0.028, - 0.029, - 0.03, - 0.031, - 0.032, - 0.033, - 0.034, - 0.035, - 0.036, - 0.037, - 0.038, - 0.039, - 0.04, - 0.041, - 0.042, - 0.043, - 0.044, - 0.045, - 0.046, - 0.047, - 0.048, - 0.049, - 0.05, - 0.051, - 0.052, - 0.053, - 0.054, - 0.055, - 0.056, - 0.057, - 0.058, - 0.059, - 0.06, - 0.061, - 0.062, - 0.063, - 0.064, - 0.065, - 0.066, - 0.067, - 0.068, - 0.069, - 0.07, - 0.071, - 0.072, - 0.073, - 0.074, - 0.075, - 0.076, - 0.077, - 0.078, - 0.079, - 0.08, - 0.081, - 0.082, - 0.083, - 0.084, - 0.085, - 0.086, - 0.087, - 0.088, - 0.089, - 0.09, - 0.091, - 0.092, - 0.093, - 0.094, - 0.095, - 0.096, - 0.097, - 0.098, - 0.099, - 0.1, - 0.11, - 0.12, - 0.13, - 0.14, - 0.15, - 0.16, - 0.17, - 0.18, - 0.19, - 0.2, - 0.21, - 0.22, - 0.23, - 0.24, - 0.25, - 0.26, - 0.27, - 0.28, - 0.29, - 0.3, - 0.31, - 0.32, - 0.33, - 0.34, - 0.35, - 0.36, - 0.37, - 0.38, - 0.39, - 0.4, - 0.41, - 0.42, - 0.43, - 0.44, - 0.45, - 0.46, - 0.47, - 0.48, - 0.49, - 0.5, - 0.51, - 0.52, - 0.53, - 0.54, - 0.55, - 0.56, - 0.57, - 0.58, - 0.59, - 0.6, - 0.61, - 0.62, - 0.63, - 0.64, - 0.65, - 0.66, - 0.67, - 0.68, - 0.69, - 0.7, - 0.71, - 0.72, - 0.73, - 0.74, - 0.75, - 0.76, - 0.77, - 0.78, - 0.79, - 0.8, - 0.81, - 0.82, - 0.83, - 0.84, - 0.85, - 0.86, - 0.87, - 0.88, - 0.89, - 0.9, - 0.91, - 0.92, - 0.93, - 0.94, - 0.95, - 0.96, - 0.97, - 0.98, - 0.99, - 1, - 1.1, - 1.2, - 1.3, - 1.4, - 1.5, - 1.6, - 1.7, - 1.8, - 1.9, - 2, - 2.1, - 2.2, - 2.3, - 2.4, - 2.5, - 2.6, - 2.7, - 2.8, - 2.9, - 3, - 3.1, - 3.2, - 3.3, - 3.4, - 3.5, - 3.6, - 3.7, - 3.8, - 3.9, - 4, - 4.1, - 4.2, - 4.3, - 4.4, - 4.5, - 4.6, - 4.7, - 4.8, - 4.9, - 5, - 5.1, - 5.2, - 5.3, - 5.4, - 5.5, - 5.6, - 5.7, - 5.8, - 5.9, - 6, - 6.1, - 6.2, - 6.3, - 6.4, - 6.5, - 6.6, - 6.7, - 6.8, - 6.9, - 7, - 7.1, - 7.2, - 7.3, - 7.4, - 7.5, - 7.6, - 7.7, - 7.8, - 7.9, - 8, - 8.1, - 8.2, - 8.3, - 8.4, - 8.5, - 8.6, - 8.7, - 8.8, - 8.9, - 9, - 9.1, - 9.2, - 9.3, - 9.4, - 9.5, - 9.6, - 9.7, - 9.8, - 9.9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - 39, - 40, - 41, - 42, - 43, - 44, - 45, - 46, - 47, - 48, - 49, - 50, - 51, - 52, - 53, - 54, - 55, - 56, - 57, - 58, - 59, - 60, - 61, - 62, - 63, - 64, - 65, - 66, - 67, - 68, - 69, - 70, - 71, - 72, - 73, - 74, - 75, - 76, - 77, - 78, - 79, - 80, - 81, - 82, - 83, - 84, - 85, - 86, - 87, - 88, - 89, - 90, - 91, - 92, - 93, - 94, - 95, - 96, - 97, - 98, - 99, - 100 - ] - } - }, - "lambdakzeromcbuilder": { - "addGeneratedK0Short": "0", - "populateV0MCCoresSymmetric": "0", - "addGeneratedLambda": "0", - "addGeneratedAntiLambda": "0", - "addGeneratedGamma": "0", - "populateV0MCCoresAsymmetric": "1", - "rapidityWindow": "0.5" - }, - "mc-collision-converter": {}, - "sgcandproducer": { - "SGCuts.mWithFwdTracks": "0", - "SGCuts.mMinEta": "-0.9", - "SGCuts.mMinRgtrwTOF": "0", - "noITSROFrameBorder": "1", - "rejectAtTFBoundary": "1", - "SGCuts.mNDtcoll": "1", - "SGCuts.mITSOnlyTracks": "1", - "SGCuts.mMaxEta": "0.9", - "SGCuts.mMaxFITtime": "34", - "IsGoodVertex": "0", - "SGCuts.mGlobalTracksOnly": "0", - "SGCuts.mMaxVertexPosz": "1000", - "SGCuts.mFITAmpLimits": { - "values": [ - -1, - 150, - 50, - -1, - -1 - ] - }, - "SGCuts.mMinPt": "0.1", - "SGCuts.mMaxNTracks": "100", - "noSameBunchPileUp": "1", - "saveAllTracks": "1", - "SGCuts.mMinNTracks": "2", - "SGCuts.mPidHypo": "211", - "SGCuts.mMinNBCs": "2", - "SGCuts.mMinVertexPosz": "-1000", - "SGCuts.mMaxPt": "1000", - "savenonPVCITSOnlyTracks": "0", - "ITSTPCVertex": "1" - }, - "timestamp-task": { - "rct-path": "RCT/Info/RunInformation", - "orbit-reset-path": "CTP/Calib/OrbitReset", - "fatalOnInvalidTimestamp": "0", - "ccdb-url": "http://alice-ccdb.cern.ch", - "verbose": "0", - "isRun2MC": "-1" - }, - "ft0-corrected-table": {}, - "track-propagation": { - "lutPath": "GLO/Param/MatLUT", - "processCovarianceMc": "0", - "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.", - "geoPath": "GLO/Config/GeometryAligned", - "minPropagationDistance": "5", - "axisPtQA": { - "values": [ - 0, - 0, - 0.10000000149011612, - 0.20000000298023224, - 0.30000001192092896, - 0.4000000059604645, - 0.5, - 0.6000000238418579, - 0.699999988079071, - 0.800000011920929, - 0.8999999761581421, - 1, - 1.100000023841858, - 1.2000000476837158, - 1.2999999523162842, - 1.399999976158142, - 1.5, - 1.600000023841858, - 1.7000000476837158, - 1.7999999523162842, - 1.899999976158142, - 2, - 2.200000047683716, - 2.4000000953674316, - 2.5999999046325684, - 2.799999952316284, - 3, - 3.200000047683716, - 3.4000000953674316, - 3.5999999046325684, - 3.799999952316284, - 4, - 4.400000095367432, - 4.800000190734863, - 5.199999809265137, - 5.599999904632568, - 6, - 6.5, - 7, - 7.5, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 17, - 19, - 21, - 23, - 25, - 30, - 35, - 40, - 50 - ] - }, - "useTrackTuner": "0", - "processCovarianceWithPID": "0", - "fillTrackTunerTable": "0", - "mVtxPath": "GLO/Calib/MeanVertex", - "grpmagPath": "GLO/Config/GRPMagField", - "ccdb-url": "http://alice-ccdb.cern.ch", - "processStandard": "1", - "processCovariance": "0", - "processStandardWithPID": "0" - }, - "pid-multiplicity": { - "processIU": "1", - "processStandard": "0" - }, - "tpc-pid": { - "param-file": "", - "pid-tiny-ka": "-1", - "useNetworkDe": "1", - "useNetworkPr": "1", - "useNetworkHe": "1", - "networkPathCCDB": "Analysis/PID/TPC/ML", - "useNetworkTr": "1", - "useNetworkPi": "1", - "enableTuneOnDataTable": "-1", - "pid-tiny-mu": "-1", - "pid-tiny-el": "-1", - "useNetworkKa": "1", - "pid-tiny-al": "-1", - "pid-full-ka": "-1", - "networkSetNumThreads": "0", - "skipTPCOnly": "1", - "recoPass": "", - "processStandard": "1", - "pid-full-mu": "-1", - "useNetworkEl": "1", - "pid-full-al": "-1", - "useNetworkMu": "1", - "networkBetaGammaCutoff": "0.45", - "pid-full-el": "-1", - "pid-tiny-pi": "-1", - "pid-tiny-tr": "-1", - "pid-tiny-he": "-1", - "pid-tiny-pr": "-1", - "ccdbPath": "Analysis/PID/TPC/Response", - "pid-tiny-de": "-1", - "pid-full-pi": "-1", - "autofetchNetworks": "1", - "ccdb-timestamp": "0", - "enableNetworkOptimizations": "1", - "processMcTuneOnData": "0", - "pid-full-de": "-1", - "pid-full-pr": "-1", - "ccdb-url": "http://alice-ccdb.cern.ch", - "useNetworkCorrection": "0", - "pid-full-he": "-1", - "pid-full-tr": "-1", - "useNetworkAl": "1", - "networkPathLocally": "network.onnx" - }, - "multiplicity-table": { - "processRun3": "1", - "processRun2": "0", - "enabledTables": { - "values": [ - [ - 1 - ], - [ - 1 - ], - [ - 1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - 1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - 1 - ] - ] - }, - "fractionOfEvents": "2", - "processMC2Mults": "0", - "min_pt_globaltrack": "0.15", - "min_ncluster_its_globaltrack": "5", - "max_pt_globaltrack": "1e+10", - "processGlobalTrackingCounters": "1", - "min_ncluster_itsib_globaltrack": "1", - "doVertexZeq": "1", - "produceHistograms": "0", - "reconstructionPass": "", - "ccdbpath": "Centrality/Calibration", - "ccdburl": "http://alice-ccdb.cern.ch", - "processMC": "1" - }, - "track-selection": { - "ptMax": "1e+10", - "produceTable": "-1", - "etaMin": "-0.8", - "isRun3": "1", - "itsMatching": "1", - "etaMax": "0.8", - "compatibilityIU": "0", - "dcaSetup": "0", - "ptMin": "0.1", - "produceFBextendedTable": "-1" - }, - "tof-pid-full": { - "parametrizationPath": "", - "fatalOnPassNotAvailable": "1", - "paramFileName": "", - "enableTimeDependentResponse": "0", - "processWSlice": "1", - "processWoSlice": "0", - "passName": "", - "inheritFromBaseTask": "1", - "timeShiftCCDBPath": "", - "enableParticle": { - "values": [ - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ], - [ - -1 - ] - ] - }, - "ccdb-timestamp": "-1", - "ccdb-url": "", - "loadResponseFromCCDB": "0" - }, - "tof-pid-beta": { - "enableTOFParams": "0", - "parametrizationPath": "TOF/Calib/Params", - "ccdb-timestamp": "-1", - "fatalOnPassNotAvailable": "1", - "paramFileName": "", - "tof-expreso": "80", - "passName": "", - "ccdb-url": "http://alice-ccdb.cern.ch" - }, - "bc-selection-task": { - "ITSROFrameStartBorderMargin": "-1", - "checkRunDurationLimits": "0", - "triggerBcShift": "0", - "TimeFrameStartBorderMargin": "-1", - "processRun3": "1", - "processRun2": "0", - "TimeFrameEndBorderMargin": "-1", - "ITSROFrameEndBorderMargin": "-1" - }, - "event-selection-task": { - "TimeRangeVetoOnCollStandard": "10", - "processRun3": "1", - "TimeIntervalForOccupancyCalculationMin": "-40", - "processRun2": "0", - "TimeIntervalForOccupancyCalculationMax": "100", - "ReferenceOccupanciesInTimeBins": { - "values": [ - 3000, - 1400, - 750, - 1000, - 1750, - 4000 - ] - }, - "syst": "PbPb", - "isMC": "0", - "maxDiffZvtxFT0vsPV": "1", - "UseWeightsForOccupancyEstimator": "1", - "muonSelection": "0", - "TimeBinsForOccupancyCalculation": { - "values": [ - -40, - -20, - 0, - 25, - 50, - 75, - 100 - ] - }, - "TimeRangeVetoOnCollNarrow": "4" - } -} From c913c5038ad00c4ad6bdd9eab827cc051347205f Mon Sep 17 00:00:00 2001 From: romainschotter Date: Thu, 12 Sep 2024 12:08:19 +0200 Subject: [PATCH 04/10] Please consider the following formatting changes --- .../Analysis/strangeness_pbpb_skeleton.cxx | 1 - .../PbPb/Analysis/strangeness_pbpb_step0.cxx | 1 - .../PbPb/Analysis/strangeness_pbpb_step1.cxx | 11 +++--- .../PbPb/Analysis/strangeness_pbpb_step2.cxx | 11 +++--- .../PbPb/Analysis/strangeness_pbpb_step3.cxx | 11 +++--- .../PbPb/Analysis/strangeness_pbpb_step4.cxx | 37 ++++++++++--------- 6 files changed, 35 insertions(+), 37 deletions(-) diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_skeleton.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_skeleton.cxx index 17c242593cf..788aaead7ae 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_skeleton.cxx +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_skeleton.cxx @@ -15,7 +15,6 @@ /// \author Nepeivoda Roman (roman.nepeivoda@cern.ch) /// \author Chiara De Martin (chiara.de.martin@cern.ch) - #include "Framework/runDataProcessing.h" #include "Framework/AnalysisTask.h" #include "Common/DataModel/EventSelection.h" diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step0.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step0.cxx index d4a3624778e..b0e595246d7 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step0.cxx +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step0.cxx @@ -15,7 +15,6 @@ /// \author Nepeivoda Roman (roman.nepeivoda@cern.ch) /// \author Chiara De Martin (chiara.de.martin@cern.ch) - #include "Framework/runDataProcessing.h" #include "Framework/AnalysisTask.h" #include "Common/DataModel/EventSelection.h" diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step1.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step1.cxx index 2622bfd0051..c3c71da8228 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step1.cxx +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step1.cxx @@ -15,7 +15,6 @@ /// \author Nepeivoda Roman (roman.nepeivoda@cern.ch) /// \author Chiara De Martin (chiara.de.martin@cern.ch) - #include "Framework/runDataProcessing.h" #include "Framework/AnalysisTask.h" #include "Common/DataModel/EventSelection.h" @@ -44,8 +43,8 @@ struct strangeness_pbpb_tutorial { Configurable cutzvertex{"cutzvertex", 10.0f, "Accepted z-vertex range (cm)"}; // Configurable parameters for cascade selection - Configurable cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"}; - Configurable cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"}; + Configurable cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"}; + Configurable cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"}; Configurable cascadesetting_dcacascdau{"cascadesetting_dcacascdau", 1.0, "DCA cascade daughters"}; Configurable cascadesetting_dcav0dau{"cascadesetting_dcav0dau", 1.0, "DCA v0 daughters"}; Configurable cascadesetting_dcabachtopv{"cascadesetting_dcabachtopv", 0.06, "DCA bachelor to PV"}; @@ -135,13 +134,13 @@ struct strangeness_pbpb_tutorial { // Fill histograms! (if possible) rXi.fill(HIST("hMassXiSelected"), casc.mXi()); - rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); rXi.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); - + if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega rOmega.fill(HIST("hMassOmegaSelected"), casc.mOmega()); - rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); rOmega.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); } } diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step2.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step2.cxx index 25f5eb1a32e..1558bb78052 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step2.cxx +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step2.cxx @@ -15,7 +15,6 @@ /// \author Nepeivoda Roman (roman.nepeivoda@cern.ch) /// \author Chiara De Martin (chiara.de.martin@cern.ch) - #include "Framework/runDataProcessing.h" #include "Framework/AnalysisTask.h" #include "Common/DataModel/EventSelection.h" @@ -47,8 +46,8 @@ struct strangeness_pbpb_tutorial { Configurable cutzvertex{"cutzvertex", 10.0f, "Accepted z-vertex range (cm)"}; // Configurable parameters for cascade selection - Configurable cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"}; - Configurable cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"}; + Configurable cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"}; + Configurable cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"}; Configurable cascadesetting_dcacascdau{"cascadesetting_dcacascdau", 1.0, "DCA cascade daughters"}; Configurable cascadesetting_dcav0dau{"cascadesetting_dcav0dau", 1.0, "DCA v0 daughters"}; Configurable cascadesetting_dcabachtopv{"cascadesetting_dcabachtopv", 0.06, "DCA bachelor to PV"}; @@ -161,14 +160,14 @@ struct strangeness_pbpb_tutorial { if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaPi()) < NSigmaTPCPion) { // Xi case rXi.fill(HIST("hMassXiSelected"), casc.mXi()); - rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); rXi.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); } - if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case + if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega rOmega.fill(HIST("hMassOmegaSelected"), casc.mOmega()); - rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); rOmega.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); } } diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step3.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step3.cxx index 5ea66c17f20..ac7b15a4888 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step3.cxx +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step3.cxx @@ -15,7 +15,6 @@ /// \author Nepeivoda Roman (roman.nepeivoda@cern.ch) /// \author Chiara De Martin (chiara.de.martin@cern.ch) - #include "Framework/runDataProcessing.h" #include "Framework/AnalysisTask.h" #include "Common/DataModel/EventSelection.h" @@ -49,8 +48,8 @@ struct strangeness_pbpb_tutorial { Configurable cutzvertex{"cutzvertex", 10.0f, "Accepted z-vertex range (cm)"}; // Configurable parameters for cascade selection - Configurable cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"}; - Configurable cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"}; + Configurable cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"}; + Configurable cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"}; Configurable cascadesetting_dcacascdau{"cascadesetting_dcacascdau", 1.0, "DCA cascade daughters"}; Configurable cascadesetting_dcav0dau{"cascadesetting_dcav0dau", 1.0, "DCA v0 daughters"}; Configurable cascadesetting_dcabachtopv{"cascadesetting_dcabachtopv", 0.06, "DCA bachelor to PV"}; @@ -225,16 +224,16 @@ struct strangeness_pbpb_tutorial { if (atLeastOneTOF && bachXiPassTOFSelection && posXiPassTOFSelection && negXiPassTOFSelection) rXi.fill(HIST("hMassXiSelectedWithTOF"), casc.mXi()); - rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); rXi.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); } - if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case + if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega rOmega.fill(HIST("hMassOmegaSelected"), casc.mOmega()); if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) rOmega.fill(HIST("hMassOmegaSelectedWithTOF"), casc.mOmega()); - rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); rOmega.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); } } diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx index 2ddf6886b6a..8611fd50c92 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx @@ -15,7 +15,6 @@ /// \author Nepeivoda Roman (roman.nepeivoda@cern.ch) /// \author Chiara De Martin (chiara.de.martin@cern.ch) - #include "Framework/runDataProcessing.h" #include "Framework/AnalysisTask.h" #include "Common/DataModel/EventSelection.h" @@ -52,8 +51,8 @@ struct strangeness_pbpb_tutorial { Configurable cutzvertex{"cutzvertex", 10.0f, "Accepted z-vertex range (cm)"}; // Configurable parameters for cascade selection - Configurable cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"}; - Configurable cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"}; + Configurable cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"}; + Configurable cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"}; Configurable cascadesetting_dcacascdau{"cascadesetting_dcacascdau", 1.0, "DCA cascade daughters"}; Configurable cascadesetting_dcav0dau{"cascadesetting_dcav0dau", 1.0, "DCA v0 daughters"}; Configurable cascadesetting_dcabachtopv{"cascadesetting_dcabachtopv", 0.06, "DCA bachelor to PV"}; @@ -246,17 +245,17 @@ struct strangeness_pbpb_tutorial { rXi.fill(HIST("hMassXiSelectedWithTOF"), casc.mXi()); } - rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); rXi.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); } - if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case + if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega rOmega.fill(HIST("hMassOmegaSelected"), casc.mOmega()); if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) { rOmega.fill(HIST("hMassOmegaSelectedWithTOF"), casc.mOmega()); } - rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); + rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); rOmega.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); } } @@ -269,20 +268,24 @@ struct strangeness_pbpb_tutorial { // Checking that the cascade is a true Xi if (TMath::Abs(cascmccore.pdgCode()) == 3312) { - rXi.fill(HIST("hMassXiTrueRec"), casc.mXi()); - rXi.fill(HIST("hPtXiTrueRec"), casc.pt()); - if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) { - rXi.fill(HIST("hMassXiTrueRecWithTOF"), casc.mXi()); - rXi.fill(HIST("hPtXiTrueRecWithTOF"), casc.pt()); + if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaPi()) < NSigmaTPCPion) { // Xi case + rXi.fill(HIST("hMassXiTrueRec"), casc.mXi()); + rXi.fill(HIST("hPtXiTrueRec"), casc.pt()); + if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) { + rXi.fill(HIST("hMassXiTrueRecWithTOF"), casc.mXi()); + rXi.fill(HIST("hPtXiTrueRecWithTOF"), casc.pt()); + } } } if (TMath::Abs(cascmccore.pdgCode()) == 3334) { - if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega - rOmega.fill(HIST("hMassOmegaTrueRec"), casc.mOmega()); - rOmega.fill(HIST("hPtOmegaTrueRec"), casc.pt()); - if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) { - rOmega.fill(HIST("hMassOmegaTrueRecWithTOF"), casc.mOmega()); - rOmega.fill(HIST("hPtOmegaTrueRecWithTOF"), casc.pt()); + if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case + if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega + rOmega.fill(HIST("hMassOmegaTrueRec"), casc.mOmega()); + rOmega.fill(HIST("hPtOmegaTrueRec"), casc.pt()); + if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) { + rOmega.fill(HIST("hMassOmegaTrueRecWithTOF"), casc.mOmega()); + rOmega.fill(HIST("hPtOmegaTrueRecWithTOF"), casc.pt()); + } } } } From 460580c7e987198f3cbc9546644069ba38f26ca9 Mon Sep 17 00:00:00 2001 From: romainschotter Date: Thu, 12 Sep 2024 12:11:07 +0200 Subject: [PATCH 05/10] Please consider the following formatting changes --- .../Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx | 3 +-- Tutorials/PWGLF/Strangeness/README.md | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx index 8611fd50c92..e67b335119e 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx @@ -106,7 +106,6 @@ struct strangeness_pbpb_tutorial { rOmega.add("hMassOmegaTrueRecWithTOF", "hMassOmegaTrueRecWithTOF", {HistType::kTH1F, {OmegaMassAxis}}); rOmega.add("hPtOmegaTrueRecWithTOF", "hPtOmegaTrueRecWithTOF", {HistType::kTH1F, {ptAxis}}); - // Xi/Omega topological cuts rXi.add("hCascDCAV0Daughters", "hCascDCAV0Daughters", {HistType::kTH1F, {{55, 0.0f, 2.2f}}}); rXi.add("hCascCosPA", "hCascCosPA", {HistType::kTH1F, {{100, 0.95f, 1.f}}}); @@ -261,7 +260,7 @@ struct strangeness_pbpb_tutorial { } // MC truth info - if(!casc.has_cascMCCore()) { + if (!casc.has_cascMCCore()) { continue; } auto cascmccore = casc.cascMCCore_as(); diff --git a/Tutorials/PWGLF/Strangeness/README.md b/Tutorials/PWGLF/Strangeness/README.md index 62c21416865..06aa6d85a28 100644 --- a/Tutorials/PWGLF/Strangeness/README.md +++ b/Tutorials/PWGLF/Strangeness/README.md @@ -13,8 +13,8 @@ This repository contains the codes to analyse V0 and cascade particles in proton * `strangeness_step3.cxx` Check the MC information of the V0s and verify with the PID information of daughter tracks ## PbPb -This repository contains the code to analyse cascade particles in Pb-Pb collisions. -The tutorial revolves around two aspects: +This repository contains the code to analyse cascade particles in Pb-Pb collisions. +The tutorial revolves around two aspects: i) the derived data production in the directory DerivedDataProduction, ii) the analysis of the derived data in the directory Analysis, containing: * `CMakeLists.txt` here are defined the source files to compile From 46113132eac51f3a0a06e15a777171344accf24d Mon Sep 17 00:00:00 2001 From: romainschotter Date: Fri, 11 Oct 2024 13:11:35 +0200 Subject: [PATCH 06/10] Final adjustments for O2AT --- .../Strangeness/PbPb/Analysis/run_skeleton.sh | 24 ++++++++++ .../Strangeness/PbPb/Analysis/run_step0.sh | 23 ++++++++- .../Strangeness/PbPb/Analysis/run_step1.sh | 23 ++++++++- .../Strangeness/PbPb/Analysis/run_step2.sh | 23 ++++++++- .../Strangeness/PbPb/Analysis/run_step3.sh | 23 ++++++++- .../Strangeness/PbPb/Analysis/run_step4.sh | 23 ++++++++- .../PbPb/Analysis/strangeness_pbpb_step1.cxx | 10 +--- .../PbPb/Analysis/strangeness_pbpb_step3.cxx | 35 ++++++-------- .../PbPb/Analysis/strangeness_pbpb_step4.cxx | 48 ++++++++++--------- .../PWGLF/Strangeness/PbPb/CMakeLists.txt | 13 +++++ .../PbPb/DerivedDataProduction/Data/run.sh | 42 ++++++++++++++++ .../PbPb/DerivedDataProduction/MC/runMC.sh | 44 +++++++++++++++++ .../PbPb/DerivedDataProduction/run.sh | 3 -- .../PbPb/DerivedDataProduction/runMC.sh | 3 -- 14 files changed, 275 insertions(+), 62 deletions(-) create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_skeleton.sh create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/CMakeLists.txt create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/Data/run.sh create mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/MC/runMC.sh delete mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/run.sh delete mode 100644 Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/runMC.sh diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_skeleton.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_skeleton.sh new file mode 100644 index 00000000000..01aca861cdf --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_skeleton.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# log file where the terminal output will be saved +STEP="skeleton" +LOGFILE="log-${STEP}.txt" + +#directory of this script +DIR_THIS=$PWD + +OPTION="-b --configuration json://configuration_skeleton.json" + +o2-analysistutorial-lf-strangeness-pbpb-skeleton ${OPTION} --aod-file @input_data.txt > "$LOGFILE" 2>&1 + +# report status +rc=$? +if [ $rc -eq 0 ]; then + echo "No problems!" + mkdir -p ${DIR_THIS}/results/${STEP} + mv AnalysisResults.root ${DIR_THIS}/results/${STEP}/AnalysisResults.root + mv dpl-config.json ${DIR_THIS}/results/${STEP}/${STEP}.json +else + echo "Error: Exit code ${rc}" + echo "Check the log file ${LOGFILE}" + exit ${rc} +fi \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh index 2c929c887f2..8bf260478a8 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh @@ -1,3 +1,24 @@ +#!/bin/bash +# log file where the terminal output will be saved +STEP="0" +LOGFILE="log-${STEP}.txt" + +#directory of this script +DIR_THIS=$PWD + OPTION="-b --configuration json://configuration_step0.json" -o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step0 ${OPTION} --aod-file @input_data.txt \ No newline at end of file +o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step0 ${OPTION} --aod-file @input_data.txt > "$LOGFILE" 2>&1 + +# report status +rc=$? +if [ $rc -eq 0 ]; then + echo "No problems!" + mkdir -p ${DIR_THIS}/results/step${STEP} + mv AnalysisResults.root ${DIR_THIS}/results/step${STEP}/AnalysisResults.root + mv dpl-config.json ${DIR_THIS}/results/step${STEP}/step${STEP}.json +else + echo "Error: Exit code ${rc}" + echo "Check the log file ${LOGFILE}" + exit ${rc} +fi \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh index f7f0cb582ed..210b340b31d 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh @@ -1,3 +1,24 @@ +#!/bin/bash +# log file where the terminal output will be saved +STEP="1" +LOGFILE="log-${STEP}.txt" + +#directory of this script +DIR_THIS=$PWD + OPTION="-b --configuration json://configuration_step1.json" -o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step1 ${OPTION} --aod-file @input_data.txt \ No newline at end of file +o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step1 ${OPTION} --aod-file @input_data.txt > "$LOGFILE" 2>&1 + +# report status +rc=$? +if [ $rc -eq 0 ]; then + echo "No problems!" + mkdir -p ${DIR_THIS}/results/step${STEP} + mv AnalysisResults.root ${DIR_THIS}/results/step${STEP}/AnalysisResults.root + mv dpl-config.json ${DIR_THIS}/results/step${STEP}/step${STEP}.json +else + echo "Error: Exit code ${rc}" + echo "Check the log file ${LOGFILE}" + exit ${rc} +fi \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh index 6a39b233f5d..efebbe06a4b 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh @@ -1,3 +1,24 @@ +#!/bin/bash +# log file where the terminal output will be saved +STEP="2" +LOGFILE="log-${STEP}.txt" + +#directory of this script +DIR_THIS=$PWD + OPTION="-b --configuration json://configuration_step2.json" -o2-analysis-lf-cascadepid ${OPTION} | o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step2 ${OPTION} --aod-file @input_data.txt \ No newline at end of file +o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step2 ${OPTION} --aod-file @input_data.txt > "$LOGFILE" 2>&1 + +# report status +rc=$? +if [ $rc -eq 0 ]; then + echo "No problems!" + mkdir -p ${DIR_THIS}/results/step${STEP} + mv AnalysisResults.root ${DIR_THIS}/results/step${STEP}/AnalysisResults.root + mv dpl-config.json ${DIR_THIS}/results/step${STEP}/step${STEP}.json +else + echo "Error: Exit code ${rc}" + echo "Check the log file ${LOGFILE}" + exit ${rc} +fi \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh index 7426969406f..10e1865b01e 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh @@ -1,3 +1,24 @@ +#!/bin/bash +# log file where the terminal output will be saved +STEP="3" +LOGFILE="log-${STEP}.txt" + +#directory of this script +DIR_THIS=$PWD + OPTION="-b --configuration json://configuration_step3.json" -o2-analysis-lf-cascadepid ${OPTION} | o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step3 ${OPTION} --aod-file @input_data.txt \ No newline at end of file +o2-analysis-lf-cascadepid ${OPTION} | o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step3 ${OPTION} --aod-file @input_data.txt > "$LOGFILE" 2>&1 + +# report status +rc=$? +if [ $rc -eq 0 ]; then + echo "No problems!" + mkdir -p ${DIR_THIS}/results/step${STEP} + mv AnalysisResults.root ${DIR_THIS}/results/step${STEP}/AnalysisResults.root + mv dpl-config.json ${DIR_THIS}/results/step${STEP}/step${STEP}.json +else + echo "Error: Exit code ${rc}" + echo "Check the log file ${LOGFILE}" + exit ${rc} +fi diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh index 0ae9e52741c..12c30ddba7c 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh @@ -1,3 +1,24 @@ +#!/bin/bash +# log file where the terminal output will be saved +STEP="4" +LOGFILE="log-${STEP}.txt" + +#directory of this script +DIR_THIS=$PWD + OPTION="-b --configuration json://configuration_step4.json" -o2-analysis-lf-cascadepid ${OPTION} | o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step4 ${OPTION} --aod-file @input_data.txt \ No newline at end of file +o2-analysis-lf-cascadepid ${OPTION} | o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step4 ${OPTION} --aod-file @input_data.txt > "$LOGFILE" 2>&1 + +# report status +rc=$? +if [ $rc -eq 0 ]; then + echo "No problems!" + mkdir -p ${DIR_THIS}/results/step${STEP} + mv AnalysisResults.root ${DIR_THIS}/results/step${STEP}/AnalysisResults.root + mv dpl-config.json ${DIR_THIS}/results/step${STEP}/step${STEP}.json +else + echo "Error: Exit code ${rc}" + echo "Check the log file ${LOGFILE}" + exit ${rc} +fi \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step1.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step1.cxx index c3c71da8228..836be98b240 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step1.cxx +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step1.cxx @@ -98,22 +98,14 @@ struct strangeness_pbpb_tutorial { nabs(aod::cascdata::dcabachtopv) > cascadesetting_dcabachtopv && aod::cascdata::dcacascdaughters < cascadesetting_dcacascdau); - // Defining the type of the daughter tracks - using dauTracks = aod::DauTrackExtras; - void process(soa::Filtered>::iterator const& collision, - soa::Filtered> const& Cascades, - dauTracks const&) + soa::Filtered> const& Cascades) { // Fill the event counter rEventSelection.fill(HIST("hVertexZRec"), collision.posZ()); // Cascades for (const auto& casc : Cascades) { - const auto& bachDaughterTrackCasc = casc.bachTrackExtra_as(); - const auto& posDaughterTrackCasc = casc.posTrackExtra_as(); - const auto& negDaughterTrackCasc = casc.negTrackExtra_as(); - rXi.fill(HIST("hMassXi"), casc.mXi()); rOmega.fill(HIST("hMassOmega"), casc.mOmega()); diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step3.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step3.cxx index ac7b15a4888..f12a4f02560 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step3.cxx +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step3.cxx @@ -116,7 +116,7 @@ struct strangeness_pbpb_tutorial { aod::cascdata::dcacascdaughters < cascadesetting_dcacascdau); // Defining the type of the daughter tracks - using dauTracks = soa::Join; + using dauTracks = soa::Join; void process(soa::Filtered>::iterator const& collision, soa::Filtered> const& Cascades, @@ -166,62 +166,57 @@ struct strangeness_pbpb_tutorial { } // TOF PID check - bool bachXiPassTOFSelection = true; - bool posXiPassTOFSelection = true; - bool negXiPassTOFSelection = true; - bool bachOmegaPassTOFSelection = true; - bool posOmegaPassTOFSelection = true; - bool negOmegaPassTOFSelection = true; - bool atLeastOneTOF = bachDaughterTrackCasc.hasTOF() || posDaughterTrackCasc.hasTOF() || negDaughterTrackCasc.hasTOF(); + bool xiPassTOFSelection = true; + bool omegaPassTOFSelection = true; if (casc.sign() < 0) { if (posDaughterTrackCasc.hasTOF()) { if (TMath::Abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) { - posXiPassTOFSelection = false; + xiPassTOFSelection &= false; } if (TMath::Abs(casc.tofNSigmaOmLaPr()) > NSigmaTOFProton) { - posOmegaPassTOFSelection = false; + omegaPassTOFSelection &= false; } } if (negDaughterTrackCasc.hasTOF()) { if (TMath::Abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) { - negXiPassTOFSelection = false; + xiPassTOFSelection &= false; } if (TMath::Abs(casc.tofNSigmaOmLaPi()) > NSigmaTOFPion) { - negOmegaPassTOFSelection = false; + omegaPassTOFSelection &= false; } } } else { if (posDaughterTrackCasc.hasTOF()) { if (TMath::Abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) { - posXiPassTOFSelection = false; + xiPassTOFSelection &= false; } if (TMath::Abs(casc.tofNSigmaOmLaPi()) > NSigmaTOFPion) { - posOmegaPassTOFSelection = false; + omegaPassTOFSelection &= false; } } if (negDaughterTrackCasc.hasTOF()) { if (TMath::Abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) { - negXiPassTOFSelection = false; + xiPassTOFSelection &= false; } if (TMath::Abs(casc.tofNSigmaOmLaPr()) > NSigmaTOFProton) { - negOmegaPassTOFSelection = false; + omegaPassTOFSelection &= false; } } } if (bachDaughterTrackCasc.hasTOF()) { if (TMath::Abs(casc.tofNSigmaXiPi()) > NSigmaTOFPion) { - bachXiPassTOFSelection = false; + xiPassTOFSelection &= false; } if (TMath::Abs(casc.tofNSigmaOmKa()) > NSigmaTOFKaon) { - bachOmegaPassTOFSelection = false; + omegaPassTOFSelection &= false; } } // Fill histograms! (if possible) if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaPi()) < NSigmaTPCPion) { // Xi case rXi.fill(HIST("hMassXiSelected"), casc.mXi()); - if (atLeastOneTOF && bachXiPassTOFSelection && posXiPassTOFSelection && negXiPassTOFSelection) + if (xiPassTOFSelection) rXi.fill(HIST("hMassXiSelectedWithTOF"), casc.mXi()); rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); @@ -230,7 +225,7 @@ struct strangeness_pbpb_tutorial { if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega rOmega.fill(HIST("hMassOmegaSelected"), casc.mOmega()); - if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) + if (omegaPassTOFSelection) rOmega.fill(HIST("hMassOmegaSelectedWithTOF"), casc.mOmega()); rOmega.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx index e67b335119e..d45ef3c26a1 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/strangeness_pbpb_step4.cxx @@ -134,7 +134,7 @@ struct strangeness_pbpb_tutorial { aod::cascdata::dcacascdaughters < cascadesetting_dcacascdau); // Defining the type of the daughter tracks - using dauTracks = soa::Join; + using dauTracks = soa::Join; void processRecMC(soa::Filtered>::iterator const& collision, soa::Filtered> const& Cascades, @@ -185,62 +185,66 @@ struct strangeness_pbpb_tutorial { } // TOF PID check - bool bachXiPassTOFSelection = true; - bool posXiPassTOFSelection = true; - bool negXiPassTOFSelection = true; - bool bachOmegaPassTOFSelection = true; - bool posOmegaPassTOFSelection = true; - bool negOmegaPassTOFSelection = true; - bool atLeastOneTOF = bachDaughterTrackCasc.hasTOF() || posDaughterTrackCasc.hasTOF() || negDaughterTrackCasc.hasTOF(); + bool xiPassTOFSelection = true; + bool omegaPassTOFSelection = true; if (casc.sign() < 0) { if (posDaughterTrackCasc.hasTOF()) { if (TMath::Abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) { - posXiPassTOFSelection = false; + xiPassTOFSelection &= false; } if (TMath::Abs(casc.tofNSigmaOmLaPr()) > NSigmaTOFProton) { - posOmegaPassTOFSelection = false; + omegaPassTOFSelection &= false; } } if (negDaughterTrackCasc.hasTOF()) { if (TMath::Abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) { - negXiPassTOFSelection = false; + xiPassTOFSelection &= false; } if (TMath::Abs(casc.tofNSigmaOmLaPi()) > NSigmaTOFPion) { - negOmegaPassTOFSelection = false; + omegaPassTOFSelection &= false; } } } else { if (posDaughterTrackCasc.hasTOF()) { if (TMath::Abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) { - posXiPassTOFSelection = false; + xiPassTOFSelection &= false; } if (TMath::Abs(casc.tofNSigmaOmLaPi()) > NSigmaTOFPion) { - posOmegaPassTOFSelection = false; + omegaPassTOFSelection &= false; } } if (negDaughterTrackCasc.hasTOF()) { if (TMath::Abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) { - negXiPassTOFSelection = false; + xiPassTOFSelection &= false; } if (TMath::Abs(casc.tofNSigmaOmLaPr()) > NSigmaTOFProton) { - negOmegaPassTOFSelection = false; + omegaPassTOFSelection &= false; } } } if (bachDaughterTrackCasc.hasTOF()) { if (TMath::Abs(casc.tofNSigmaXiPi()) > NSigmaTOFPion) { - bachXiPassTOFSelection = false; + xiPassTOFSelection &= false; } if (TMath::Abs(casc.tofNSigmaOmKa()) > NSigmaTOFKaon) { - bachOmegaPassTOFSelection = false; + omegaPassTOFSelection &= false; + } + } + + if (bachDaughterTrackCasc.hasTOF()) { + if (TMath::Abs(casc.tofNSigmaXiPi()) > NSigmaTOFPion) { + xiPassTOFSelection &= false; + } + if (TMath::Abs(casc.tofNSigmaOmKa()) > NSigmaTOFKaon) { + omegaPassTOFSelection &= false; } } // Fill histograms! (if possible) if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaPi()) < NSigmaTPCPion) { // Xi case rXi.fill(HIST("hMassXiSelected"), casc.mXi()); - if (atLeastOneTOF && bachXiPassTOFSelection && posXiPassTOFSelection && negXiPassTOFSelection) { + if (xiPassTOFSelection) { rXi.fill(HIST("hMassXiSelectedWithTOF"), casc.mXi()); } @@ -250,7 +254,7 @@ struct strangeness_pbpb_tutorial { if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega rOmega.fill(HIST("hMassOmegaSelected"), casc.mOmega()); - if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) { + if (omegaPassTOFSelection) { rOmega.fill(HIST("hMassOmegaSelectedWithTOF"), casc.mOmega()); } @@ -270,7 +274,7 @@ struct strangeness_pbpb_tutorial { if (TMath::Abs(bachDaughterTrackCasc.tpcNSigmaPi()) < NSigmaTPCPion) { // Xi case rXi.fill(HIST("hMassXiTrueRec"), casc.mXi()); rXi.fill(HIST("hPtXiTrueRec"), casc.pt()); - if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) { + if (xiPassTOFSelection) { rXi.fill(HIST("hMassXiTrueRecWithTOF"), casc.mXi()); rXi.fill(HIST("hPtXiTrueRecWithTOF"), casc.pt()); } @@ -281,7 +285,7 @@ struct strangeness_pbpb_tutorial { if (TMath::Abs(casc.mXi() - pdgDB->Mass(3312)) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega rOmega.fill(HIST("hMassOmegaTrueRec"), casc.mOmega()); rOmega.fill(HIST("hPtOmegaTrueRec"), casc.pt()); - if (atLeastOneTOF && bachOmegaPassTOFSelection && posOmegaPassTOFSelection && negOmegaPassTOFSelection) { + if (omegaPassTOFSelection) { rOmega.fill(HIST("hMassOmegaTrueRecWithTOF"), casc.mOmega()); rOmega.fill(HIST("hPtOmegaTrueRecWithTOF"), casc.pt()); } diff --git a/Tutorials/PWGLF/Strangeness/PbPb/CMakeLists.txt b/Tutorials/PWGLF/Strangeness/PbPb/CMakeLists.txt new file mode 100644 index 00000000000..f593f821726 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/CMakeLists.txt @@ -0,0 +1,13 @@ +# Copyright 2019-2020 CERN and copyright holders of ALICE O2. +# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +# All rights not expressly granted are reserved. +# +# This software is distributed under the terms of the GNU General Public +# License v3 (GPL Version 3), copied verbatim in the file "COPYING". +# +# In applying this license CERN does not waive the privileges and immunities +# granted to it by virtue of its status as an Intergovernmental Organization +# or submit itself to any jurisdiction. + +add_subdirectory(Analysis) +# add_subdirectory(DerivedDataProduction) \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/Data/run.sh b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/Data/run.sh new file mode 100644 index 00000000000..3c8a361b2e7 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/Data/run.sh @@ -0,0 +1,42 @@ +#!/bin/bash +# log file where the terminal output will be saved +STEP="deriveddata" +LOGFILE="log-${STEP}.txt" + +#directory of this script +DIR_THIS=$PWD + +OPTION="-b --configuration json://configuration.json" + +o2-analysis-pid-tof-base ${OPTION} | +o2-analysis-event-selection ${OPTION} | +o2-analysis-lf-lambdakzerobuilder ${OPTION} | +o2-analysis-lf-cascadebuilder ${OPTION} | +o2-analysis-multiplicity-table ${OPTION} | +o2-analysis-centrality-table ${OPTION} | +o2-analysis-lf-epvector ${OPTION} | +o2-analysis-centrality-qa ${OPTION} | +o2-analysis-ud-sgcand-producer ${OPTION} | +o2-analysis-timestamp ${OPTION} | +o2-analysis-ft0-corrected-table ${OPTION} | +o2-analysis-track-propagation ${OPTION} | +o2-analysis-pid-tpc-base ${OPTION} | +o2-analysis-pid-tpc ${OPTION} | +o2-analysis-trackselection ${OPTION} | +o2-analysis-pid-tof-full ${OPTION} | +o2-analysis-pid-tof-beta ${OPTION} | +o2-analysis-lf-strangederivedbuilder ${OPTION} --aod-file @input_data.txt --aod-writer-json OutputDirector.json > "$LOGFILE" 2>&1 + +# report status +rc=$? +if [ $rc -eq 0 ]; then + echo "No problems!" + mkdir -p ${DIR_THIS}/results/${STEP} + mv AnalysisResults.root ${DIR_THIS}/results/${STEP}/AnalysisResults.root + mv AO2D.root ${DIR_THIS}/results/${STEP}/AO2D.root + mv dpl-config.json ${DIR_THIS}/results/${STEP}/${STEP}.json +else + echo "Error: Exit code ${rc}" + echo "Check the log file ${LOGFILE}" + exit ${rc} +fi \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/MC/runMC.sh b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/MC/runMC.sh new file mode 100644 index 00000000000..27ab73e3a18 --- /dev/null +++ b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/MC/runMC.sh @@ -0,0 +1,44 @@ +#!/bin/bash +# log file where the terminal output will be saved +STEP="deriveddata" +LOGFILE="log-${STEP}.txt" + +#directory of this script +DIR_THIS=$PWD + +OPTION="-b --configuration json://configurationMC.json" + +o2-analysis-pid-tof-base ${OPTION} | +o2-analysis-mccollisionextra ${OPTION} | +o2-analysis-lf-lambdakzerobuilder ${OPTION} | +o2-analysis-lf-cascadebuilder ${OPTION} | +o2-analysis-lf-cascademcbuilder ${OPTION} | +o2-analysis-centrality-table ${OPTION} | +o2-analysis-lf-lambdakzeromcbuilder ${OPTION} | +o2-analysis-mccollision-converter ${OPTION} | +o2-analysis-ud-sgcand-producer ${OPTION} | +o2-analysis-timestamp ${OPTION} | +o2-analysis-ft0-corrected-table ${OPTION} | +o2-analysis-track-propagation ${OPTION} | +o2-analysis-pid-tpc-base ${OPTION} | +o2-analysis-pid-tpc ${OPTION} | +o2-analysis-multiplicity-table ${OPTION} | +o2-analysis-trackselection ${OPTION} | +o2-analysis-pid-tof-full ${OPTION} | +o2-analysis-pid-tof-beta ${OPTION} | +o2-analysis-event-selection ${OPTION} | +o2-analysis-lf-strangederivedbuilder ${OPTION} --aod-file @input_dataMC.txt --aod-writer-json OutputDirectorMC.json > "$LOGFILE" 2>&1 + +# report status +rc=$? +if [ $rc -eq 0 ]; then + echo "No problems!" + mkdir -p ${DIR_THIS}/results/${STEP} + mv AnalysisResults.root ${DIR_THIS}/results/${STEP}/AnalysisResults.root + mv AO2D.root ${DIR_THIS}/results/${STEP}/AO2D.root + mv dpl-config.json ${DIR_THIS}/results/${STEP}/${STEP}.json +else + echo "Error: Exit code ${rc}" + echo "Check the log file ${LOGFILE}" + exit ${rc} +fi \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/run.sh b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/run.sh deleted file mode 100644 index ee4f2a18612..00000000000 --- a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/run.sh +++ /dev/null @@ -1,3 +0,0 @@ -OPTION="-b --configuration json://configuration.json" - -o2-analysis-lf-strangederivedbuilder ${OPTION} | o2-analysis-pid-tof-base ${OPTION} | o2-analysis-event-selection ${OPTION} | o2-analysis-lf-lambdakzerobuilder ${OPTION} | o2-analysis-lf-cascadebuilder ${OPTION} | o2-analysis-multiplicity-table ${OPTION} | o2-analysis-centrality-table ${OPTION} | o2-analysis-lf-epvector ${OPTION} | o2-analysis-centrality-qa ${OPTION} | o2-analysis-ud-sgcand-producer ${OPTION} | o2-analysis-timestamp ${OPTION} | o2-analysis-ft0-corrected-table ${OPTION} | o2-analysis-track-propagation ${OPTION} | o2-analysis-pid-tpc-base ${OPTION} | o2-analysis-pid-tpc ${OPTION} | o2-analysis-trackselection ${OPTION} | o2-analysis-pid-tof-full ${OPTION} | o2-analysis-pid-tof-beta ${OPTION} --aod-file @input_data.txt --aod-writer-json OutputDirector.json \ No newline at end of file diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/runMC.sh b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/runMC.sh deleted file mode 100644 index ebe4580476f..00000000000 --- a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/runMC.sh +++ /dev/null @@ -1,3 +0,0 @@ -OPTION="-b --configuration json://configurationMC.json" - -o2-analysis-lf-strangederivedbuilder ${OPTION} | o2-analysis-pid-tof-base ${OPTION} | o2-analysis-mccollisionextra ${OPTION} | o2-analysis-lf-lambdakzerobuilder ${OPTION} | o2-analysis-lf-cascadebuilder ${OPTION} | o2-analysis-lf-cascademcbuilder ${OPTION} | o2-analysis-centrality-table ${OPTION} | o2-analysis-lf-lambdakzeromcbuilder ${OPTION} | o2-analysis-mccollision-converter ${OPTION} | o2-analysis-ud-sgcand-producer ${OPTION} | o2-analysis-timestamp ${OPTION} | o2-analysis-ft0-corrected-table ${OPTION} | o2-analysis-track-propagation ${OPTION} | o2-analysis-pid-tpc-base ${OPTION} | o2-analysis-pid-tpc ${OPTION} | o2-analysis-multiplicity-table ${OPTION} | o2-analysis-trackselection ${OPTION} | o2-analysis-pid-tof-full ${OPTION} | o2-analysis-pid-tof-beta ${OPTION} | o2-analysis-event-selection ${OPTION} --aod-file @input_dataMC.txt --aod-writer-json OutputDirectorMC.json \ No newline at end of file From 67d0020775fa4c3934b3f608763b497c8ca19594 Mon Sep 17 00:00:00 2001 From: romainschotter Date: Fri, 11 Oct 2024 13:14:02 +0200 Subject: [PATCH 07/10] Add link to O2AT page in README file --- Tutorials/PWGLF/Strangeness/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tutorials/PWGLF/Strangeness/README.md b/Tutorials/PWGLF/Strangeness/README.md index 06aa6d85a28..1976051fe3b 100644 --- a/Tutorials/PWGLF/Strangeness/README.md +++ b/Tutorials/PWGLF/Strangeness/README.md @@ -12,6 +12,8 @@ This repository contains the codes to analyse V0 and cascade particles in proton * `strangeness_step2.cxx` Apply PID selections on V0 daughter tracks * `strangeness_step3.cxx` Check the MC information of the V0s and verify with the PID information of daughter tracks +The introduction and hands-on sessions can be found here: https://indico.cern.ch/event/1326201/ + ## PbPb This repository contains the code to analyse cascade particles in Pb-Pb collisions. The tutorial revolves around two aspects: @@ -22,4 +24,6 @@ ii) the analysis of the derived data in the directory Analysis, containing: * `strangeness_pbpb_step1.cxx` Apply selections on topological variables of cascades * `strangeness_pbpb_step2.cxx` Apply TPC PID selections on cascade daughter tracks * `strangeness_pbpb_step3.cxx` Apply TOF PID selections on cascade daughter tracks (if available) -* `strangeness_pbpb_step4.cxx` Check the MC information of the cascade \ No newline at end of file +* `strangeness_pbpb_step4.cxx` Check the MC information of the cascade + +The introduction and hands-on sessions can be found here: https://indico.cern.ch/event/1425820/ \ No newline at end of file From 2f831c384a710437d5a01f5db2e2f549f53c6549 Mon Sep 17 00:00:00 2001 From: romainschotter Date: Fri, 11 Oct 2024 14:54:56 +0200 Subject: [PATCH 08/10] Please consider the following formatting changes --- .../PbPb/DerivedDataProduction/MC/runMC.sh | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/MC/runMC.sh b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/MC/runMC.sh index 27ab73e3a18..dfe3460aa72 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/MC/runMC.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/MC/runMC.sh @@ -8,24 +8,24 @@ DIR_THIS=$PWD OPTION="-b --configuration json://configurationMC.json" -o2-analysis-pid-tof-base ${OPTION} | -o2-analysis-mccollisionextra ${OPTION} | -o2-analysis-lf-lambdakzerobuilder ${OPTION} | -o2-analysis-lf-cascadebuilder ${OPTION} | -o2-analysis-lf-cascademcbuilder ${OPTION} | -o2-analysis-centrality-table ${OPTION} | -o2-analysis-lf-lambdakzeromcbuilder ${OPTION} | -o2-analysis-mccollision-converter ${OPTION} | -o2-analysis-ud-sgcand-producer ${OPTION} | -o2-analysis-timestamp ${OPTION} | -o2-analysis-ft0-corrected-table ${OPTION} | -o2-analysis-track-propagation ${OPTION} | -o2-analysis-pid-tpc-base ${OPTION} | -o2-analysis-pid-tpc ${OPTION} | -o2-analysis-multiplicity-table ${OPTION} | -o2-analysis-trackselection ${OPTION} | -o2-analysis-pid-tof-full ${OPTION} | -o2-analysis-pid-tof-beta ${OPTION} | +o2-analysis-pid-tof-base ${OPTION} | +o2-analysis-mccollisionextra ${OPTION} | +o2-analysis-lf-lambdakzerobuilder ${OPTION} | +o2-analysis-lf-cascadebuilder ${OPTION} | +o2-analysis-lf-cascademcbuilder ${OPTION} | +o2-analysis-centrality-table ${OPTION} | +o2-analysis-lf-lambdakzeromcbuilder ${OPTION} | +o2-analysis-mccollision-converter ${OPTION} | +o2-analysis-ud-sgcand-producer ${OPTION} | +o2-analysis-timestamp ${OPTION} | +o2-analysis-ft0-corrected-table ${OPTION} | +o2-analysis-track-propagation ${OPTION} | +o2-analysis-pid-tpc-base ${OPTION} | +o2-analysis-pid-tpc ${OPTION} | +o2-analysis-multiplicity-table ${OPTION} | +o2-analysis-trackselection ${OPTION} | +o2-analysis-pid-tof-full ${OPTION} | +o2-analysis-pid-tof-beta ${OPTION} | o2-analysis-event-selection ${OPTION} | o2-analysis-lf-strangederivedbuilder ${OPTION} --aod-file @input_dataMC.txt --aod-writer-json OutputDirectorMC.json > "$LOGFILE" 2>&1 From 92d7cb38f636c47ebadeaf49444d7c0e9e65b571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Fri, 11 Oct 2024 15:22:46 +0200 Subject: [PATCH 09/10] U --- .../Strangeness/PbPb/Analysis/run_skeleton.sh | 8 +-- .../Strangeness/PbPb/Analysis/run_step0.sh | 8 +-- .../Strangeness/PbPb/Analysis/run_step1.sh | 8 +-- .../Strangeness/PbPb/Analysis/run_step2.sh | 8 +-- .../Strangeness/PbPb/Analysis/run_step3.sh | 8 +-- .../Strangeness/PbPb/Analysis/run_step4.sh | 8 +-- .../PbPb/DerivedDataProduction/Data/run.sh | 46 ++++++++--------- .../PbPb/DerivedDataProduction/MC/runMC.sh | 50 +++++++++---------- 8 files changed, 72 insertions(+), 72 deletions(-) diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_skeleton.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_skeleton.sh index 01aca861cdf..9327402771f 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_skeleton.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_skeleton.sh @@ -8,15 +8,15 @@ DIR_THIS=$PWD OPTION="-b --configuration json://configuration_skeleton.json" -o2-analysistutorial-lf-strangeness-pbpb-skeleton ${OPTION} --aod-file @input_data.txt > "$LOGFILE" 2>&1 +o2-analysistutorial-lf-strangeness-pbpb-skeleton "${OPTION}" --aod-file @input_data.txt > "$LOGFILE" 2>&1 # report status rc=$? if [ $rc -eq 0 ]; then echo "No problems!" - mkdir -p ${DIR_THIS}/results/${STEP} - mv AnalysisResults.root ${DIR_THIS}/results/${STEP}/AnalysisResults.root - mv dpl-config.json ${DIR_THIS}/results/${STEP}/${STEP}.json + mkdir -p "${DIR_THIS}/results/${STEP}" + mv AnalysisResults.root "${DIR_THIS}/results/${STEP}/AnalysisResults.root" + mv dpl-config.json "${DIR_THIS}/results/${STEP}/${STEP}.json" else echo "Error: Exit code ${rc}" echo "Check the log file ${LOGFILE}" diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh index 8bf260478a8..537268a04fd 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh @@ -8,15 +8,15 @@ DIR_THIS=$PWD OPTION="-b --configuration json://configuration_step0.json" -o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step0 ${OPTION} --aod-file @input_data.txt > "$LOGFILE" 2>&1 +o2-analysis-lf-cascadespawner "${OPTION}" | o2-analysistutorial-lf-strangeness-pbpb-step0 "${OPTION}" --aod-file @input_data.txt > "$LOGFILE" 2>&1 # report status rc=$? if [ $rc -eq 0 ]; then echo "No problems!" - mkdir -p ${DIR_THIS}/results/step${STEP} - mv AnalysisResults.root ${DIR_THIS}/results/step${STEP}/AnalysisResults.root - mv dpl-config.json ${DIR_THIS}/results/step${STEP}/step${STEP}.json + mkdir -p "${DIR_THIS}/results/step${STEP}" + mv AnalysisResults.root "${DIR_THIS}/results/step${STEP}/AnalysisResults.root" + mv dpl-config.json " "${DIR_THIS}/results/step${STEP}/step${STEP}.json"" else echo "Error: Exit code ${rc}" echo "Check the log file ${LOGFILE}" diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh index 210b340b31d..826f0ea1421 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh @@ -8,15 +8,15 @@ DIR_THIS=$PWD OPTION="-b --configuration json://configuration_step1.json" -o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step1 ${OPTION} --aod-file @input_data.txt > "$LOGFILE" 2>&1 +o2-analysis-lf-cascadespawner "${OPTION}" | o2-analysistutorial-lf-strangeness-pbpb-step1 "${OPTION}" --aod-file @input_data.txt > "$LOGFILE" 2>&1 # report status rc=$? if [ $rc -eq 0 ]; then echo "No problems!" - mkdir -p ${DIR_THIS}/results/step${STEP} - mv AnalysisResults.root ${DIR_THIS}/results/step${STEP}/AnalysisResults.root - mv dpl-config.json ${DIR_THIS}/results/step${STEP}/step${STEP}.json + mkdir -p "${DIR_THIS}/results/step${STEP}" + mv AnalysisResults.root "${DIR_THIS}/results/step${STEP}/AnalysisResults.root" + mv dpl-config.json "${DIR_THIS}/results/step${STEP}/step${STEP}.json" else echo "Error: Exit code ${rc}" echo "Check the log file ${LOGFILE}" diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh index efebbe06a4b..aca62bad45e 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh @@ -8,15 +8,15 @@ DIR_THIS=$PWD OPTION="-b --configuration json://configuration_step2.json" -o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step2 ${OPTION} --aod-file @input_data.txt > "$LOGFILE" 2>&1 +o2-analysis-lf-cascadespawner "${OPTION}" | o2-analysistutorial-lf-strangeness-pbpb-step2 "${OPTION}" --aod-file @input_data.txt > "$LOGFILE" 2>&1 # report status rc=$? if [ $rc -eq 0 ]; then echo "No problems!" - mkdir -p ${DIR_THIS}/results/step${STEP} - mv AnalysisResults.root ${DIR_THIS}/results/step${STEP}/AnalysisResults.root - mv dpl-config.json ${DIR_THIS}/results/step${STEP}/step${STEP}.json + mkdir -p "${DIR_THIS}/results/step${STEP}" + mv AnalysisResults.root "${DIR_THIS}/results/step${STEP}/AnalysisResults.root" + mv dpl-config.json "${DIR_THIS}/results/step${STEP}/step${STEP}.json" else echo "Error: Exit code ${rc}" echo "Check the log file ${LOGFILE}" diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh index 10e1865b01e..580b3c0c17f 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh @@ -8,15 +8,15 @@ DIR_THIS=$PWD OPTION="-b --configuration json://configuration_step3.json" -o2-analysis-lf-cascadepid ${OPTION} | o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step3 ${OPTION} --aod-file @input_data.txt > "$LOGFILE" 2>&1 +o2-analysis-lf-cascadepid "${OPTION}" | o2-analysis-lf-cascadespawner "${OPTION}" | o2-analysistutorial-lf-strangeness-pbpb-step3 "${OPTION}" --aod-file @input_data.txt > "$LOGFILE" 2>&1 # report status rc=$? if [ $rc -eq 0 ]; then echo "No problems!" - mkdir -p ${DIR_THIS}/results/step${STEP} - mv AnalysisResults.root ${DIR_THIS}/results/step${STEP}/AnalysisResults.root - mv dpl-config.json ${DIR_THIS}/results/step${STEP}/step${STEP}.json + mkdir -p "${DIR_THIS}/results/step${STEP}" + mv AnalysisResults.root "${DIR_THIS}/results/step${STEP}/AnalysisResults.root" + mv dpl-config.json "${DIR_THIS}/results/step${STEP}/step${STEP}.json" else echo "Error: Exit code ${rc}" echo "Check the log file ${LOGFILE}" diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh index 12c30ddba7c..08f929b3fa8 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh @@ -8,15 +8,15 @@ DIR_THIS=$PWD OPTION="-b --configuration json://configuration_step4.json" -o2-analysis-lf-cascadepid ${OPTION} | o2-analysis-lf-cascadespawner ${OPTION} | o2-analysistutorial-lf-strangeness-pbpb-step4 ${OPTION} --aod-file @input_data.txt > "$LOGFILE" 2>&1 +o2-analysis-lf-cascadepid "${OPTION}" | o2-analysis-lf-cascadespawner "${OPTION}" | o2-analysistutorial-lf-strangeness-pbpb-step4 "${OPTION}" --aod-file @input_data.txt > "$LOGFILE" 2>&1 # report status rc=$? if [ $rc -eq 0 ]; then echo "No problems!" - mkdir -p ${DIR_THIS}/results/step${STEP} - mv AnalysisResults.root ${DIR_THIS}/results/step${STEP}/AnalysisResults.root - mv dpl-config.json ${DIR_THIS}/results/step${STEP}/step${STEP}.json + mkdir -p "${DIR_THIS}/results/step${STEP}" + mv AnalysisResults.root "${DIR_THIS}/results/step${STEP}/AnalysisResults.root" + mv dpl-config.json "${DIR_THIS}/results/step${STEP}/step${STEP}.json" else echo "Error: Exit code ${rc}" echo "Check the log file ${LOGFILE}" diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/Data/run.sh b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/Data/run.sh index 3c8a361b2e7..632f8375470 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/Data/run.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/Data/run.sh @@ -8,35 +8,35 @@ DIR_THIS=$PWD OPTION="-b --configuration json://configuration.json" -o2-analysis-pid-tof-base ${OPTION} | -o2-analysis-event-selection ${OPTION} | -o2-analysis-lf-lambdakzerobuilder ${OPTION} | -o2-analysis-lf-cascadebuilder ${OPTION} | -o2-analysis-multiplicity-table ${OPTION} | -o2-analysis-centrality-table ${OPTION} | -o2-analysis-lf-epvector ${OPTION} | -o2-analysis-centrality-qa ${OPTION} | -o2-analysis-ud-sgcand-producer ${OPTION} | -o2-analysis-timestamp ${OPTION} | -o2-analysis-ft0-corrected-table ${OPTION} | -o2-analysis-track-propagation ${OPTION} | -o2-analysis-pid-tpc-base ${OPTION} | -o2-analysis-pid-tpc ${OPTION} | -o2-analysis-trackselection ${OPTION} | -o2-analysis-pid-tof-full ${OPTION} | -o2-analysis-pid-tof-beta ${OPTION} | -o2-analysis-lf-strangederivedbuilder ${OPTION} --aod-file @input_data.txt --aod-writer-json OutputDirector.json > "$LOGFILE" 2>&1 +o2-analysis-pid-tof-base "${OPTION}" | + o2-analysis-event-selection "${OPTION}" | + o2-analysis-lf-lambdakzerobuilder "${OPTION}" | + o2-analysis-lf-cascadebuilder "${OPTION}" | + o2-analysis-multiplicity-table "${OPTION}" | + o2-analysis-centrality-table "${OPTION}" | + o2-analysis-lf-epvector "${OPTION}" | + o2-analysis-centrality-qa "${OPTION}" | + o2-analysis-ud-sgcand-producer "${OPTION}" | + o2-analysis-timestamp "${OPTION}" | + o2-analysis-ft0-corrected-table "${OPTION}" | + o2-analysis-track-propagation "${OPTION}" | + o2-analysis-pid-tpc-base "${OPTION}" | + o2-analysis-pid-tpc "${OPTION}" | + o2-analysis-trackselection "${OPTION}" | + o2-analysis-pid-tof-full "${OPTION}" | + o2-analysis-pid-tof-beta "${OPTION}" | + o2-analysis-lf-strangederivedbuilder "${OPTION}" --aod-file @input_data.txt --aod-writer-json OutputDirector.json >"$LOGFILE" 2>&1 # report status rc=$? if [ $rc -eq 0 ]; then echo "No problems!" - mkdir -p ${DIR_THIS}/results/${STEP} - mv AnalysisResults.root ${DIR_THIS}/results/${STEP}/AnalysisResults.root - mv AO2D.root ${DIR_THIS}/results/${STEP}/AO2D.root - mv dpl-config.json ${DIR_THIS}/results/${STEP}/${STEP}.json + mkdir -p "${DIR_THIS}/results/${STEP}" + mv AnalysisResults.root "${DIR_THIS}/results/${STEP}/AnalysisResults.root" + mv AO2D.root "${DIR_THIS}/results/${STEP}/AO2D.root" + mv dpl-config.json "${DIR_THIS}/results/${STEP}/${STEP}.json" else echo "Error: Exit code ${rc}" echo "Check the log file ${LOGFILE}" exit ${rc} -fi \ No newline at end of file +fi diff --git a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/MC/runMC.sh b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/MC/runMC.sh index dfe3460aa72..e9e086e4f4e 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/MC/runMC.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/DerivedDataProduction/MC/runMC.sh @@ -8,37 +8,37 @@ DIR_THIS=$PWD OPTION="-b --configuration json://configurationMC.json" -o2-analysis-pid-tof-base ${OPTION} | -o2-analysis-mccollisionextra ${OPTION} | -o2-analysis-lf-lambdakzerobuilder ${OPTION} | -o2-analysis-lf-cascadebuilder ${OPTION} | -o2-analysis-lf-cascademcbuilder ${OPTION} | -o2-analysis-centrality-table ${OPTION} | -o2-analysis-lf-lambdakzeromcbuilder ${OPTION} | -o2-analysis-mccollision-converter ${OPTION} | -o2-analysis-ud-sgcand-producer ${OPTION} | -o2-analysis-timestamp ${OPTION} | -o2-analysis-ft0-corrected-table ${OPTION} | -o2-analysis-track-propagation ${OPTION} | -o2-analysis-pid-tpc-base ${OPTION} | -o2-analysis-pid-tpc ${OPTION} | -o2-analysis-multiplicity-table ${OPTION} | -o2-analysis-trackselection ${OPTION} | -o2-analysis-pid-tof-full ${OPTION} | -o2-analysis-pid-tof-beta ${OPTION} | -o2-analysis-event-selection ${OPTION} | -o2-analysis-lf-strangederivedbuilder ${OPTION} --aod-file @input_dataMC.txt --aod-writer-json OutputDirectorMC.json > "$LOGFILE" 2>&1 +o2-analysis-pid-tof-base "${OPTION}" | + o2-analysis-mccollisionextra "${OPTION}" | + o2-analysis-lf-lambdakzerobuilder "${OPTION}" | + o2-analysis-lf-cascadebuilder "${OPTION}" | + o2-analysis-lf-cascademcbuilder "${OPTION}" | + o2-analysis-centrality-table "${OPTION}" | + o2-analysis-lf-lambdakzeromcbuilder "${OPTION}" | + o2-analysis-mccollision-converter "${OPTION}" | + o2-analysis-ud-sgcand-producer "${OPTION}" | + o2-analysis-timestamp "${OPTION}" | + o2-analysis-ft0-corrected-table "${OPTION}" | + o2-analysis-track-propagation "${OPTION}" | + o2-analysis-pid-tpc-base "${OPTION}" | + o2-analysis-pid-tpc "${OPTION}" | + o2-analysis-multiplicity-table "${OPTION}" | + o2-analysis-trackselection "${OPTION}" | + o2-analysis-pid-tof-full "${OPTION}" | + o2-analysis-pid-tof-beta "${OPTION}" | + o2-analysis-event-selection "${OPTION}" | + o2-analysis-lf-strangederivedbuilder "${OPTION}" --aod-file @input_dataMC.txt --aod-writer-json OutputDirectorMC.json >"$LOGFILE" 2>&1 # report status rc=$? if [ $rc -eq 0 ]; then echo "No problems!" - mkdir -p ${DIR_THIS}/results/${STEP} - mv AnalysisResults.root ${DIR_THIS}/results/${STEP}/AnalysisResults.root - mv AO2D.root ${DIR_THIS}/results/${STEP}/AO2D.root - mv dpl-config.json ${DIR_THIS}/results/${STEP}/${STEP}.json + mkdir -p "${DIR_THIS}/results/${STEP}" + mv AnalysisResults.root "${DIR_THIS}/results/${STEP}/AnalysisResults.root" + mv AO2D.root "${DIR_THIS}/results/${STEP}/AO2D.root" + mv dpl-config.json "${DIR_THIS}/results/${STEP}/${STEP}.json" else echo "Error: Exit code ${rc}" echo "Check the log file ${LOGFILE}" exit ${rc} -fi \ No newline at end of file +fi From c60a4b338a1e5d8fdd2889152858ecc394063fc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Fri, 11 Oct 2024 15:30:56 +0200 Subject: [PATCH 10/10] Fix --- Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh index 537268a04fd..bcfeb9ab890 100644 --- a/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh +++ b/Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh @@ -16,7 +16,7 @@ if [ $rc -eq 0 ]; then echo "No problems!" mkdir -p "${DIR_THIS}/results/step${STEP}" mv AnalysisResults.root "${DIR_THIS}/results/step${STEP}/AnalysisResults.root" - mv dpl-config.json " "${DIR_THIS}/results/step${STEP}/step${STEP}.json"" + mv dpl-config.json "${DIR_THIS}/results/step${STEP}/step${STEP}.json" else echo "Error: Exit code ${rc}" echo "Check the log file ${LOGFILE}"