-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWGHF: fix L(1520) PDG code. #7886
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mfaggin @fgrosa , I think this requires a thorough cross check between the MC numbering scheme and the ROOT numbering scheme, because these two should be identical and if they are not, it can be a big problem.
The code 3124 corresponds to the PDG numbering scheme used in the particle table of TDatabasePDG in ROOT, from where we get the particle properties.
See https://root.cern/doc/master/TPDGCode_8h.html
and grep 1520 $ROOTSYS/etc/pdg_table.txt
:
522 Lambda(1520)0 3124 1 100 Baryon 0 1.519000e+00 1.600000e-02 -100 -1 -100 -1 -1 12
523 Lambda(1520)_bar -3124 522 0
If particle.pdgCode()
returns the MC code instead of the ROOT one, we have a problem.
Hi @vkucera indeed the pdg code for the L(1520) is an issue if one uses |
I agree. Can you link the change in PYTHIA here? |
* Fix L(1520) PDG code. * Fix Clang format. --------- Co-authored-by: Mattia Faggin <[email protected]>
* Fix L(1520) PDG code. * Fix Clang format. --------- Co-authored-by: Mattia Faggin <[email protected]>
Fixing Lambda(1520) PDG code in candidateCreator3Prong.cxx, aligning it to the expected value, as done in O2DPG here: PR #1673.
Tested on 1 file of
HF_LHC24g5_All
MC production (see bin centered at 3 below):