Skip to content

Commit 0917591

Browse files
authored
Merge pull request #36 from alibuild/alibot-cleanup-11915
[PWGHF] Please consider the following formatting changes to AliceO2Group#11915
2 parents 2263fe4 + ead1152 commit 0917591

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

PWGHF/HFC/TableProducer/correlatorLcScHadrons.cxx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -839,13 +839,13 @@ struct HfCorrelatorLcScHadrons {
839839
isSignal =
840840
(TESTBIT(std::abs(candidate.flagMcMatchRec()), aod::hf_cand_sigmac::DecayType::Sc0ToPKPiPi) && chargeCand == chargeZero) ||
841841
(TESTBIT(std::abs(candidate.flagMcMatchRec()), aod::hf_cand_sigmac::DecayType::ScplusplusToPKPiPi) && std::abs(chargeCand) == chargeScPlusPlus);
842-
signSoftPion = candidate.template prong1_as<aod::TracksWMc>().sign();
842+
signSoftPion = candidate.template prong1_as<aod::TracksWMc>().sign();
843843
} else {
844844
signSoftPion = candidate.template prong1_as<aod::Tracks>().sign();
845845
}
846846
if (chargeCand == chargeZero) {
847-
chargeCand = (signSoftPion < chargeZero) ? assignedChargeSc0 : -assignedChargeSc0; // to distingush sc0 from anti-sc0, charge set to +1 and -1
848-
}
847+
chargeCand = (signSoftPion < chargeZero) ? assignedChargeSc0 : -assignedChargeSc0; // to distingush sc0 from anti-sc0, charge set to +1 and -1
848+
}
849849
} else {
850850
selLcPKPi = candidate.isSelLcToPKPi() >= selectionFlagLc;
851851
selLcPiKP = candidate.isSelLcToPiKP() >= selectionFlagLc;
@@ -941,9 +941,8 @@ struct HfCorrelatorLcScHadrons {
941941

942942
int8_t chargeCand = pdg->GetParticle(particle.pdgCode())->Charge() / scalePDGCharge; // Retrieve charge
943943
if (chargeCand == chargeZero) {
944-
chargeCand = (particle.pdgCode() > chargeZero) ? assignedChargeSc0 : -assignedChargeSc0; // to distingush sc0 from anti-sc0, charge set to +1 and -1
945-
}
946-
944+
chargeCand = (particle.pdgCode() > chargeZero) ? assignedChargeSc0 : -assignedChargeSc0; // to distingush sc0 from anti-sc0, charge set to +1 and -1
945+
}
947946

948947
isPrompt = particle.originMcGen() == RecoDecay::OriginType::Prompt;
949948
isNonPrompt = particle.originMcGen() == RecoDecay::OriginType::NonPrompt;

0 commit comments

Comments
 (0)