Skip to content

Commit 90feb3c

Browse files
committed
fixed typos
1 parent 2a4f6cf commit 90feb3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGLF/Tasks/Strangeness/strangenessInJets.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1703,7 +1703,7 @@ struct StrangenessInJets {
17031703
auto motherNeg = mcParticles.iteratorAt(negParticle.mothersIds()[0]);
17041704
if (motherPos != motherNeg)
17051705
continue;
1706-
bool isPhysPrim = motherPos.isPhysicalPrimary());
1706+
bool isPhysPrim = motherPos.isPhysicalPrimary();
17071707

17081708
// Compute distance from jet and UE axes
17091709
double deltaEtaJet = v0dir.Eta() - selectedJet[i].Eta();
@@ -1746,7 +1746,7 @@ struct StrangenessInJets {
17461746

17471747
// Fill inclusive spectra
17481748
// K0s
1749-
if (passedK0ShortSelection(v0, pos, neg) && pdgParent == kK0Short) {
1749+
if (passedK0ShortSelection(v0, pos, neg) && motherPos.pdgCode() == kK0Short) {
17501750
if (deltaRjet < rJet) {
17511751
registryMC.fill(HIST("K0s_reconstructed_jet_incl"), multiplicity, v0.pt());
17521752
}
@@ -1755,7 +1755,7 @@ struct StrangenessInJets {
17551755
}
17561756
}
17571757
// Lambda
1758-
if (passedLambdaSelection(v0, pos, neg) && pdgParent == kLambda0) {
1758+
if (passedLambdaSelection(v0, pos, neg) && motherPos.pdgCode() == kLambda0) {
17591759
if (deltaRjet < rJet) {
17601760
registryMC.fill(HIST("Lambda_reconstructed_jet_incl"), multiplicity, v0.pt());
17611761
}
@@ -1764,7 +1764,7 @@ struct StrangenessInJets {
17641764
}
17651765
}
17661766
// AntiLambda
1767-
if (passedAntiLambdaSelection(v0, pos, neg) && pdgParent == kLambda0Bar) {
1767+
if (passedAntiLambdaSelection(v0, pos, neg) && motherPos.pdgCode() == kLambda0Bar) {
17681768
if (deltaRjet < rJet) {
17691769
registryMC.fill(HIST("AntiLambda_reconstructed_jet_incl"), multiplicity, v0.pt());
17701770
}

0 commit comments

Comments
 (0)