[PWGHF] Lc decay time: fix definition and provide additional info - #17518
Open
lubynets wants to merge 8 commits into
Open
[PWGHF] Lc decay time: fix definition and provide additional info#17518lubynets wants to merge 8 commits into
lubynets wants to merge 8 commits into
Conversation
lubynets
requested review from
NicoleBastid,
alibuild,
apalasciano,
deepathoms,
fcatalan92,
fcolamar,
fgrosa,
gluparel,
hahassan7,
jpxrk,
mfaggin,
mmazzilli,
singhra1994,
stefanopolitano,
vkucera,
xinyepeng and
zhangbiao-phy
as code owners
August 19, 2026 21:35
|
O2 linter results: ❌ 0 errors, |
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.
1. Fix definition of MC-gen decay time$\Lambda_{\mathrm{c}}^+$ particle is defined as $t^{\mathrm{gen}} = t / \gamma$ , where $t$ is the lab-frame production time of one of the daughters, and $\gamma$ is the Lorentz factor of $\Lambda_{\mathrm{c}}^+$ .$\Lambda_{\mathrm{c}}^+$ particle as $t^{\mathrm{kin}} = \frac{Lm}{pc}$ , where $L$ and $p$ are MC-defined decay length and momentum of the mother particle.$\Lambda_{\mathrm{c}}^+$ there should be no difference between these two definitions. The existing difference (left panels of the attached picture) are probably related to numeric artifacts and/or neglecting the curvature of $\Lambda_{\mathrm{c}}^+$ trajectory (?)$\Lambda_{\mathrm{c}}^+$ the difference is more pronounced (right panels of the picture). The motivation to use the $t^{\mathrm{kin}}$ definition is that we are interested not in real proper decay time of nonprompt particle, but in its proxy, the quantity which we would obtain in data-driven way, if this particle was prompt (since for reconstructed decay candidates both in MC and data we use exactly this definition).

In the current version of code the decay time of MC generated
This PR proposes to define the decay time of MC generated
For prompt
For nonprompt
2. The THnSparse with reconstructed MC candidates is extended with yet another axis, containing decay time of matched generated particle (for obtaining the response matrix in order to enable unfolding / forward-folding).
3. The name
lifetimein code variables is replaced withdecay time, since the former is the property of particle species (PDG constant), while the latter is the property of particular particle instance.4. Code cleaning
-- unneeded template typename replaced with explicit specification of parameter's type;
-- some variables are named less cryptic;
-- fixed clang-tidy errors.