@@ -747,13 +747,13 @@ struct HfTaskCorrelationLcHadrons {
747747 registry.fill (HIST (" hDeltaPhiPtIntSignalRegionMcRec" ), deltaPhi, efficiencyWeight);
748748 if (isPhysicalPrimary) {
749749 registry.fill (HIST (" hCorrel2DVsPtPhysicalPrimaryMcRec" ), deltaPhi, deltaEta, ptLc, ptHadron, statusLcPrompt, poolBin, efficiencyWeight);
750- if (statusLcPrompt == 1 && statusPromptHadron == 1 ) {
750+ if (statusLcPrompt == 1 && statusPromptHadron == RecoDecay::OriginType::Prompt ) {
751751 if (fillSign) {
752752 registry.fill (HIST (" hCorrel2DVsPtSignSignalRegionPromptLcPromptHadronMcRec" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
753753 } else {
754754 registry.fill (HIST (" hCorrel2DVsPtSignalRegionPromptLcPromptHadronMcRec" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, efficiencyWeight);
755755 }
756- } else if (statusLcPrompt == 0 && statusPromptHadron == 2 ) {
756+ } else if (statusLcPrompt == 0 && statusPromptHadron == RecoDecay::OriginType::NonPrompt ) {
757757 if (fillSign) {
758758 registry.fill (HIST (" hCorrel2DVsPtSignSignalRegionNonPromptLcNonPromptHadronMcRec" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
759759 } else {
@@ -846,7 +846,7 @@ struct HfTaskCorrelationLcHadrons {
846846 } else {
847847 registry.fill (HIST (" hCorrel2DVsPtMcGenPrompt" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin);
848848 }
849- if (statusPromptHadron == 1 ) {
849+ if (statusPromptHadron == RecoDecay::OriginType::Prompt ) {
850850 if (fillSign) {
851851 registry.fill (HIST (" hCorrel2DVsPtSignMcGenPromptLcPromptHadron" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin);
852852 } else {
@@ -859,7 +859,7 @@ struct HfTaskCorrelationLcHadrons {
859859 } else {
860860 registry.fill (HIST (" hCorrel2DVsPtMcGenNonPrompt" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin);
861861 }
862- if (statusPromptHadron == 2 ) {
862+ if (statusPromptHadron == RecoDecay::OriginType::NonPrompt ) {
863863 if (fillSign) {
864864 registry.fill (HIST (" hCorrel2DVsPtSignMcGenNonPromptLcNonPromptHadron" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin);
865865 } else {
0 commit comments