From 35f57998ee6243adee96dc0c959d52201ed7aa0e Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Wed, 1 Apr 2026 20:23:04 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGLF/Tasks/QC/v0cascadesqa.cxx | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/PWGLF/Tasks/QC/v0cascadesqa.cxx b/PWGLF/Tasks/QC/v0cascadesqa.cxx index e798fae4eef..fca92a686de 100644 --- a/PWGLF/Tasks/QC/v0cascadesqa.cxx +++ b/PWGLF/Tasks/QC/v0cascadesqa.cxx @@ -19,8 +19,8 @@ #include // #include -#include "PWGLF/DataModel/LFStrangenessTables.h" #include "PWGLF/DataModel/LFStrangenessPIDTables.h" +#include "PWGLF/DataModel/LFStrangenessTables.h" #include "Common/CCDB/ctpRateFetcher.h" #include "Common/Core/TrackSelection.h" @@ -53,7 +53,7 @@ enum ParticleType : uint8_t { kPhoton = 0, kXiM, kXiP, kOmegaM, - kOmegaP}; + kOmegaP }; // using DaughterTracks = soa::Join; using DaughterTracks = soa::Join; @@ -279,7 +279,7 @@ struct v0cascadesQA { ConfigurableAxis axisCascDCABachToPV{"axisCascDCABachToPV", {100, -1.0f, 1.0f}, "DCA bach. to PV (cm)"}; ConfigurableAxis axisInvMassXi{"axisInvMassXi", {80, 1.28f, 1.36f}, "Inv. mass (GeV/#it{c}%{2})"}; ConfigurableAxis axisInvMassOmega{"axisInvMassOmega", {80, 1.63f, 1.71f}, "Inv. mass (GeV/#it{c}%{2})"}; - + } axisConfigurations; int dauEtaFlag = 0; @@ -675,7 +675,7 @@ struct v0cascadesQA { if (negTrackExtra.itsChi2NCl() > v0Selections.maxITSchi2PerNcls) return false; - // ITS only tag + // ITS only tag if (v0Selections.requirePosITSonly) { if (posTrackExtra.tpcNClsCrossedRows() > 0) return false; @@ -697,7 +697,7 @@ struct v0cascadesQA { if (negTrackExtra.tpcChi2NCl() > v0Selections.maxTPCchi2PerNcls) return false; - // check the maximum fraction of allowed shared TPC + // check the maximum fraction of allowed shared TPC if (posTrackExtra.tpcFractionSharedCls() > v0Selections.maxFractionTPCSharedClusters) return false; if (negTrackExtra.tpcFractionSharedCls() > v0Selections.maxFractionTPCSharedClusters) @@ -730,7 +730,7 @@ struct v0cascadesQA { if (std::fabs(negTrackExtra.tpcNSigmaPr()) > v0Selections.tpcPidNsigmaCutLaPr) return false; } - + // TOF Requirement checks if (v0Selections.requirePosHasTOF && !v0.positiveHasTOF()) { return false; @@ -793,7 +793,7 @@ struct v0cascadesQA { if (negTrackExtra.hasTRD() && negTRDhits < v0Selections.minTRDclusters) { return false; } - + return true; } @@ -1017,7 +1017,7 @@ struct v0cascadesQA { { if (!v0.isPhysicalPrimary()) return false; - + bool isPositiveProton = v0.pdgCodePositive() == PDG_t::kProton; bool isPositivePion = v0.pdgCodePositive() == PDG_t::kPiPlus || (doTreatPiToMuon && v0.pdgCodePositive() == PDG_t::kMuonPlus); bool isNegativeProton = v0.pdgCodeNegative() == PDG_t::kProtonBar; @@ -1041,7 +1041,7 @@ struct v0cascadesQA { { if (!casc.isPhysicalPrimary()) return false; - + bool isBachelorPionPlus = casc.pdgCodeBachelor() == PDG_t::kPiPlus || (doTreatPiToMuon && casc.pdgCodeBachelor() == PDG_t::kMuonPlus); bool isBachelorKaonPlus = casc.pdgCodeBachelor() == PDG_t::kKPlus; bool isBachelorPionMinus = casc.pdgCodeBachelor() == PDG_t::kPiMinus || (doTreatPiToMuon && casc.pdgCodeBachelor() == PDG_t::kMuonMinus); @@ -1079,7 +1079,7 @@ struct v0cascadesQA { histos_event.fill(HIST("hEventCounter"), 1.5); for (auto& v0 : fullV0s) { - if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut || + if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut || std::abs(v0.positiveeta()) > v0Selections.daughterEtaCut) continue; // remove acceptance that's badly reproduced by MC / superfluous in future @@ -1185,7 +1185,7 @@ struct v0cascadesQA { } for (auto& casc : fullCascades) { - if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut || + if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut || std::abs(casc.positiveeta()) > cascSelections.daughterEtaCut || std::abs(casc.bacheloreta()) > cascSelections.daughterEtaCut) continue; // remove acceptance that's badly reproduced by MC / superfluous in future @@ -1240,7 +1240,6 @@ struct v0cascadesQA { } } } - //////////////////////////////// ////////// QA - MC ///////////// @@ -1266,7 +1265,7 @@ struct v0cascadesQA { } for (auto& v0 : fullV0s) { - if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut || + if (std::abs(v0.negativeeta()) > v0Selections.daughterEtaCut || std::abs(v0.positiveeta()) > v0Selections.daughterEtaCut) continue; // remove acceptance that's badly reproduced by MC / superfluous in future @@ -1293,7 +1292,7 @@ struct v0cascadesQA { } for (auto& casc : fullCascades) { - if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut || + if (std::abs(casc.negativeeta()) > cascSelections.daughterEtaCut || std::abs(casc.positiveeta()) > cascSelections.daughterEtaCut || std::abs(casc.bacheloreta()) > cascSelections.daughterEtaCut) continue; // remove acceptance that's badly reproduced by MC / superfluous in future @@ -1410,7 +1409,6 @@ struct v0cascadesQA { } } - PROCESS_SWITCH(v0cascadesQA, processReconstructed, "Process reconstructed event and V0s+cascades in data", true); PROCESS_SWITCH(v0cascadesQA, processMonteCarlo, "Process reconstructed event and V0s+cascades in MC", false); PROCESS_SWITCH(v0cascadesQA, processGenerated, "Process MC level event and V0s+cascades in MC", false);