From 46f9854f75dd4d6ba52a879533c87f3f72451819 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 1 Apr 2025 08:14:36 +0000 Subject: [PATCH] Please consider the following formatting changes --- .../TableProducer/identifiedBfFilter.cxx | 19 +++++++++---------- .../TableProducer/identifiedBfFilter.h | 4 ---- .../Tasks/identifiedbf.cxx | 4 ++-- 3 files changed, 11 insertions(+), 16 deletions(-) diff --git a/PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.cxx b/PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.cxx index dc792ecffae..8dc80ba268a 100644 --- a/PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.cxx +++ b/PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.cxx @@ -697,7 +697,6 @@ struct IdentifiedBfFilterTracks { Configurable tofCut{"tofCut", 0.8, "Momentum under which we don't use TOF PID data"}; Configurable makeNSigmaPlots{"makeNSigmaPlots", false, "Produce the N Sigma Plots for external storage. Default false"}; - OutputObj fOutput{"IdentifiedBfFilterTracksInfo", OutputObjHandlingPolicy::AnalysisObject}; bool checkAmbiguousTracks = false; @@ -1032,18 +1031,18 @@ struct IdentifiedBfFilterTracks { TString::Format("N(%s^{#plus}) #minus N(%s^{#minus}) distribution (truth);N(%s^{#plus}) #minus N(%s^{#minus})", speciesTitle[sp], speciesTitle[sp], speciesTitle[sp], speciesTitle[sp]).Data(), 79, -39.5, 39.5); } - if(makeNSigmaPlots){ + if (makeNSigmaPlots) { for (int sp1 = 0; sp1 < kIdBfNoOfSpecies; ++sp1) { for (int sp2 = 0; sp2 < kIdBfNoOfSpecies; ++sp2) { fhTrueNSigmaTPC[sp1][sp2] = new TH2F(TString::Format("fhTrueNSigmaTPC%s_%s", speciesName[sp1], speciesName[sp2]).Data(), - TString::Format("N #sigma %s from TPC vs P for generated %s;N #sigma;p (GeV/c)", speciesTitle[sp1], speciesTitle[sp2]).Data(), - 48, -6, 6, - ptbins, ptlow, ptup); + TString::Format("N #sigma %s from TPC vs P for generated %s;N #sigma;p (GeV/c)", speciesTitle[sp1], speciesTitle[sp2]).Data(), + 48, -6, 6, + ptbins, ptlow, ptup); fhTrueNSigmaTOF[sp1][sp2] = new TH2F(TString::Format("fhTrueNSigmaTOF%s_%s", speciesName[sp1], speciesName[sp2]).Data(), - TString::Format("N #sigma %s from TOF vs P for generated %s;N #sigma;p (GeV/c)", speciesTitle[sp1], speciesTitle[sp2]).Data(), - 48, -6, 6, - ptbins, ptlow, ptup); + TString::Format("N #sigma %s from TOF vs P for generated %s;N #sigma;p (GeV/c)", speciesTitle[sp1], speciesTitle[sp2]).Data(), + 48, -6, 6, + ptbins, ptlow, ptup); } } } @@ -1084,7 +1083,7 @@ struct IdentifiedBfFilterTracks { fOutputList->Add(fhTrueNPosNegA[sp]); fOutputList->Add(fhTrueDeltaNA[sp]); } - if(makeNSigmaPlots){ + if (makeNSigmaPlots) { for (int sp1 = 0; sp1 < kIdBfNoOfSpecies; ++sp1) { for (int sp2 = 0; sp2 < kIdBfNoOfSpecies; ++sp2) { fOutputList->Add(fhTrueNSigmaTPC[sp1][sp2]); @@ -1496,7 +1495,7 @@ inline MatchRecoGenSpecies IdentifiedBfFilterTracks::identifyTrack(TrackObject c float nsigmas[kIdBfNoOfSpecies]; if constexpr (framework::has_type_v) { - if(makeNSigmaPlots){ + if (makeNSigmaPlots) { identifyRealNSigma(track.template mcParticle_as(), actualTPCNSigma, actualTOFNSigma, track.tpcInnerParam()); } } diff --git a/PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h b/PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h index cd1f8976512..f92ecbd813f 100644 --- a/PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h +++ b/PWGCF/TwoParticleCorrelations/TableProducer/identifiedBfFilter.h @@ -34,7 +34,6 @@ #include "PWGCF/Core/AnalysisConfigurableCuts.h" #include "MathUtils/Utils.h" - namespace o2 { @@ -67,8 +66,6 @@ enum MatchRecoGenSpecies { kWrongSpecies = -1 }; - - /// \enum SpeciesPairMatch /// \brief The species pair considered by the matching test enum SpeciesPairMatch { @@ -241,7 +238,6 @@ float particleMaxDCAxy = 999.9f; float particleMaxDCAZ = 999.9f; bool traceCollId0 = false; - inline TriggerSelectionType getTriggerSelection(std::string const& triggstr) { if (triggstr.empty() || triggstr == "MB") { diff --git a/PWGCF/TwoParticleCorrelations/Tasks/identifiedbf.cxx b/PWGCF/TwoParticleCorrelations/Tasks/identifiedbf.cxx index c226960a300..71d6e40e2f3 100644 --- a/PWGCF/TwoParticleCorrelations/Tasks/identifiedbf.cxx +++ b/PWGCF/TwoParticleCorrelations/Tasks/identifiedbf.cxx @@ -95,7 +95,7 @@ struct IdentifiedbfTask { std::vector fhN1VsPt{nch, nullptr}; //! fhN1VsEtaPhi{nch, nullptr}; //! fhSum1PtVsEtaPhi{nch, nullptr}; //! fhN1VsZEtaPhiPt{nch + 1, nullptr}; //! fhN1VsZEtaPhiPt{nch + 1, nullptr}; //! fhN1VsZEtaPhiPtPrimary{nch, nullptr}; //! fhN1VsZEtaPhiPtSecondary{nch, nullptr}; //! fhSum1PtVsZEtaPhiPt{nch, nullptr}; //!Add(fhSum1PtVsZEtaPhiPt[i]); } } - if(!smallsingles){ + if (!smallsingles) { TH1::SetDefaultSumw2(false); fhN1VsZEtaPhiPt[nch] = new TH3F( TString::Format("n1_%s_vsZ_vsEtaPhi_vsPt", "h"),