Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PWGLF/Tasks/Strangeness/strangenessInJets.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,7 @@
TVector3 momentumV0 = momentumPos + momentumNeg;

// Feed-down for lambda
if (passedLambdaSelection(v0, pos, neg) && pdgParent == 3122) {

Check warning on line 1470 in PWGLF/Tasks/Strangeness/strangenessInJets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[pdg/explicit-code]

Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
if (!isPhysPrim) {
double wSecLambdaInJet(1.0);
double wSecLambdaInUe(1.0);
Expand Down Expand Up @@ -1498,7 +1498,7 @@
}

// Feed-down for antilambda
if (passedAntiLambdaSelection(v0, pos, neg) && pdgParent == -3122) {

Check warning on line 1501 in PWGLF/Tasks/Strangeness/strangenessInJets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[pdg/explicit-code]

Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
if (!isPhysPrim) {
double wSecAntiLambdaInJet(1.0);
double wSecAntiLambdaInUe(1.0);
Expand Down Expand Up @@ -1528,13 +1528,13 @@
}
}

if (passedK0ShortSelection(v0, pos, neg) && pdgParent == 310) {

Check warning on line 1531 in PWGLF/Tasks/Strangeness/strangenessInJets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[pdg/explicit-code]

Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
registryMC.fill(HIST("K0s_reconstructed_incl"), multiplicity, v0.pt());
}
if (passedLambdaSelection(v0, pos, neg) && pdgParent == 3122) {

Check warning on line 1534 in PWGLF/Tasks/Strangeness/strangenessInJets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[pdg/explicit-code]

Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
registryMC.fill(HIST("Lambda_reconstructed_incl"), multiplicity, v0.pt());
}
if (passedAntiLambdaSelection(v0, pos, neg) && pdgParent == -3122) {

Check warning on line 1537 in PWGLF/Tasks/Strangeness/strangenessInJets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[pdg/explicit-code]

Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
registryMC.fill(HIST("AntiLambda_reconstructed_incl"), multiplicity, v0.pt());
}
if (!isPhysPrim)
Expand Down Expand Up @@ -1570,15 +1570,15 @@
}
}

if (passedK0ShortSelection(v0, pos, neg) && pdgParent == 310) {

Check warning on line 1573 in PWGLF/Tasks/Strangeness/strangenessInJets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[pdg/explicit-code]

Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
registryMC.fill(HIST("K0s_reconstructed_jet"), multiplicity, v0.pt(), wK0jet);
registryMC.fill(HIST("K0s_reconstructed_ue"), multiplicity, v0.pt(), wK0Ue);
}
if (passedLambdaSelection(v0, pos, neg) && pdgParent == 3122) {

Check warning on line 1577 in PWGLF/Tasks/Strangeness/strangenessInJets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[pdg/explicit-code]

Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
registryMC.fill(HIST("Lambda_reconstructed_jet"), multiplicity, v0.pt(), wLambdaJet);
registryMC.fill(HIST("Lambda_reconstructed_ue"), multiplicity, v0.pt(), wLambdaUe);
}
if (passedAntiLambdaSelection(v0, pos, neg) && pdgParent == -3122) {

Check warning on line 1581 in PWGLF/Tasks/Strangeness/strangenessInJets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[pdg/explicit-code]

Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
registryMC.fill(HIST("AntiLambda_reconstructed_jet"), multiplicity, v0.pt(), wAntilambdaJet);
registryMC.fill(HIST("AntiLambda_reconstructed_ue"), multiplicity, v0.pt(), wAntilambdaUe);
}
Expand Down Expand Up @@ -1613,7 +1613,7 @@
for (const auto& particleMotherOfBach : bachParticle.mothers_as<aod::McParticles>()) {
if (particleMotherOfNeg != particleMotherOfPos)
continue;
if (std::fabs(particleMotherOfNeg.pdgCode()) != 3122)

Check warning on line 1616 in PWGLF/Tasks/Strangeness/strangenessInJets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[pdg/explicit-code]

Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
continue;
if (!particleMotherOfBach.isPhysicalPrimary())
continue;
Expand All @@ -1626,7 +1626,7 @@
continue;

// Xi+
if (passedXiSelection(casc, pos, neg, bach, collision) && pdgParent == -3312) {

Check warning on line 1629 in PWGLF/Tasks/Strangeness/strangenessInJets.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[pdg/explicit-code]

Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
registryMC.fill(HIST("XiPos_reconstructed"), multiplicity, casc.pt());
}
// Xi-
Expand Down Expand Up @@ -1882,7 +1882,7 @@
PROCESS_SWITCH(StrangenessInJets, processMCefficiency, "Process MC Efficiency", false);

void processGen(o2::aod::McCollisions const& mcCollisions, aod::McParticles const& mcParticles)
{
{
for (const auto& mccollision : mcCollisions) {

// Selection on z_{vertex}
Expand Down Expand Up @@ -2035,7 +2035,7 @@
break;
case -3334:
registryMC.fill(HIST("AntiOmega_eta_pt_ue"), particle.pt(), particle.eta());
break;
break;
default:
continue;
}
Expand Down
Loading