-
Notifications
You must be signed in to change notification settings - Fork 21
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
Update Ecal geom Z values to match v14 geometry #1524
Conversation
The Z DQM plot looks like this now c.f. to #1485 (comment) I think we are good now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just formatting change, but I think this looks good. I'm a bit concerned that my geometry layer calculator is off which would then also affect the layer weights, but if it is just missing air gaps then the layer weights would not be noticeably affected.
How off is it? Or you mean the numbers in the software now the numbers from your script? |
The z-layer positions were copied from the script into these files. Since there is a difference between those z positions and the actual simulated model, that implies there is a bug in the script. This corrects the z positions of the layers as understood by reconstruction, but it does not alter the layer weights which are calculated by the same script that calculated the original (buggy) z positions. |
3072b43
to
2355879
Compare
I update with the numbers that come from the script in the commit 2355879 The mean got better and now it's just a binning ![]() |
…nd GDML layer position calculation script
When running this script, the print_weights function outputs:
Which of these columns represents the layer weights @tomeichlersmith? |
@SanjitMasanam it is the dE values, based on |
I can confirm that the Thank you @SanjitMasanam for correcting the layer weight script. It appears, thankfully, to only affect the last digit of the lower value layer weights. (This makes sense since the layer weights only account for insensitive layers in between two sensitive layers while the z calculation accumulates all layers, meaning an error early on would affect all z positions but only the first few layer weights.) Lines 209 to 214 in 45ee57d
|
Should we change the layerWeights in ldmx-sw/Ecal/python/digi.py to match the newly calculated weights then? |
Sure! I don't think they will have a large effect, but we might as well have them correct. |
* Update Ecal geom Z values to match v14 geometry * Update reduced v1 with the new Z numbers too * Added script to calculate z position of silicon modules based on GDML * Updated z position calculation to match between layer weight script and GDML layer position calculation script --------- Co-authored-by: Sanjit Masanam <[email protected]>
I am updating ldmx-sw, here are the details.
What are the issues that this addresses?
Resolves #1490
Check List