From 0558247b3d57bf1899bd2558f113c04841da5d5a Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Mon, 13 Jan 2025 23:14:40 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGLF/TableProducer/Strangeness/sigma0builder.cxx | 6 +++--- PWGLF/Tasks/Strangeness/sigmaanalysis.cxx | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/PWGLF/TableProducer/Strangeness/sigma0builder.cxx b/PWGLF/TableProducer/Strangeness/sigma0builder.cxx index a1982bb0b6c..cd1b11348fb 100644 --- a/PWGLF/TableProducer/Strangeness/sigma0builder.cxx +++ b/PWGLF/TableProducer/Strangeness/sigma0builder.cxx @@ -55,7 +55,7 @@ using namespace o2::framework; using namespace o2::framework::expressions; using std::array; using dauTracks = soa::Join; -//using V0DerivedMCDatas = soa::Join; +// using V0DerivedMCDatas = soa::Join; using V0DerivedMCDatas = soa::Join; using V0StandardDerivedDatas = soa::Join; @@ -423,7 +423,7 @@ struct sigma0builder { // Check if MC data and populate fIsMC, fIsPi0 if constexpr (requires { gamma1.motherMCPartId(); gamma2.motherMCPartId(); }) { - if (gamma1.has_v0MCCore() && gamma2.has_v0MCCore()){ + if (gamma1.has_v0MCCore() && gamma2.has_v0MCCore()) { fIsMC = true; auto gamma1MC = gamma1.template v0MCCore_as>(); auto gamma2MC = gamma2.template v0MCCore_as>(); @@ -784,7 +784,7 @@ struct sigma0builder { if (GammaY < 0.5) { // rapidity selection histos.fill(HIST("MC/h2dPtVsCentrality_GammaBeforeSel"), centrality, gamma.pt()); // isgamma - histos.fill(HIST("MC/h2dGammaPtResolution"), gamma.pt(), gamma.pt() - RecoDecay::pt(array{gammaMC.pxMC(), gammaMC.pyMC()})); // pT resolution + histos.fill(HIST("MC/h2dGammaPtResolution"), gamma.pt(), gamma.pt() - RecoDecay::pt(array{gammaMC.pxMC(), gammaMC.pyMC()})); // pT resolution if (gammaMC.pdgCodeMother() == 3212) { histos.fill(HIST("MC/h2dPtVsCentrality_GammaSigma0"), centrality, gamma.pt()); // isgamma from sigma diff --git a/PWGLF/Tasks/Strangeness/sigmaanalysis.cxx b/PWGLF/Tasks/Strangeness/sigmaanalysis.cxx index b3e4ebb77b9..3671866b2c7 100644 --- a/PWGLF/Tasks/Strangeness/sigmaanalysis.cxx +++ b/PWGLF/Tasks/Strangeness/sigmaanalysis.cxx @@ -396,7 +396,7 @@ struct sigmaanalysis { histos.fill(HIST("GeneralQA/hCandidateAnalysisSelection"), 10.); if ((cand.photonRadius() < PhotonMinRadius) || (cand.photonRadius() > PhotonMaxRadius)) return false; - float photonRZLineCut = TMath::Abs(cand.photonZconv())*TMath::Tan(2 * TMath::ATan(TMath::Exp(-PhotonMaxDauEta))) - PhotonLineCutZ0; + float photonRZLineCut = TMath::Abs(cand.photonZconv()) * TMath::Tan(2 * TMath::ATan(TMath::Exp(-PhotonMaxDauEta))) - PhotonLineCutZ0; histos.fill(HIST("GeneralQA/hPhotonZ"), cand.photonZconv()); histos.fill(HIST("GeneralQA/h2dRZCut"), cand.photonRadius(), photonRZLineCut); histos.fill(HIST("GeneralQA/h2dRZPlane"), cand.photonRadius(), cand.photonZconv()); @@ -548,11 +548,11 @@ struct sigmaanalysis { histos.fill(HIST("MC/hPtGammaCand_AfterSel"), sigma.photonPt()); histos.fill(HIST("MC/hPtSigmaCand_AfterSel"), sigma.sigmapT()); - if (sigma.photonCandPDGCode() == 22){ + if (sigma.photonCandPDGCode() == 22) { histos.fill(HIST("MC/hPtTrueGamma_AfterSel"), sigma.photonPt()); - histos.fill(HIST("MC/h3dGammaPtResolution"), sigma.photonPt(), TMath::Abs((sigma.photonMCPt()-sigma.photonPt())/sigma.photonMCPt()), sigma.photonMass()); // pT resolution + histos.fill(HIST("MC/h3dGammaPtResolution"), sigma.photonPt(), TMath::Abs((sigma.photonMCPt() - sigma.photonPt()) / sigma.photonMCPt()), sigma.photonMass()); // pT resolution } - + // For Lambda PID Studies if (fLambdaTPCTOFQA && (sigma.lambdaAlpha() > 0)) { histos.fill(HIST("MC/hPtLambdaCand_AfterSel"), sigma.lambdaPt()); @@ -561,7 +561,7 @@ struct sigmaanalysis { if (sigma.lambdaCandPDGCode() == 3122) { histos.fill(HIST("MC/hPtTrueLambda_AfterSel"), sigma.lambdaPt()); - histos.fill(HIST("MC/h3dLambdaPtResolution"), sigma.lambdaPt(), TMath::Abs((sigma.lambdaMCPt() - sigma.lambdaPt())/sigma.lambdaMCPt()), sigma.lambdaMass()); // pT resolution + histos.fill(HIST("MC/h3dLambdaPtResolution"), sigma.lambdaPt(), TMath::Abs((sigma.lambdaMCPt() - sigma.lambdaPt()) / sigma.lambdaMCPt()), sigma.lambdaMass()); // pT resolution histos.fill(HIST("MC/h3dTPCvsTOFNSigma_TrueLambdaPr"), sigma.lambdaPosPrTPCNSigma(), sigma.lambdaPrTOFNSigma(), sigma.lambdaPt()); histos.fill(HIST("MC/h3dTPCvsTOFNSigma_TrueLambdaPi"), sigma.lambdaNegPiTPCNSigma(), sigma.lambdaPiTOFNSigma(), sigma.lambdaPt()); } @@ -604,7 +604,7 @@ struct sigmaanalysis { histos.fill(HIST("MC/hMassSigma0"), sigma.sigmaMass()); histos.fill(HIST("MC/hPtSigma0"), sigma.sigmapT()); histos.fill(HIST("MC/h3dMassSigma0"), sigma.sigmaCentrality(), sigma.sigmapT(), sigma.sigmaMass()); - histos.fill(HIST("MC/h3dSigma0PtResolution"), sigma.sigmapT(), TMath::Abs((sigma.sigmaMCPt()-sigma.sigmapT())/sigma.sigmaMCPt()), sigma.sigmaMass()); // pT resolution + histos.fill(HIST("MC/h3dSigma0PtResolution"), sigma.sigmapT(), TMath::Abs((sigma.sigmaMCPt() - sigma.sigmapT()) / sigma.sigmaMCPt()), sigma.sigmaMass()); // pT resolution } else { // TPC + TOF PID Selections