Skip to content

Commit 5c312fa

Browse files
committed
add feeddown histograms
1 parent d3d1e29 commit 5c312fa

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

PWGLF/Tasks/Strangeness/strangenessInJets.cxx

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,14 @@ struct StrangenessInJets {
434434
registryMC.add("K0s_generated_recojet_ue", "K0s_generated_recojet_ue", HistType::kTH2F, {multAxis, ptAxis});
435435
registryMC.add("Lambda_generated_recojet_ue", "Lambda_generated_recojet_ue", HistType::kTH2F, {multAxis, ptAxis});
436436
registryMC.add("AntiLambda_generated_recojet_ue", "AntiLambda_generated_recojet_ue", HistType::kTH2F, {multAxis, ptAxis});
437+
registryMC.add("hFDVsPtLambdaVsMotherPt_DoubleCharged_jet", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (#Xi^{-});", {HistType::kTH2F, {ptAxis, ptAxis}});
438+
registryMC.add("hFDVsPtLambdaVsMotherPt_MCRatio_jet", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (#Xi^{-/0});", {HistType::kTH2F, {ptAxis, ptAxis}});
439+
registryMC.add("hFDVsPtAntiLambdaVsMotherPt_DoubleCharged_jet", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (#bar{#Xi}^{+})", {HistType::kTH2F, {ptAxis, ptAxis}});
440+
registryMC.add("hFDVsPtAntiLambdaVsMotherPt_MCRatio_jet", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (#bar{#Xi}^{+/0})", {HistType::kTH2F, {ptAxis, ptAxis}});
441+
registryMC.add("hFDVsPtLambdaVsMotherPt_DoubleCharged_ue", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (#Xi^{-});", {HistType::kTH2F, {ptAxis, ptAxis}});
442+
registryMC.add("hFDVsPtLambdaVsMotherPt_MCRatio_ue", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (#Xi^{-/0});", {HistType::kTH2F, {ptAxis, ptAxis}});
443+
registryMC.add("hFDVsPtAntiLambdaVsMotherPt_DoubleCharged_ue", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (#bar{#Xi}^{+})", {HistType::kTH2F, {ptAxis, ptAxis}});
444+
registryMC.add("hFDVsPtAntiLambdaVsMotherPt_MCRatio_ue", ";p_{T} [GeV/c] (V0);p_{T}^{gen} [GeV/c] (#bar{#Xi}^{+/0})", {HistType::kTH2F, {ptAxis, ptAxis}});
437445
}
438446

439447
if (enabledSignals.value[ParticleOfInterest::kCascades]) {
@@ -2002,6 +2010,20 @@ struct StrangenessInJets {
20022010
}
20032011
const bool isPhysPrim = motherPos.isPhysicalPrimary();
20042012

2013+
float ptMotherMC = 0.;
2014+
float pdgMother = 0.;
2015+
2016+
auto v0mcparticle = v0.mcParticle();
2017+
2018+
if (std::abs(v0mcparticle.pdgCode()) == kLambda0 && v0mcparticle.has_mothers()) {
2019+
for (auto& mcparticleMother0 : v0mcparticle.mothers_as<aod::McParticles>()) {
2020+
if (std::abs(mcparticleMother0.pdgCode()) == 3312 || std::abs(mcparticleMother0.pdgCode()) == 3322) {
2021+
ptMotherMC = mcparticleMother0.pt();
2022+
pdgMother = mcparticleMother0.pdgCode();
2023+
}
2024+
}
2025+
}
2026+
20052027
// Compute distance from jet and UE axes
20062028
const ParticlePositionWithRespectToJet position{v0.px(), v0.py(), v0.pz(), selectedJet[i], ue1[i], ue2[i]};
20072029

@@ -2018,18 +2040,42 @@ struct StrangenessInJets {
20182040
if (passedLambdaSelection(v0, pos, neg) && motherPos.pdgCode() == kLambda0 && isPhysPrim) {
20192041
if (position.isInJet()) {
20202042
registryMC.fill(HIST("Lambda_reconstructed_jet"), multiplicity, v0.pt());
2043+
if (pdgMother == 3312) {
2044+
registryMC.fill(HIST("hFDVsPtLambdaVsMotherPt_DoubleCharged_jet"), v0mcparticle.pt(), ptMotherMC);
2045+
}
2046+
if (pdgMother == 3312 || pdgMother == 3322) {
2047+
registryMC.fill(HIST("hFDVsPtLambdaVsMotherPt_MCRatio_jet"), v0mcparticle.pt(), ptMotherMC);
2048+
}
20212049
}
20222050
if (position.isInUE1() || position.isInUE2()) {
20232051
registryMC.fill(HIST("Lambda_reconstructed_ue"), multiplicity, v0.pt());
2052+
if (pdgMother == 3312) {
2053+
registryMC.fill(HIST("hFDVsPtLambdaVsMotherPt_DoubleCharged_ue"), v0mcparticle.pt(), ptMotherMC);
2054+
}
2055+
if (pdgMother == 3312 || pdgMother == 3322) {
2056+
registryMC.fill(HIST("hFDVsPtLambdaVsMotherPt_MCRatio_ue"), v0mcparticle.pt(), ptMotherMC);
2057+
}
20242058
}
20252059
}
20262060
// AntiLambda
20272061
if (passedAntiLambdaSelection(v0, pos, neg) && motherPos.pdgCode() == kLambda0Bar && isPhysPrim) {
20282062
if (position.isInJet()) {
20292063
registryMC.fill(HIST("AntiLambda_reconstructed_jet"), multiplicity, v0.pt());
2064+
if (pdgMother == -3312) {
2065+
registryMC.fill(HIST("hFDVsPtAntiLambdaVsMotherPt_DoubleCharged_jet"), v0mcparticle.pt(), ptMotherMC);
2066+
}
2067+
if (pdgMother == -3312 || pdgMother == -3322) {
2068+
registryMC.fill(HIST("hFDVsPtAntiLambdaVsMotherPt_MCRatio_jet"), v0mcparticle.pt(), ptMotherMC);
2069+
}
20302070
}
20312071
if (position.isInUE1() || position.isInUE2()) {
20322072
registryMC.fill(HIST("AntiLambda_reconstructed_ue"), multiplicity, v0.pt());
2073+
if (pdgMother == -3312) {
2074+
registryMC.fill(HIST("hFDVsPtAntiLambdaVsMotherPt_DoubleCharged_ue"), v0mcparticle.pt(), ptMotherMC);
2075+
}
2076+
if (pdgMother == -3312 || pdgMother == -3322) {
2077+
registryMC.fill(HIST("hFDVsPtAntiLambdaVsMotherPt_MCRatio_ue"), v0mcparticle.pt(), ptMotherMC);
2078+
}
20332079
}
20342080
}
20352081

0 commit comments

Comments
 (0)