Skip to content

Commit ef780c9

Browse files
committed
Propagate to derivedDataCreatorLcToK0sP
1 parent a2624b2 commit ef780c9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

PWGHF/TableProducer/derivedDataCreatorLcToK0sP.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ struct HfDerivedDataCreatorLcToK0sP {
101101
using TypeMcCollisions = soa::Join<aod::McCollisions, aod::McCentFT0Ms>;
102102

103103
Filter filterSelectCandidates = aod::hf_sel_candidate_lc_to_k0s_p::isSelLcToK0sP >= 1;
104-
Filter filterMcGenMatching = nabs(aod::hf_cand_casc::flagMcMatchGen) == 1;
104+
Filter filterMcGenMatching = nabs(aod::hf_cand_mc_flag::flagMcMatchGen) == 1;
105105

106106
Preslice<SelectedCandidates> candidatesPerCollision = aod::hf_cand::collisionId;
107107
Preslice<SelectedCandidatesMc> candidatesMcPerCollision = aod::hf_cand::collisionId;
@@ -115,10 +115,10 @@ struct HfDerivedDataCreatorLcToK0sP {
115115
Partition<SelectedCandidatesMl> candidatesMlAll = aod::hf_sel_candidate_lc_to_k0s_p::isSelLcToK0sP >= 0;
116116
Partition<SelectedCandidatesMcMl> candidatesMcMlAll = aod::hf_sel_candidate_lc_to_k0s_p::isSelLcToK0sP >= 0;
117117
// partitions for signal and background
118-
Partition<SelectedCandidatesMc> candidatesMcSig = nabs(aod::hf_cand_casc::flagMcMatchRec) == 1;
119-
Partition<SelectedCandidatesMc> candidatesMcBkg = nabs(aod::hf_cand_casc::flagMcMatchRec) != 1;
120-
Partition<SelectedCandidatesMcMl> candidatesMcMlSig = nabs(aod::hf_cand_casc::flagMcMatchRec) == 1;
121-
Partition<SelectedCandidatesMcMl> candidatesMcMlBkg = nabs(aod::hf_cand_casc::flagMcMatchRec) != 1;
118+
Partition<SelectedCandidatesMc> candidatesMcSig = nabs(aod::hf_cand_mc_flag::flagMcMatchRec) == 1;
119+
Partition<SelectedCandidatesMc> candidatesMcBkg = nabs(aod::hf_cand_mc_flag::flagMcMatchRec) != 1;
120+
Partition<SelectedCandidatesMcMl> candidatesMcMlSig = nabs(aod::hf_cand_mc_flag::flagMcMatchRec) == 1;
121+
Partition<SelectedCandidatesMcMl> candidatesMcMlBkg = nabs(aod::hf_cand_mc_flag::flagMcMatchRec) != 1;
122122

123123
void init(InitContext const&)
124124
{

0 commit comments

Comments
 (0)