Skip to content

Fixed type of hit_pdgc and sim_flag#21

Merged
benw22022 merged 1 commit intomasterfrom
fix-hit-pdg-type
Jan 28, 2026
Merged

Fixed type of hit_pdgc and sim_flag#21
benw22022 merged 1 commit intomasterfrom
fix-hit-pdg-type

Conversation

@tobias-boeckh
Copy link
Contributor

  • fPixelPDGCs had type UInt_t because of this the anti-particles with negative values had arbitrary pdg code, e.g. 4294967285
  • simFlag had float type but got int value

@benw22022
Copy link
Contributor

I was wondering what those pdg codes were - I assumed they were some nuclear remnant or something 🤦‍♂️. Thanks for fixing this @tobias-boeckh!

@benw22022 benw22022 merged commit 84d5811 into master Jan 28, 2026
2 checks passed
@benw22022 benw22022 deleted the fix-hit-pdg-type branch January 28, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants