Skip to content
Merged
Show file tree
Hide file tree
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 PWGHF/HFC/TableProducer/correlatorLcScHadrons.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1859,8 +1859,8 @@ struct HfCorrelatorLcScHadrons {
if (cfgCharmCand.pidTrkApplied && (std::abs(particleAssoc.pdgCode()) != kProton)) {
continue; // proton PID
}
auto const chargeLc = pdg->GetParticle(candidate.pdgCode())->Charge(); // Retrieve charge
auto const chargeAssoc = pdg->GetParticle(particleAssoc.pdgCode())->Charge(); // Retrieve charge
auto const chargeLc = pdg->GetParticle(candidate.pdgCode())->Charge(); // Retrieve charge
auto const chargeAssoc = pdg->GetParticle(particleAssoc.pdgCode())->Charge(); // Retrieve charge
float cent = 100.0; // will be updated later

int trackOrigin = RecoDecay::getCharmHadronOrigin(mcParticles, particleAssoc, true);
Expand Down
4 changes: 1 addition & 3 deletions PWGHF/HFC/TableProducer/correlatorXicHadrons.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,6 @@ struct HfCorrelatorXicHadrons {
// if strange TOF is unavailable
passTOF = track.tofNSigmaPr() > cfgV0.cfgV0DaughPIDCutsTOFPr;
}

}

if ((std::abs(track.tpcNSigmaPr()) > cfgV0.cfgV0DaughPIDCutsTPCPr) && !passTOF) {
Expand Down Expand Up @@ -707,7 +706,6 @@ struct HfCorrelatorXicHadrons {
// Fallback to standard track TOF
passTOF = std::abs(track.tofNSigmaPi()) > cfgV0.cfgV0DaughPIDCutsTOFPi;
}

}

if ((std::abs(track.tpcNSigmaPi()) > cfgV0.cfgV0DaughPIDCutsTPCPi) && !passTOF) {
Expand Down Expand Up @@ -1579,7 +1577,7 @@ struct HfCorrelatorXicHadrons {
listDaughters.clear();
const std::size_t nDaughtersExpected = IsXicPlus ? XicDecayDaughtersCount::XicPlusDaughtersCount : XicDecayDaughtersCount::Xic0DaughtersCount;

if (IsXicPlus) {
if (IsXicPlus) {
// Final state: p, pi-, pi-, pi+, pi+
std::array<int, XicDecayDaughtersCount::XicPlusDaughtersCount> const arrDaughXicPlusPDG = {kProton, kPiMinus, kPiMinus, kPiPlus, kPiPlus};

Expand Down
Loading