Skip to content

add 10x130 interpolated beamline to enable normal usage like other en… #839

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

Merged

Conversation

ajentsch
Copy link
Contributor

@ajentsch ajentsch commented Mar 7, 2025

…ergies

Briefly, what does this PR introduce?

This PR introduces a 10x130 lattice which has been calculated via interpolation between the three "core" beam energy settings, while still keeping the B0 constant. This will be paired with a similar PR for the RP matrices in EICrecon.

This updated magnet setting file will allow for "normal" usage of the file, where the B0 and RP can be used simultaneously.

What kind of change does this PR introduce?

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

Please check if this PR fulfills the following:

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

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

No, improves performance.

Does this PR change default behavior?

Yes, it changes the default 10x130 magnet settings to something which can be properly used.

@ajentsch
Copy link
Contributor Author

ajentsch commented Mar 7, 2025

@veprbl veprbl enabled auto-merge (squash) March 10, 2025 16:09
@veprbl veprbl merged commit 3e90c53 into main Mar 10, 2025
133 checks passed
@veprbl veprbl deleted the adjust-10x130-ep-magnet-settings-to-correctly-account-for-B0-field branch March 10, 2025 20:31
github-merge-queue bot pushed a commit to eic/EICrecon that referenced this pull request Mar 12, 2025
### Briefly, what does this PR introduce?

Updates the 10x130 RP matrix to match the new beamline settings:
eic/epic#839

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

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

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

Yes, it will make the 10x130 RP reco correct for this energy setting
with above magnet setting change.

### Does this PR change default behavior?

Yes, see above.

[RP_and_B0_pt_resolution_comparison_10_100_and_interpol_10_130_3_7_2025.pdf](https://github.com/user-attachments/files/19130938/RP_and_B0_pt_resolution_comparison_10_100_and_interpol_10_130_3_7_2025.pdf)

[pt_squared_and_RP_hit_plot_comparison_10_100_and_interpol_10_130_3_7_2025.pdf](https://github.com/user-attachments/files/19130939/pt_squared_and_RP_hit_plot_comparison_10_100_and_interpol_10_130_3_7_2025.pdf)

---------

Co-authored-by: Alexander Jentsch <[email protected]>
Co-authored-by: Dmitry Kalinkin <[email protected]>
veprbl pushed a commit that referenced this pull request Mar 15, 2025
#839)

…ergies

### Briefly, what does this PR introduce?

This PR introduces a 10x130 lattice which has been calculated via
interpolation between the three "core" beam energy settings, while still
keeping the B0 constant. This will be paired with a similar PR for the
RP matrices in EICrecon.

This updated magnet setting file will allow for "normal" usage of the
file, where the B0 and RP can be used simultaneously.

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

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

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

No, improves performance.

### Does this PR change default behavior?

Yes, it changes the default 10x130 magnet settings to something which
can be properly used.
github-actions bot pushed a commit to eic/EICrecon that referenced this pull request Mar 15, 2025
### Briefly, what does this PR introduce?

Updates the 10x130 RP matrix to match the new beamline settings:
eic/epic#839

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

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

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

Yes, it will make the 10x130 RP reco correct for this energy setting
with above magnet setting change.

### Does this PR change default behavior?

Yes, see above.

[RP_and_B0_pt_resolution_comparison_10_100_and_interpol_10_130_3_7_2025.pdf](https://github.com/user-attachments/files/19130938/RP_and_B0_pt_resolution_comparison_10_100_and_interpol_10_130_3_7_2025.pdf)

[pt_squared_and_RP_hit_plot_comparison_10_100_and_interpol_10_130_3_7_2025.pdf](https://github.com/user-attachments/files/19130939/pt_squared_and_RP_hit_plot_comparison_10_100_and_interpol_10_130_3_7_2025.pdf)

---------

Co-authored-by: Alexander Jentsch <[email protected]>
Co-authored-by: Dmitry Kalinkin <[email protected]>
(cherry picked from commit dba129a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants