Add NEXT100 generator for events on cathode surface#266
Merged
kvjmistry merged 3 commits intonext-exp:masterfrom Jun 17, 2025
Merged
Add NEXT100 generator for events on cathode surface#266kvjmistry merged 3 commits intonext-exp:masterfrom
kvjmistry merged 3 commits intonext-exp:masterfrom
Conversation
gonzaponte
approved these changes
Jun 16, 2025
Collaborator
gonzaponte
left a comment
There was a problem hiding this comment.
As I've annotated, the generator is actually 2 um thick, not 1. I don't think this matters, so I approve it anyway. Feel free to change it, if you prefer it to be 1 um.
| // Generate in a 1 micron thick disk in front of cathode | ||
| cathode_surf_gen_ = | ||
| new CylinderPointSampler(0.0, cathode_int_diam_/2., | ||
| 1.0*micrometer,0., twopi, nullptr, |
Collaborator
There was a problem hiding this comment.
Not that it matters, but to get 1 um, you should specify 0.5*micrometer here.
Collaborator
Author
There was a problem hiding this comment.
ah yes, the half-width!
2 micron is fine shouldn't make much of a difference. I'll update the thickness so it matches with the desired shift.
| 1.0*micrometer,0., twopi, nullptr, | ||
| G4ThreeVector(GetCoordOrigin().x(), | ||
| GetCoordOrigin().y(), | ||
| cathode_grid_zpos - grid_thickn_ - 1*micrometer)); |
Collaborator
There was a problem hiding this comment.
and here.
2 um is fine, though :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a generator to make events in a 1 micron thickness, 1 micron in front of the cathode mesh. This is for modelling the plated-out Rn events.
According to the geometry, the cathode mesh sits at
z = 1187.37 mm. 100k test events were generated with the following coordinates:The z positions are just in front of the cathode mesh surface.