[PWGHF] Remove meaningless check for Sc matching to MC. #12813
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The value of
candSc.hfflag()corresponds to the one of the daughter Lambdac. By mistake, when matching the reco. Sc candidate to MC the decay channels of Sc signals were checked in this bitmap, even if obviously absent. This was a refuse inherited from the MC matching done in other codes (i.e.candidateCreator3Prong).This check is actually harmless since
BIT(aod::hf_cand_sigmac::DecayType::ScplusplusToPKPiPi)is equal to1, which by chance is the value ofBIT(aod::hf_cand_3prong::DecayType::LcToPKPi)which is the Lc->pKpi related bit always switched-on in the bitmap from thecandidateCreatorSc. A quick test offline confirms that using this check or not does not change the result.Removing it to avoid further confusion.