Skip to content

Commit a66c5fb

Browse files
authored
[PWGLF] moved histogram from QC to main analysis + added jetPt spectrum (#11826)
1 parent 6a8fb32 commit a66c5fb

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

PWGLF/Tasks/Nuspex/antinucleiInJets.cxx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ struct AntinucleiInJets {
178178
registryQC.add("nJetsFound", "nJetsFound", HistType::kTH1F, {{50, 0, 50, "#it{n}_{Jet}"}});
179179
registryQC.add("nJetsInAcceptance", "nJetsInAcceptance", HistType::kTH1F, {{50, 0, 50, "#it{n}_{Jet}"}});
180180
registryQC.add("nJetsSelectedHighPt", "nJetsSelectedHighPt", HistType::kTH1F, {{50, 0, 50, "#it{n}_{Jet}"}});
181-
registryQC.add("jetEffectiveArea", "jetEffectiveArea", HistType::kTH1F, {{2000, 0, 2, "Area/#piR^{2}"}});
182181
registryQC.add("jetPtDifference", "jetPtDifference", HistType::kTH1F, {{200, -1, 1, "#Deltap_{T}^{jet}"}});
183182
}
184183

@@ -194,6 +193,10 @@ struct AntinucleiInJets {
194193
registryData.add("number_of_events_data", "number of events in data", HistType::kTH1F, {{10, 0, 10, "counter"}});
195194
registryData.add("number_of_rejected_events", "check on number of events rejected", HistType::kTH1F, {{10, 0, 10, "counter"}});
196195

196+
// Jet Area
197+
registryData.add("jetEffectiveArea", "jetEffectiveArea", HistType::kTH1F, {{2000, 0, 2, "Area/#piR^{2}"}});
198+
registryData.add("ptDistributionJet", "ptDistributionJet", HistType::kTH1F, {{2000, 0, 200, "#it{p}_{T} (GeV/#it{c})"}});
199+
197200
// antiprotons
198201
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}"}});
199202
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 {
612615
auto jetForSub = jet;
613616
fastjet::PseudoJet jetMinusBkg = backgroundSub.doRhoAreaSub(jetForSub, rhoPerp, rhoMPerp);
614617
// if (getCorrectedPt(jetMinusBkg.pt(), responseMatrix) < minJetPt)
618+
registryData.fill(HIST("ptDistributionJet"), jet.pt());
619+
615620
if (jetMinusBkg.pt() < minJetPt)
616621
continue;
617622
isAtLeastOneJetSelected = true;
@@ -624,6 +629,9 @@ struct AntinucleiInJets {
624629
getPerpendicularAxis(jetAxis, ueAxis1, +1);
625630
getPerpendicularAxis(jetAxis, ueAxis2, -1);
626631

632+
// Jet Area
633+
registryData.fill(HIST("jetEffectiveArea"), jet.area() / (PI * rJet * rJet));
634+
627635
// get jet constituents
628636
std::vector<fastjet::PseudoJet> jetConstituents = jet.constituents();
629637
o2::aod::ITSResponse itsResponse;
@@ -906,7 +914,6 @@ struct AntinucleiInJets {
906914
getPerpendicularAxis(jetAxis, ueAxis1, +1);
907915
getPerpendicularAxis(jetAxis, ueAxis2, -1);
908916

909-
registryQC.fill(HIST("jetEffectiveArea"), jet.area() / (PI * rJet * rJet));
910917
registryQC.fill(HIST("NchJetCone"), static_cast<int>(jetConstituents.size()));
911918

912919
// loop over jet constituents

0 commit comments

Comments
 (0)