From 4eb014451a38dfb237953dbdec20279b174798b0 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Mon, 10 Nov 2025 22:42:09 +0000 Subject: [PATCH] Please consider the following formatting changes --- .../Derived/Analysis/configuration_step3.json | 230 +++++++++--------- .../Derived/Analysis/configuration_step4.json | 228 ++++++++--------- .../Analysis/strangeness_derived_step3.cxx | 10 +- .../Analysis/strangeness_derived_step4.cxx | 12 +- 4 files changed, 242 insertions(+), 238 deletions(-) diff --git a/Tutorials/PWGLF/Strangeness/Derived/Analysis/configuration_step3.json b/Tutorials/PWGLF/Strangeness/Derived/Analysis/configuration_step3.json index 4a182b0e7b2..7a17dfb6429 100644 --- a/Tutorials/PWGLF/Strangeness/Derived/Analysis/configuration_step3.json +++ b/Tutorials/PWGLF/Strangeness/Derived/Analysis/configuration_step3.json @@ -12,123 +12,123 @@ "strangenesstofpid": { "v0Calibration.qaMassWindow": "0.005", "axisP": { - "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 - ] + "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 + ] }, "axisRatioMethods": { - "values": [ - 400, - 0.8999999761581421, - 1.899999976158142 - ] + "values": [ + 400, + 0.8999999761581421, + 1.899999976158142 + ] }, "v0Calibration.qaCosPA": "0.999", "rejectUndefinedTof": "1", "v0Calibration.qaDCADau": "0.5", "axisDeltaTime": { - "values": [ - 2000, - -1000, - 1000 - ] + "values": [ + 2000, + -1000, + 1000 + ] }, "ccdb.ccdb-url": "http://alice-ccdb.cern.ch", "v0Calibration.qaTPCNSigma": "5", "ccdb.lutPath": "GLO/Param/MatLUT", "axisDeltaTimeVsPrimaryCalculation": { - "values": [ - 500, - -500, - 500 - ] + "values": [ + 500, + -500, + 500 + ] }, "axisEta": { - "values": [ - 20, - -1, - 1 - ] + "values": [ + 20, + -1, + 1 + ] }, "axisTimeLong": { - "values": [ - 3000, - -1500000, - 1500000 - ] + "values": [ + 3000, + -1500000, + 1500000 + ] }, "calculationMethod": "0", "calculateCascades": "-1", "cascadeCalibration.qaV0DCADau": "0.5", "axisNSigma": { - "values": [ - 200, - -10, - 10 - ] + "values": [ + 200, + -10, + 10 + ] }, "axisSmallP": { - "values": [ - 250, - 0, - 2.5 - ] + "values": [ + 250, + 0, + 2.5 + ] }, "manualRunNumber": "544122", "calculateV0TOFPIDs": "-1", @@ -138,38 +138,38 @@ "cascadeCalibration.qaCascDCADau": "0.5", "cascadeCalibration.qaMassWindow": "0.005", "axisBCshift": { - "values": [ - 130, - -3006569.541579235, - 237032.45348549983 - ] + "values": [ + 130, + -3006569.541579235, + 237032.45348549983 + ] }, "doBCshift": "1", "useCustomRunNumber": "0", "axisPosition": { - "values": [ - 400, - -400, - 400 - ] + "values": [ + 400, + -400, + 400 + ] }, "processStandardData": "0", "axisTime": { - "values": [ - 400, - 10000, - 50000 - ] + "values": [ + 400, + 10000, + 50000 + ] }, "calculateCascTOFPIDs": "-1", "ccdb.mVtxPath": "GLO/Calib/MeanVertex", "calculateV0TOFDebugs": "-1", "axisSnp": { - "values": [ - 220, - -1.100000023841858, - 1.100000023841858 - ] + "values": [ + 220, + -1.100000023841858, + 1.100000023841858 + ] }, "ccdb.grpmagPath": "GLO/Config/GRPMagField", "ccdb.grpPath": "GLO/GRP/GRP", @@ -209,4 +209,4 @@ "internal-dpl-aod-writer": "", "internal-dpl-aod-global-analysis-file-sink": "", "internal-dpl-injected-dummy-sink": "" -} \ No newline at end of file +} diff --git a/Tutorials/PWGLF/Strangeness/Derived/Analysis/configuration_step4.json b/Tutorials/PWGLF/Strangeness/Derived/Analysis/configuration_step4.json index d3b7adc15c5..e0d4bcfffd5 100644 --- a/Tutorials/PWGLF/Strangeness/Derived/Analysis/configuration_step4.json +++ b/Tutorials/PWGLF/Strangeness/Derived/Analysis/configuration_step4.json @@ -12,123 +12,123 @@ "strangenesstofpid": { "v0Calibration.qaMassWindow": "0.005", "axisP": { - "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 - ] + "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 + ] }, "axisRatioMethods": { - "values": [ - 400, - 0.8999999761581421, - 1.899999976158142 - ] + "values": [ + 400, + 0.8999999761581421, + 1.899999976158142 + ] }, "v0Calibration.qaCosPA": "0.999", "rejectUndefinedTof": "1", "v0Calibration.qaDCADau": "0.5", "axisDeltaTime": { - "values": [ - 2000, - -1000, - 1000 - ] + "values": [ + 2000, + -1000, + 1000 + ] }, "ccdb.ccdb-url": "http://alice-ccdb.cern.ch", "v0Calibration.qaTPCNSigma": "5", "ccdb.lutPath": "GLO/Param/MatLUT", "axisDeltaTimeVsPrimaryCalculation": { - "values": [ - 500, - -500, - 500 - ] + "values": [ + 500, + -500, + 500 + ] }, "axisEta": { - "values": [ - 20, - -1, - 1 - ] + "values": [ + 20, + -1, + 1 + ] }, "axisTimeLong": { - "values": [ - 3000, - -1500000, - 1500000 - ] + "values": [ + 3000, + -1500000, + 1500000 + ] }, "calculationMethod": "0", "calculateCascades": "1", "cascadeCalibration.qaV0DCADau": "0.5", "axisNSigma": { - "values": [ - 200, - -10, - 10 - ] + "values": [ + 200, + -10, + 10 + ] }, "axisSmallP": { - "values": [ - 250, - 0, - 2.5 - ] + "values": [ + 250, + 0, + 2.5 + ] }, "manualRunNumber": "544122", "calculateV0TOFPIDs": "1", @@ -138,38 +138,38 @@ "cascadeCalibration.qaCascDCADau": "0.5", "cascadeCalibration.qaMassWindow": "0.005", "axisBCshift": { - "values": [ - 130, - -3006569.541579235, - 237032.45348549983 - ] + "values": [ + 130, + -3006569.541579235, + 237032.45348549983 + ] }, "doBCshift": "1", "useCustomRunNumber": "0", "axisPosition": { - "values": [ - 400, - -400, - 400 - ] + "values": [ + 400, + -400, + 400 + ] }, "processStandardData": "0", "axisTime": { - "values": [ - 400, - 10000, - 50000 - ] + "values": [ + 400, + 10000, + 50000 + ] }, "calculateCascTOFPIDs": "1", "ccdb.mVtxPath": "GLO/Calib/MeanVertex", "calculateV0TOFDebugs": "1", "axisSnp": { - "values": [ - 220, - -1.100000023841858, - 1.100000023841858 - ] + "values": [ + 220, + -1.100000023841858, + 1.100000023841858 + ] }, "ccdb.grpmagPath": "GLO/Config/GRPMagField", "ccdb.grpPath": "GLO/GRP/GRP", diff --git a/Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx b/Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx index 12d3e405447..8885e9ba425 100644 --- a/Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx +++ b/Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx @@ -15,12 +15,14 @@ /// \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 "Common/DataModel/EventSelection.h" + +#include "Framework/AnalysisTask.h" +#include "Framework/runDataProcessing.h" + using namespace o2; using namespace o2::framework; using namespace o2::framework::expressions; @@ -218,7 +220,7 @@ struct strangeness_derived_tutorial { rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); rXi.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); } - if (std::abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case + if (std::abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case if (std::abs(casc.mXi() - o2::constants::physics::MassXiMinus) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega rOmega.fill(HIST("hMassOmegaSelected"), casc.mOmega()); if (omegaPassTOFSelection) { diff --git a/Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step4.cxx b/Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step4.cxx index 15c62df40a4..94169733f30 100644 --- a/Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step4.cxx +++ b/Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step4.cxx @@ -15,12 +15,14 @@ /// \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 "Common/DataModel/EventSelection.h" + +#include "Framework/AnalysisTask.h" +#include "Framework/runDataProcessing.h" + using namespace o2; using namespace o2::framework; using namespace o2::framework::expressions; @@ -238,7 +240,7 @@ struct strangeness_derived_tutorial { rXi.fill(HIST("hCascDCAV0Daughters"), casc.dcaV0daughters()); rXi.fill(HIST("hCascCosPA"), casc.casccosPA(collision.posX(), collision.posY(), collision.posZ())); } - if (std::abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case + if (std::abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case if (std::abs(casc.mXi() - o2::constants::physics::MassXiMinus) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega rOmega.fill(HIST("hMassOmegaSelected"), casc.mOmega()); if (omegaPassTOFSelection) { @@ -268,7 +270,7 @@ struct strangeness_derived_tutorial { } } if (std::abs(cascmccore.pdgCode()) == PDG_t::kOmegaMinus) { - if (std::abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case + if (std::abs(bachDaughterTrackCasc.tpcNSigmaKa()) < NSigmaTPCKaon) { // Omega case if (std::abs(casc.mXi() - o2::constants::physics::MassXiMinus) > cascadesetting_competingmassrej) { // competing mass rejection, only in case of Omega rOmega.fill(HIST("hMassOmegaTrueRec"), casc.mOmega()); rOmega.fill(HIST("hPtOmegaTrueRec"), casc.pt());