From e306d8fe233df4f2f0e6d6921a37214f5a02fcdd Mon Sep 17 00:00:00 2001 From: Alberto Caliva Date: Sun, 29 Jun 2025 09:53:49 +0200 Subject: [PATCH] [PWGLF] moved histogram from QC to main analysis + added jetPt spectrum --- PWGLF/Tasks/Nuspex/antinucleiInJets.cxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/PWGLF/Tasks/Nuspex/antinucleiInJets.cxx b/PWGLF/Tasks/Nuspex/antinucleiInJets.cxx index 9b3495484e0..b4509b40f28 100644 --- a/PWGLF/Tasks/Nuspex/antinucleiInJets.cxx +++ b/PWGLF/Tasks/Nuspex/antinucleiInJets.cxx @@ -178,7 +178,6 @@ struct AntinucleiInJets { registryQC.add("nJetsFound", "nJetsFound", HistType::kTH1F, {{50, 0, 50, "#it{n}_{Jet}"}}); registryQC.add("nJetsInAcceptance", "nJetsInAcceptance", HistType::kTH1F, {{50, 0, 50, "#it{n}_{Jet}"}}); registryQC.add("nJetsSelectedHighPt", "nJetsSelectedHighPt", HistType::kTH1F, {{50, 0, 50, "#it{n}_{Jet}"}}); - registryQC.add("jetEffectiveArea", "jetEffectiveArea", HistType::kTH1F, {{2000, 0, 2, "Area/#piR^{2}"}}); registryQC.add("jetPtDifference", "jetPtDifference", HistType::kTH1F, {{200, -1, 1, "#Deltap_{T}^{jet}"}}); } @@ -194,6 +193,10 @@ struct AntinucleiInJets { registryData.add("number_of_events_data", "number of events in data", HistType::kTH1F, {{10, 0, 10, "counter"}}); registryData.add("number_of_rejected_events", "check on number of events rejected", HistType::kTH1F, {{10, 0, 10, "counter"}}); + // Jet Area + registryData.add("jetEffectiveArea", "jetEffectiveArea", HistType::kTH1F, {{2000, 0, 2, "Area/#piR^{2}"}}); + registryData.add("ptDistributionJet", "ptDistributionJet", HistType::kTH1F, {{2000, 0, 200, "#it{p}_{T} (GeV/#it{c})"}}); + // antiprotons registryData.add("antiproton_jet_tpc", "antiproton_jet_tpc", HistType::kTH2F, {{nbins, min, max, "#it{p}_{T} (GeV/#it{c})"}, {400, -20.0, 20.0, "n#sigma_{TPC}"}}); registryData.add("antiproton_jet_tof", "antiproton_jet_tof", HistType::kTH2F, {{nbins, min, max, "#it{p}_{T} (GeV/#it{c})"}, {400, -20.0, 20.0, "n#sigma_{TOF}"}}); @@ -612,6 +615,8 @@ struct AntinucleiInJets { auto jetForSub = jet; fastjet::PseudoJet jetMinusBkg = backgroundSub.doRhoAreaSub(jetForSub, rhoPerp, rhoMPerp); // if (getCorrectedPt(jetMinusBkg.pt(), responseMatrix) < minJetPt) + registryData.fill(HIST("ptDistributionJet"), jet.pt()); + if (jetMinusBkg.pt() < minJetPt) continue; isAtLeastOneJetSelected = true; @@ -624,6 +629,9 @@ struct AntinucleiInJets { getPerpendicularAxis(jetAxis, ueAxis1, +1); getPerpendicularAxis(jetAxis, ueAxis2, -1); + // Jet Area + registryData.fill(HIST("jetEffectiveArea"), jet.area() / (PI * rJet * rJet)); + // get jet constituents std::vector jetConstituents = jet.constituents(); o2::aod::ITSResponse itsResponse; @@ -906,7 +914,6 @@ struct AntinucleiInJets { getPerpendicularAxis(jetAxis, ueAxis1, +1); getPerpendicularAxis(jetAxis, ueAxis2, -1); - registryQC.fill(HIST("jetEffectiveArea"), jet.area() / (PI * rJet * rJet)); registryQC.fill(HIST("NchJetCone"), static_cast(jetConstituents.size())); // loop over jet constituents