From 25665159811f5944d155617162dbc242a5a164da Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Mon, 6 Apr 2026 17:22:58 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGLF/DataModel/LFResonanceTables.h | 6 +++--- .../TableProducer/Resonances/resonanceInitializer.cxx | 8 ++++---- PWGLF/Tasks/Resonances/xi1530Analysisqa.cxx | 11 +++++------ 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/PWGLF/DataModel/LFResonanceTables.h b/PWGLF/DataModel/LFResonanceTables.h index a0a066fca34..bb1c1586485 100644 --- a/PWGLF/DataModel/LFResonanceTables.h +++ b/PWGLF/DataModel/LFResonanceTables.h @@ -231,9 +231,9 @@ DECLARE_SOA_COLUMN(DaughterTOFNSigmaNegPr10, daughterTOFNSigmaNegPr10, int8_t); DECLARE_SOA_COLUMN(DaughterTOFNSigmaBachPi10, daughterTOFNSigmaBachPi10, int8_t); //! TOF PID x10 of the bachelor daughter as Pion DECLARE_SOA_COLUMN(DaughterTOFNSigmaBachKa10, daughterTOFNSigmaBachKa10, int8_t); //! TOF PID x10 of the bachelor daughter as Kaon DECLARE_SOA_COLUMN(DaughterTOFNSigmaBachPr10, daughterTOFNSigmaBachPr10, int8_t); //! TOF PID x10 of the bachelor daughter as Proton -DECLARE_SOA_COLUMN(NCrossedRowsPos, nCrossedRowsPos, uint8_t); //! Number of TPC crossed rows of the positive daughter -DECLARE_SOA_COLUMN(NCrossedRowsNeg, nCrossedRowsNeg, uint8_t); //! Number of TPC crossed rows of the negative daughter -DECLARE_SOA_COLUMN(NCrossedRowsBach, nCrossedRowsBach, uint8_t); //! Number of TPC crossed rows of the bachelor daughter +DECLARE_SOA_COLUMN(NCrossedRowsPos, nCrossedRowsPos, uint8_t); //! Number of TPC crossed rows of the positive daughter +DECLARE_SOA_COLUMN(NCrossedRowsNeg, nCrossedRowsNeg, uint8_t); //! Number of TPC crossed rows of the negative daughter +DECLARE_SOA_COLUMN(NCrossedRowsBach, nCrossedRowsBach, uint8_t); //! Number of TPC crossed rows of the bachelor daughter // For MC DECLARE_SOA_INDEX_COLUMN(McParticle, mcParticle); //! Index of the corresponding MC particle DECLARE_SOA_COLUMN(IsPhysicalPrimary, isPhysicalPrimary, bool); diff --git a/PWGLF/TableProducer/Resonances/resonanceInitializer.cxx b/PWGLF/TableProducer/Resonances/resonanceInitializer.cxx index 62a1a826d89..760360a497c 100644 --- a/PWGLF/TableProducer/Resonances/resonanceInitializer.cxx +++ b/PWGLF/TableProducer/Resonances/resonanceInitializer.cxx @@ -796,8 +796,8 @@ struct ResonanceInitializer { v0.dcapostopv(), v0.dcanegtopv(), v0.dcav0topv(), - static_cast(v0.template posTrack_as().tpcNClsCrossedRows()), - static_cast(v0.template negTrack_as().tpcNClsCrossedRows()), + static_cast(v0.template posTrack_as().tpcNClsCrossedRows()), + static_cast(v0.template negTrack_as().tpcNClsCrossedRows()), v0.mLambda(), v0.mAntiLambda(), v0.mK0Short(), @@ -1741,7 +1741,7 @@ struct ResonanceInitializer { resoSpheroCollisions(computeSpherocity(tracks, trackSphMin, trackSphDef)); resoEvtPlCollisions(0, 0, 0, 0); fillMCCollision(collision, mcParticles); - // Loop over all MC particles + // Loop over all MC particles auto mcParts = selectedMCParticles->sliceBy(perMcCollision, collision.mcCollision().globalIndex()); fillMCParticles(mcParts, mcParticles); @@ -1829,7 +1829,7 @@ struct ResonanceInitializer { mult = mcCollision.multMCNParticlesEta10(); fillMCCollision(collision, mcParticles, impactpar, mult); - // Loop over all MC particles + // Loop over all MC particles auto mcParts = selectedMCParticles->sliceBy(perMcCollision, mcId); fillMCParticles(mcParts, mcParticles); diff --git a/PWGLF/Tasks/Resonances/xi1530Analysisqa.cxx b/PWGLF/Tasks/Resonances/xi1530Analysisqa.cxx index 1a9cc591e41..33bdb045d1f 100644 --- a/PWGLF/Tasks/Resonances/xi1530Analysisqa.cxx +++ b/PWGLF/Tasks/Resonances/xi1530Analysisqa.cxx @@ -183,7 +183,7 @@ struct Xi1530Analysisqa { Configurable cMaxProperLifetimeCut{"cMaxProperLifetimeCut", 4.7, "Maximum proper lifetime cut for Xi- candidates"}; Configurable cMinNCrossedRowsTPCPos{"cMinNCrossedRowsTPCPos", 50, "Minimum number of crossed rows in TPC for positive track in cascade"}; Configurable cMinNCrossedRowsTPCNeg{"cMinNCrossedRowsTPCNeg", 50, "Minimum number of crossed rows in TPC for negative track in cascade"}; - Configurable cMinNCrossedRowsTPCBach{"cMinNCrossedRowsTPCBach", 50, "Minimum number of crossed rows in TPC for bachelor track in cascade"}; + Configurable cMinNCrossedRowsTPCBach{"cMinNCrossedRowsTPCBach", 50, "Minimum number of crossed rows in TPC for bachelor track in cascade"}; } cascadeConfig; @@ -564,11 +564,11 @@ struct Xi1530Analysisqa { return false; if (std::abs(track.pt()) <= primarytrackConfig.cMinPtcut) return false; - if(track.nCrossedRowsPos() <= cascadeConfig.cMinNCrossedRowsTPCPos) + if (track.nCrossedRowsPos() <= cascadeConfig.cMinNCrossedRowsTPCPos) return false; - if(track.nCrossedRowsNeg() <= cascadeConfig.cMinNCrossedRowsTPCNeg) + if (track.nCrossedRowsNeg() <= cascadeConfig.cMinNCrossedRowsTPCNeg) return false; - if(track.nCrossedRowsBach() <= cascadeConfig.cMinNCrossedRowsTPCBach) + if (track.nCrossedRowsBach() <= cascadeConfig.cMinNCrossedRowsTPCBach) return false; if (primarytrackConfig.cDCAxyToPVAsPtForCasc) { if (std::abs(track.dcaXYCascToPV()) >= (primarytrackConfig.cDCAxyToPVByPtCascP0 + primarytrackConfig.cDCAxyToPVByPtCascExp * track.pt())) @@ -1353,7 +1353,6 @@ struct Xi1530Analysisqa { histos.fill(HIST("h3Xi1530Gen"), part.pt(), inCent, multiplicity); else histos.fill(HIST("h3Xi1530GenAnti"), part.pt(), inCent, multiplicity); - } } @@ -1433,7 +1432,7 @@ struct Xi1530Analysisqa { PROCESS_SWITCH(Xi1530Analysisqa, processMCTrue, "Process Event for MC (Generated)", false); PROCESS_SWITCH(Xi1530Analysisqa, processDataMicro, "Process Event for Data (MicroTrack)", false); PROCESS_SWITCH(Xi1530Analysisqa, processMEMicro, "Process EventMixing (MicroTrack) ", false); - PROCESS_SWITCH(Xi1530Analysisqa, processMEDF, "Process EventMixing (DataFrame) ", false); + PROCESS_SWITCH(Xi1530Analysisqa, processMEDF, "Process EventMixing (DataFrame) ", false); }; WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)