Repository navigation
[PWGCF] FU MC Truth: producer and task update for D0 analysis - #18903
Merged
Merged
Conversation
kgwizdzi
requested review from
alibuild,
dimihayl,
dsarkaralice,
lauraser,
lgraczykCern,
majanik,
prchakra,
victor-gonzalez and
wrzesaCERN
as code owners
November 24, 2026 16:26
|
O2 linter results: ❌ 0 errors, |
Collaborator
|
Error while checking build/O2Physics/code-check for d9074ae at 2026-11-24 17:46: Full log here. |
prchakra
approved these changes
Nov 24, 2026
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.
femtoUniverseProducerMCTruthTask.cxx:processTrackMcWithHfandprocessTrackMcOnlyRecoCollWithHf, which allow to do proper selection of generated D0/D0bar mesons based onaod::McParticlesand HF-dedicated tableaod::HfCand2ProngMcGen** users not interested in HF analysis can use
processTrackMcandprocessTrackMcOnlyRecoColl(no need to add the HF helper tasks to run)** process functions with the text
OnlyRecoCollin the name of the process are processing only MC Truth events which are reconstructed** all MC Truth events are processed in
processTrackMcandprocessTrackMcWithHffillParticlesWithHfcreated to fill tables with D0/D0bar mesons in the dedicated process functionsconfUseIsGoodZvtxFT0vsPV,confUseIsVertexITSTPC,confUseNoSameBunchPileupconfStoreMotherPDGremoved - The mother PDG is now always stored.femtoUniversePairTaskTrackTrackMcTruth.cxx:confEtaMaxPart1,confEtaMaxPart2)confCheckMotherPDGPart1,confCheckMotherPDGPart2); check can be done for one of the particle or for both; a particle is rejected if the mother PDG is same as the one provided within dedicated configurable (confMotherPdgPart1,confMotherPdgPart2)passesParticleSelectionwhich checks the selection criteria for the particle