1717
1818#include " PWGHF/Core/CentralityEstimation.h"
1919#include " PWGHF/Core/DecayChannels.h"
20- #include " PWGHF/Core/DecayChannelsLegacy.h"
2120#include " PWGHF/Core/HfHelper.h"
2221#include " PWGHF/Core/SelectorCuts.h"
2322#include " PWGHF/DataModel/AliasTables.h"
@@ -519,7 +518,7 @@ struct HfCandidateSigmac0plusplusMc {
519518 // / look for Σc0(2455)
520519 indexRec = RecoDecay::getMatchedMCRec (mcParticles, arrayDaughters, Pdg::kSigmaC0 , std::array{+kProton , -kKPlus , +kPiPlus , -kPiPlus }, true , &sign, 3 );
521520 if (indexRec > -1 ) { // / due to (*) no need to check anything for LambdaC
522- flag = sign * BIT (aod:: hf_cand_sigmac::DecayType ::Sc0ToPKPiPi) ;
521+ flag = sign * o2::hf_decay:: hf_cand_sigmac::DecayChannelMain ::Sc0ToPKPiPi;
523522 }
524523 auto particle = mcParticles.rawIteratorAt (indexRec);
525524 particleAntiparticle = isParticleAntiparticle (particle, Pdg::kSigmaC0 );
@@ -528,7 +527,7 @@ struct HfCandidateSigmac0plusplusMc {
528527 if (flag == 0 ) {
529528 indexRec = RecoDecay::getMatchedMCRec (mcParticles, arrayDaughters, Pdg::kSigmaCStar0 , std::array{+kProton , -kKPlus , +kPiPlus , -kPiPlus }, true , &sign, 3 );
530529 if (indexRec > -1 ) { // / due to (*) no need to check anything for LambdaC
531- flag = sign * BIT (aod:: hf_cand_sigmac::DecayType ::ScStar0ToPKPiPi) ;
530+ flag = sign * o2::hf_decay:: hf_cand_sigmac::DecayChannelMain ::ScStar0ToPKPiPi;
532531 }
533532 if (particleAntiparticle < 0 ) {
534533 auto particle = mcParticles.rawIteratorAt (indexRec);
@@ -546,7 +545,7 @@ struct HfCandidateSigmac0plusplusMc {
546545 // / look for Σc++(2455)
547546 indexRec = RecoDecay::getMatchedMCRec (mcParticles, arrayDaughters, Pdg::kSigmaCPlusPlus , std::array{+kProton , -kKPlus , +kPiPlus , +kPiPlus }, true , &sign, 3 );
548547 if (indexRec > -1 ) { // / due to (*) no need to check anything for LambdaC
549- flag = sign * BIT (aod:: hf_cand_sigmac::DecayType ::ScplusplusToPKPiPi) ;
548+ flag = sign * o2::hf_decay:: hf_cand_sigmac::DecayChannelMain ::ScplusplusToPKPiPi;
550549 }
551550 auto particle = mcParticles.rawIteratorAt (indexRec);
552551 particleAntiparticle = isParticleAntiparticle (particle, Pdg::kSigmaCPlusPlus );
@@ -555,7 +554,7 @@ struct HfCandidateSigmac0plusplusMc {
555554 if (flag == 0 ) {
556555 indexRec = RecoDecay::getMatchedMCRec (mcParticles, arrayDaughters, Pdg::kSigmaCStarPlusPlus , std::array{+kProton , -kKPlus , +kPiPlus , +kPiPlus }, true , &sign, 3 );
557556 if (indexRec > -1 ) { // / due to (*) no need to check anything for LambdaC
558- flag = sign * BIT (aod:: hf_cand_sigmac::DecayType ::ScStarPlusPlusToPKPiPi) ;
557+ flag = sign * o2::hf_decay:: hf_cand_sigmac::DecayChannelMain ::ScStarPlusPlusToPKPiPi;
559558 }
560559 if (particleAntiparticle < 0 ) {
561560 auto particle = mcParticles.rawIteratorAt (indexRec);
@@ -614,7 +613,7 @@ struct HfCandidateSigmac0plusplusMc {
614613 }
615614 if (std::abs (daughter.flagMcMatchGen ()) == o2::hf_decay::hf_cand_3prong::DecayChannelMain::LcToPKPi) {
616615 // / Λc+ daughter decaying in pK-π+ found!
617- flag = sign * BIT (aod:: hf_cand_sigmac::DecayType ::Sc0ToPKPiPi) ;
616+ flag = sign * o2::hf_decay:: hf_cand_sigmac::DecayChannelMain ::Sc0ToPKPiPi;
618617 particleAntiparticle = isParticleAntiparticle (particle, Pdg::kSigmaC0 );
619618 break ;
620619 }
@@ -628,7 +627,7 @@ struct HfCandidateSigmac0plusplusMc {
628627 }
629628 if (std::abs (daughter.flagMcMatchGen ()) == o2::hf_decay::hf_cand_3prong::DecayChannelMain::LcToPKPi) {
630629 // / Λc+ daughter decaying in pK-π+ found!
631- flag = sign * BIT (aod:: hf_cand_sigmac::DecayType ::ScplusplusToPKPiPi) ;
630+ flag = sign * o2::hf_decay:: hf_cand_sigmac::DecayChannelMain ::ScplusplusToPKPiPi;
632631 particleAntiparticle = isParticleAntiparticle (particle, Pdg::kSigmaCPlusPlus );
633632 break ;
634633 }
@@ -646,7 +645,7 @@ struct HfCandidateSigmac0plusplusMc {
646645 }
647646 if (std::abs (daughter.flagMcMatchGen ()) == o2::hf_decay::hf_cand_3prong::DecayChannelMain::LcToPKPi) {
648647 // / Λc+ daughter decaying in pK-π+ found!
649- flag = sign * BIT (aod:: hf_cand_sigmac::DecayType ::ScStar0ToPKPiPi) ;
648+ flag = sign * o2::hf_decay:: hf_cand_sigmac::DecayChannelMain ::ScStar0ToPKPiPi;
650649 particleAntiparticle = isParticleAntiparticle (particle, Pdg::kSigmaCStar0 );
651650 break ;
652651 }
@@ -660,7 +659,7 @@ struct HfCandidateSigmac0plusplusMc {
660659 }
661660 if (std::abs (daughter.flagMcMatchGen ()) == o2::hf_decay::hf_cand_3prong::DecayChannelMain::LcToPKPi) {
662661 // / Λc+ daughter decaying in pK-π+ found!
663- flag = sign * BIT (aod:: hf_cand_sigmac::DecayType ::ScStarPlusPlusToPKPiPi) ;
662+ flag = sign * o2::hf_decay:: hf_cand_sigmac::DecayChannelMain ::ScStarPlusPlusToPKPiPi;
664663 particleAntiparticle = isParticleAntiparticle (particle, Pdg::kSigmaCStarPlusPlus );
665664 break ;
666665 }
0 commit comments