From 1d3a4aa761bd35e6568e75cbff0ab58cf794ec56 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Wed, 20 Nov 2024 12:16:17 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGJE/DataModel/GammaJetAnalysisTree.h | 2 +- PWGJE/Tasks/gammajettreeproducer.cxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PWGJE/DataModel/GammaJetAnalysisTree.h b/PWGJE/DataModel/GammaJetAnalysisTree.h index 4cb5ea0ec6a..a28131ab688 100644 --- a/PWGJE/DataModel/GammaJetAnalysisTree.h +++ b/PWGJE/DataModel/GammaJetAnalysisTree.h @@ -73,7 +73,7 @@ DECLARE_SOA_COLUMN(LeadingTrackPt, leadingtrackpt, float); DECLARE_SOA_COLUMN(PerpConeRho, perpconerho, float); DECLARE_SOA_COLUMN(NConstituents, nConstituents, ushort); } // namespace gjchjet -DECLARE_SOA_TABLE(GjChargedJets, "AOD", "GJCHJET", gjchjet::GjEventId, gjchjet::Pt, gjchjet::Eta, gjchjet::Phi, gjchjet::Radius, gjchjet::Energy, gjchjet::Mass, gjchjet::Area, gjchjet::LeadingTrackPt,gjchjet::PerpConeRho,gjchjet::NConstituents) +DECLARE_SOA_TABLE(GjChargedJets, "AOD", "GJCHJET", gjchjet::GjEventId, gjchjet::Pt, gjchjet::Eta, gjchjet::Phi, gjchjet::Radius, gjchjet::Energy, gjchjet::Mass, gjchjet::Area, gjchjet::LeadingTrackPt, gjchjet::PerpConeRho, gjchjet::NConstituents) } // namespace o2::aod #endif // PWGJE_DATAMODEL_GAMMAJETANALYSISTREE_H_ diff --git a/PWGJE/Tasks/gammajettreeproducer.cxx b/PWGJE/Tasks/gammajettreeproducer.cxx index 36fc4959071..fa2ccf09b99 100644 --- a/PWGJE/Tasks/gammajettreeproducer.cxx +++ b/PWGJE/Tasks/gammajettreeproducer.cxx @@ -108,7 +108,7 @@ struct GammaJetTreeProducer { const o2Axis energyAxis{100, 0, 100, "E (GeV)"}; const o2Axis m02Axis{100, 0, 3, "m02"}; const o2Axis etaAxis{100, -1, 1, "#eta"}; - const o2Axis phiAxis{100, 0 , 2*TMath::Pi(), "#phi"}; + const o2Axis phiAxis{100, 0, 2 * TMath::Pi(), "#phi"}; const o2Axis occupancyAxis{300, 0, 30000, "occupancy"}; mHistograms.add("clusterE", "Energy of cluster", o2HistType::kTH1F, {energyAxis}); mHistograms.add("trackPt", "pT of track", o2HistType::kTH1F, {ptAxis}); @@ -266,7 +266,7 @@ struct GammaJetTreeProducer { auto emcTracksPerTrack = emctracks.sliceBy(EMCTrackPerTrack, track.globalIndex()); auto emcTrack = emcTracksPerTrack.iteratorAt(0); // find closest track that still has E/p < trackMatchingEoverP - if (cluster.energy()/track.p() > trackMatchingEoverP) { + if (cluster.energy() / track.p() > trackMatchingEoverP) { continue; } else { dEta = cluster.eta() - emcTrack.etaEmcal(); @@ -295,7 +295,7 @@ struct GammaJetTreeProducer { return; } float leadingTrackPt = 0; - ushort nconst = 0; + ushort nconst = 0; // loop over charged jets for (auto jet : chargedJets) { if (jet.pt() < jetPtMin)