@@ -697,13 +697,13 @@ struct HfTaskCorrelationLcHadrons {
697697 registry.fill (HIST (" hDeltaPhiPtIntSignalRegionMcRec" ), deltaPhi, efficiencyWeight);
698698 if (isPhysicalPrimary) {
699699 registry.fill (HIST (" hCorrel2DVsPtPhysicalPrimaryMcRec" ), deltaPhi, deltaEta, ptLc, ptHadron, statusLcPrompt, poolBin, efficiencyWeight);
700- if (statusLcPrompt == 1 && statusPromptHadron == 1 ) {
700+ if (statusLcPrompt == 1 && statusPromptHadron == RecoDecay::OriginType::Prompt ) {
701701 if (fillSign) {
702702 registry.fill (HIST (" hCorrel2DVsPtSignSignalRegionPromptLcPromptHadronMcRec" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
703703 } else {
704704 registry.fill (HIST (" hCorrel2DVsPtSignalRegionPromptLcPromptHadronMcRec" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, efficiencyWeight);
705705 }
706- } else if (statusLcPrompt == 0 && statusPromptHadron == 2 ) {
706+ } else if (statusLcPrompt == 0 && statusPromptHadron == RecoDecay::OriginType::NonPrompt ) {
707707 if (fillSign) {
708708 registry.fill (HIST (" hCorrel2DVsPtSignSignalRegionNonPromptLcNonPromptHadronMcRec" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
709709 } else {
@@ -796,7 +796,7 @@ struct HfTaskCorrelationLcHadrons {
796796 } else {
797797 registry.fill (HIST (" hCorrel2DVsPtMcGenPrompt" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin);
798798 }
799- if (statusPromptHadron == 1 ) {
799+ if (statusPromptHadron == RecoDecay::OriginType::Prompt ) {
800800 if (fillSign) {
801801 registry.fill (HIST (" hCorrel2DVsPtSignMcGenPromptLcPromptHadron" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin);
802802 } else {
@@ -809,7 +809,7 @@ struct HfTaskCorrelationLcHadrons {
809809 } else {
810810 registry.fill (HIST (" hCorrel2DVsPtMcGenNonPrompt" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin);
811811 }
812- if (statusPromptHadron == 2 ) {
812+ if (statusPromptHadron == RecoDecay::OriginType::NonPrompt ) {
813813 if (fillSign) {
814814 registry.fill (HIST (" hCorrel2DVsPtSignMcGenNonPromptLcNonPromptHadron" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin);
815815 } else {
0 commit comments