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

Add ORANGE converters for G4Trap and G4GenericTrap #1213

Merged
merged 8 commits into from
Apr 30, 2024

Conversation

mrguilima
Copy link
Contributor

@mrguilima mrguilima commented Apr 29, 2024

The new ORANGE converters for G4Trap and G4GenericTrap are based on the recently implemented generic trap shape.

G4Trap corners are needed, and not available from the public G4Trap interface, hence they are re-calculated as needed for the generic trap construction.

@mrguilima mrguilima self-assigned this Apr 29, 2024
@mrguilima mrguilima requested a review from sethrj April 29, 2024 16:28
@sethrj sethrj changed the title Add ORANGE converters for G4Trap and G4GenericTrap *[enhancement, orange]* Add ORANGE converters for G4Trap and G4GenericTrap Apr 30, 2024
@sethrj sethrj added enhancement New feature or request orange Work on ORANGE geometry engine labels Apr 30, 2024
Copy link
Member

@sethrj sethrj left a comment

Choose a reason for hiding this comment

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

Looking good Guilherme! A few comments.

src/orange/g4org/SolidConverter.cc Outdated Show resolved Hide resolved
test/orange/g4org/SolidConverter.test.cc Outdated Show resolved Hide resolved
src/orange/g4org/SolidConverter.cc Outdated Show resolved Hide resolved
src/orange/g4org/SolidConverter.cc Outdated Show resolved Hide resolved
src/orange/g4org/SolidConverter.cc Outdated Show resolved Hide resolved
@mrguilima
Copy link
Contributor Author

I've applied all suggestions.

Copy link
Member

@sethrj sethrj left a comment

Choose a reason for hiding this comment

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

A couple of minor final comments. Thanks for the updates!

src/orange/g4org/SolidConverter.cc Outdated Show resolved Hide resolved
src/orange/g4org/SolidConverter.cc Outdated Show resolved Hide resolved
src/orange/g4org/SolidConverter.cc Outdated Show resolved Hide resolved
src/orange/g4org/SolidConverter.cc Show resolved Hide resolved
mrguilima and others added 4 commits April 30, 2024 15:44
Co-authored-by: Seth R. Johnson <johnsonsr@ornl.gov>
Co-authored-by: Seth R. Johnson <johnsonsr@ornl.gov>
Co-authored-by: Seth R. Johnson <johnsonsr@ornl.gov>
Copy link
Member

@sethrj sethrj left a comment

Choose a reason for hiding this comment

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

Nice work! Thanks @mrguilima !

@sethrj sethrj enabled auto-merge (squash) April 30, 2024 21:23
@sethrj sethrj merged commit 46d54b4 into celeritas-project:develop Apr 30, 2024
27 of 28 checks passed
@mrguilima mrguilima deleted the gentrap-converter branch May 1, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request orange Work on ORANGE geometry engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants