PWGHF: Developement of D Resonances MC analysis#8024
Merged
fgrosa merged 6 commits intoAliceO2Group:masterfrom Oct 18, 2024
Merged
PWGHF: Developement of D Resonances MC analysis#8024fgrosa merged 6 commits intoAliceO2Group:masterfrom
fgrosa merged 6 commits intoAliceO2Group:masterfrom
Conversation
Luca610
added a commit
to Luca610/O2Physics
that referenced
this pull request
Oct 16, 2024
Please consider the following formatting changes to AliceO2Group#8024
Please consider the following formatting changes to AliceO2Group#8024
Contributor
Author
|
Hi @fgrosa, thanks for your comments! I implemented them and solved the conflicts with the latest commit! |
vkucera
reviewed
Oct 17, 2024
Comment on lines
+859
to
+860
| } else if (RecoDecay::isMatchedMCGen(particlesMc, candDStarMC, Pdg::kDStar, std::array{static_cast<int>(Pdg::kDPlus), static_cast<int>(kGamma)}, true, &signDStar, 1) || | ||
| RecoDecay::isMatchedMCGen(particlesMc, candDStarMC, Pdg::kDStar, std::array{static_cast<int>(Pdg::kDPlus), -static_cast<int>(kGamma)}, true, &signDStar, 1) || |
Collaborator
There was a problem hiding this comment.
What is the difference between matching +kGamma and -kGamma?
Same for kPi0.
Contributor
Author
There was a problem hiding this comment.
It's jusr a trick to make the function work with particles that don't have an antiparticle PDG code. The sign is changed again in the function when matching an antiparticle (D*- in this case) . In this way I can use the function with the acceptAntiParticles option and have the sign updated correctly
fgrosa
approved these changes
Oct 17, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request continues the developements of the MC analysis for Charmed resonances:
dataCreatorCharmResoReduced:
-added origin information for matched candidates
-added partly-reconstructed decays in decay channel Dstar-V0 for debugging purposes
-fixed partly reconstructed decay D*->D+pi0
candidateCreatorCharmResoReduced:
-added MC table
reducedDataFormat:
-modified tables accordingly
selectorCutsRedDataFormat:
-added pT Labels