TS+light pipes+Trackers Geometry for ESA (ldmx_reduced_v3)#1900
TS+light pipes+Trackers Geometry for ESA (ldmx_reduced_v3)#1900Layan-Sarayra wants to merge 16 commits intotrunkfrom
Conversation
|
Hey Layan - thanks for making the PR! To get everyone on the same page, I would recommend to The heap-buffer-overflow failure of the address sanitizer validation test should be fixed soon, so don't worry about that one. For the errors in the other validation tests of the type
When making a new version of ldmx-sw geometry that includes ECal/HCal, it seems to be necessary to update these files: Basically, everywhere you see ldmx-reduced-v2 mentioned in these files, copy those classes and make an ldmx-reduced-v3 version, or update the arrays to also include ldmx-reduced-v3 I was able to get past the ECal and HCal definitions locally by doing this, although now I'm seeing other problems with the DQM... But one problem at a time, right? :^) |
9534ded to
7f5985d
Compare
|
Hey Layan - would you mind rebasing to trunk, to see if that fixes the issue with the validation checks? It should fix the clang-tools check for sure, not certain about the compilation error. |
…s to one file 2. add light pipes info to constants and materials 3. updated detector.gdml to inlcude light pipes
… to trig_scint.gdml envelope and deleted their gdml file
…v2 for now, must be updated
5a6eb33 to
dbdf6a8
Compare
|
Thanks for continuing to work on this! I believe we're getting close to finishing... From the So it looks like one or more TS pads aren't being created. I downloaded this PR and reverted When I made these 2 changes, I was able to run the validation test locally with no errors. One thing I find interesting is that I didn't revert I would recommend double-checking the new |
|
I'll work on fixing trig_scint.gdml. I'm relieved to know that target is looking good! I have some plots of e-dep in LYSO once validation tests run successfully I'll upload a few. Thanks CJ! |
|
hi @Layan-Sarayra a few things should be cleaned up in this branch, for example none of the v15 geometry changes should be included. Then the |
There was a problem hiding this comment.
I agree with @tvami that the v15 stuff should be taken out and this PR should just be what the issue title says: TS+lightpipes+tracker in the reduced geometry. Do you know how to undo changes you added in a branch from your PR?
I also think that if you're using three TS loops in this geometry in place of @cjbarton151 's assembly technique, so be it. As long as we have this new way of doing it going forward, I'm happy.
Besides these two things, is there anything else holding you up?
tvami
left a comment
There was a problem hiding this comment.
A lot is happening in this PR (thanks for your work!), so I think I'll have to review this again, but for now these are my comments. My biggest confusion is to have any detector element at negative z values. I think everything in the slice test is supposed to be positive z.
|
Thank you all for the feedback, it’s very helpful. @bryngemark I reverted the @tvami thanks for reviewing! I applied most of your suggestions and pushed an updated version. I will also keep this PR TS + LYSO specific and open a separate PR for the trackers. On the negative z-values: I kept the convention of placing the “target” at z = 0 (as in |
|
Thanks @Layan-Sarayra for the update! Indeed my confusion came from the fact that I thought LYSO is in the front (the first detector downstream the beampipe), thanks for attaching the pictures / CAD models and clarifying that! |
|
The CI fails with I'm not sure if we were expecting the TS tracking to work yet with this geom? |
|
TS tracking still not working |
…oil trackers to match CAD layout
|
regarding TS tracking failing. i see a few possible causes.
|







I am updating ldmx-sw, here are the details.
What are the issues that this addresses?
This partially resolves #iss1880, it's the TS+light pipes+Tracker subsystems geometry for ESA slice test.
Check List
I duplicated
ldmx-reduced-v2and called itldmx-reduced-v3, and made changes to the following files:constants.gdml
detector.gdml
materials.gdml
target.gdml
trig_scint.gdml
ldmx-sw/.github/validation_samples/reduced_ldmx/config.py
I built the geometry for ldmx-reduced-v3 based on the CAD layouts Majd Ghrear designed (I annotated in red, but all the designs are Majd's work!)
Key changes between ldmx-reduced-v2 and ldmx-reduced-v3:
ldmx-reduced-v2toldmx-reduced-v3in.github/validation_samples/reduced_ldmx/config.pyI ran a geometry check and it passed. Then ran a simulation of 1e+6 events and it processed all events successfully. Here are the energy deposition plots for TS Pad 1, 2, and 3 with light guides, target, tagger and recoil trackers.
I have a few comments:
ldmx-reduced-v2, and for it the sensors were removed entirely. Please advise me on what to do with the trackers.detector.gdml, but it’s fine because their ESA geometry is different fromldmx-reduced-v2.