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

Creating new TRestRadialStrippedMask #526

Merged
merged 14 commits into from
Jun 16, 2024
Merged

Creating new TRestRadialStrippedMask #526

merged 14 commits into from
Jun 16, 2024

Conversation

jgalan
Copy link
Member

@jgalan jgalan commented Jun 14, 2024

jgalan Large: 303 Powered by Pull Request Badge

This PR adds a new type of radial mask that will be required by new custom optics rest-for-physics/axionlib-data#11

radialstrippedmask Screenshot 2024-06-14 at 15 59 07

@jgalan jgalan self-assigned this Jun 14, 2024
@jgalan jgalan requested review from jovoy and a team June 14, 2024 07:10
@jgalan jgalan marked this pull request as ready for review June 14, 2024 07:31
@jgalan jgalan requested a review from nkx111 as a code owner June 14, 2024 07:31

TVector2 point(x, y);
Double_t phi = point.Phi();

Copy link
Contributor

Choose a reason for hiding this comment

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

So one thing that we still need for this is the initialRadius like in the TRestSpiderMask. Does this mean that X-rays hitting inside the initialRadius are stopped? And then if you use internalRegionRadius they pass in that region? If I understood that correctly we would also need internalRegionRadius because some of the Spacers only start at the halfway mark of the radii.

Copy link
Member Author

@jgalan jgalan Jun 14, 2024

Choose a reason for hiding this comment

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

Ok, I have updated accordingly to follow the same logic as TRestSpiderMask. I updated the image on the documentation, and added also in the description of this PR. Watch out the masks.rml file.

@jgalan jgalan merged commit 5772e6b into master Jun 16, 2024
64 checks passed
@jgalan jgalan deleted the jgalan_radial_good branch June 16, 2024 17:08
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.

3 participants