Skip to content
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

TracksToParticles: avoid initializing mass from truth #1534

Merged
merged 2 commits into from
Jul 28, 2024

Conversation

veprbl
Copy link
Member

@veprbl veprbl commented Jul 25, 2024

People were confused by us removing truth PDG in ReconstructedParticles, so we better remove this too, before it is relied upon for too much.

Briefly, what does this PR introduce?

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Documentation update
  • Other: __

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

No

Does this PR change default behavior?

Yes

People were confused by us removing truth PDG in ReconstructedParticles, so we better remove this too, before it is relied upon for too much.
@github-actions github-actions bot added the topic: tracking Relates to tracking reconstruction label Jul 25, 2024
wdconinc
wdconinc previously approved these changes Jul 26, 2024
@veprbl veprbl enabled auto-merge July 27, 2024 17:09
Copy link

@veprbl veprbl requested a review from wdconinc July 28, 2024 18:30
@veprbl veprbl added this pull request to the merge queue Jul 28, 2024
Copy link
Contributor

@wdconinc wdconinc left a comment

Choose a reason for hiding this comment

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

You should be able to get to the truth through associations only.

Merged via the queue into main with commit be33725 Jul 28, 2024
87 checks passed
@veprbl veprbl deleted the pr/ttp_no_truth_mass branch July 28, 2024 20:11
github-merge-queue bot pushed a commit that referenced this pull request Aug 22, 2024
### Briefly, what does this PR introduce?

The #1534 makes EICrecon no longer leak mass value known from truth.
This changes makes it so that mass is set by PID lookup table facility
according to the mass of the particle for the PDG code assigned.

### What kind of change does this PR introduce?
- [ ] Bug fix (issue #__)
- [ ] New feature (issue #__)
- [ ] Documentation update
- [ ] Other: __

### Please check if this PR fulfills the following:
- [ ] Tests for the changes have been added
- [ ] Documentation has been added / updated
- [ ] Changes have been communicated to collaborators

### Does this PR introduce breaking changes? What changes might users
need to make to their code?
No

### Does this PR change default behavior?
Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: tracking Relates to tracking reconstruction
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants