Skip to content

Creating new TRestRadialStrippedMask - #526

Merged
jgalan merged 14 commits into
masterfrom
jgalan_radial_good
Jun 16, 2024
Merged

Creating new TRestRadialStrippedMask#526
jgalan merged 14 commits into
masterfrom
jgalan_radial_good

Conversation

@jgalan

@jgalan jgalan commented Jun 14, 2024

Copy link
Copy Markdown
Member

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 a team and jovoy 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
Copy Markdown
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.

@jgalan jgalan Jun 14, 2024

Copy link
Copy Markdown
Member Author

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
@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