From e962acbafc9277ee53d12ed16e27c7c62efd0bf4 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 29 Oct 2024 18:26:15 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGLF/DataModel/LFStrangenessTables.h | 18 +++++++++--------- .../Strangeness/cascadebuilder.cxx | 12 ++++++------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/PWGLF/DataModel/LFStrangenessTables.h b/PWGLF/DataModel/LFStrangenessTables.h index 74927c7b4eb..c0d05585006 100644 --- a/PWGLF/DataModel/LFStrangenessTables.h +++ b/PWGLF/DataModel/LFStrangenessTables.h @@ -1057,7 +1057,7 @@ DECLARE_SOA_COLUMN(KFTrackCovMatV0DauPos, kfTrackCovMatV0DauPos, float[21]); //! DECLARE_SOA_COLUMN(KFTrackCovMatV0DauNeg, kfTrackCovMatV0DauNeg, float[21]); //! covariance matrix elements for KF method (V0 neg daughter) // for CascCovs / TraCascCovs, meant to provide consistent interface everywhere -DECLARE_SOA_COLUMN(CovMat, covMat, float[21]); //! covariance matrix elements +DECLARE_SOA_COLUMN(CovMat, covMat, float[21]); //! covariance matrix elements //______________________________________________________ // REGULAR COLUMNS FOR CASCBBS @@ -1429,19 +1429,19 @@ DECLARE_SOA_TABLE(CascBBs, "AOD", "CASCBB", //! bachelor-baryon correlation vari cascdata::BachBaryonCosPA, cascdata::BachBaryonDCAxyToPV) DECLARE_SOA_TABLE(CascCovs, "AOD", "CASCCOVS", //! - cascdata::CovMat, - cascdata::PositionCovMat, - cascdata::MomentumCovMat, + cascdata::CovMat, + cascdata::PositionCovMat, + cascdata::MomentumCovMat, o2::soa::Marker<1>); DECLARE_SOA_TABLE(KFCascCovs, "AOD", "KFCASCCOVS", //! - cascdata::KFTrackCovMat, cascdata::KFTrackCovMatV0, cascdata::KFTrackCovMatV0DauPos, cascdata::KFTrackCovMatV0DauNeg); + cascdata::KFTrackCovMat, cascdata::KFTrackCovMatV0, cascdata::KFTrackCovMatV0DauPos, cascdata::KFTrackCovMatV0DauNeg); DECLARE_SOA_TABLE(TraCascCovs, "AOD", "TRACASCCOVS", //! - cascdata::CovMat, - cascdata::PositionCovMat, - cascdata::MomentumCovMat, - o2::soa::Marker<2>); + cascdata::CovMat, + cascdata::PositionCovMat, + cascdata::MomentumCovMat, + o2::soa::Marker<2>); // extended table with expression columns that can be used as arguments of dynamic columns DECLARE_SOA_EXTENDED_TABLE_USER(CascCores, StoredCascCores, "CascDATAEXT", //! diff --git a/PWGLF/TableProducer/Strangeness/cascadebuilder.cxx b/PWGLF/TableProducer/Strangeness/cascadebuilder.cxx index 466386bcdcb..2dfcecd818d 100644 --- a/PWGLF/TableProducer/Strangeness/cascadebuilder.cxx +++ b/PWGLF/TableProducer/Strangeness/cascadebuilder.cxx @@ -124,7 +124,7 @@ struct cascadeBuilder { Produces cascTrackXs; // if desired for replaying of position information Produces cascbb; // if enabled Produces casccovs; // if requested by someone - Produces tracasccovs; // if requested by someone + Produces tracasccovs; // if requested by someone Produces kfcasccovs; // if requested by someone // produces calls for machine-learning selections @@ -1611,7 +1611,7 @@ struct cascadeBuilder { covCascade[i] = 0.0f; } for (int i = 0; i < 6; i++) { - covCascade[i] = positionCovariance[i]; + covCascade[i] = positionCovariance[i]; covCascade[MomInd[i]] = covTv0[MomInd[i]] + covTbachelor[MomInd[i]]; } casccovs(covCascade); @@ -1792,7 +1792,7 @@ struct cascadeBuilder { covCascade[i] = 0.0f; } for (int i = 0; i < 6; i++) { - covCascade[i] = positionCovariance[i]; + covCascade[i] = positionCovariance[i]; covCascade[MomInd[i]] = covTv0[MomInd[i]] + covTbachelor[MomInd[i]]; } casccovs(covCascade); @@ -1920,18 +1920,18 @@ struct cascadeBuilder { cascadecandidate.bachDCAxy, cascadecandidate.cascDCAxy, cascadecandidate.cascDCAz, // <--- stratrack (cascDCAxy/z) trackedCascade.matchingChi2(), trackedCascade.topologyChi2(), trackedCascade.itsClsSize()); // <--- stratrack fit info - if(createCascCovMats){ + if (createCascCovMats) { // create tracked cascade covariance in exactly the same way as non-tracked // ensures getter consistency and full compatibility in template functions // (easy switching between tracked and non-tracked) std::array traCovMat = {0.}; cascadeTrackPar.getCovXYZPxPyPzGlo(traCovMat); float traCovMatArray[21]; - for(int ii=0; ii<21; ii++){ + for (int ii = 0; ii < 21; ii++) { traCovMatArray[ii] = traCovMat[ii]; } tracasccovs(traCovMatArray); - } + } } } // En masse filling at end of process call