We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c3f8c0 commit 37eb6efCopy full SHA for 37eb6ef
1 file changed
PWGHF/D2H/Tasks/taskCd.cxx
@@ -681,7 +681,7 @@ struct HfTaskCd {
681
void fillHistosMcGen(CandCdMcGen const& mcParticles, Coll const& recoCollisions)
682
{
683
for (const auto& particle : mcParticles) {
684
- if (std::abs(particle.flagMcMatchGen()) == hf_decay::hf_cand_3prong::DecayChannelMain::CDeuteronToDeKPi) {
+ if (std::abs(particle.flagMcMatchGen()) != hf_decay::hf_cand_3prong::DecayChannelMain::CDeuteronToDeKPi) {
685
continue;
686
}
687
const auto yGen = RecoDecay::y(particle.pVector(), o2::constants::physics::MassCDeuteron);
0 commit comments