Skip to content

PWGHF: Developement of D Resonances MC analysis#8024

Merged
fgrosa merged 6 commits intoAliceO2Group:masterfrom
Luca610:McReso
Oct 18, 2024
Merged

PWGHF: Developement of D Resonances MC analysis#8024
fgrosa merged 6 commits intoAliceO2Group:masterfrom
Luca610:McReso

Conversation

@Luca610
Copy link
Contributor

@Luca610 Luca610 commented Oct 16, 2024

This pull request continues the developements of the MC analysis for Charmed resonances:

  1. 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

  2. candidateCreatorCharmResoReduced:
    -added MC table

  3. reducedDataFormat:
    -modified tables accordingly

  4. selectorCutsRedDataFormat:
    -added pT Labels

Luca610 added a commit to Luca610/O2Physics that referenced this pull request Oct 16, 2024
Please consider the following formatting changes to AliceO2Group#8024
Copy link
Collaborator

@fgrosa fgrosa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Luca610,
Many thanks! I have only a few comments. When you implement them, please also rebase on upstream master and solve the conflicts.

Please consider the following formatting changes to AliceO2Group#8024
@Luca610
Copy link
Contributor Author

Luca610 commented Oct 17, 2024

Hi @fgrosa, thanks for your comments! I implemented them and solved the conflicts with the latest commit!

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) ||
Copy link
Collaborator

@vkucera vkucera Oct 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the difference between matching +kGamma and -kGamma?
Same for kPi0.

Copy link
Contributor Author

@Luca610 Luca610 Oct 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 fgrosa enabled auto-merge (squash) October 17, 2024 15:28
@fgrosa fgrosa merged commit 0b17cb2 into AliceO2Group:master Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants