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

Shower shape variables show unusual distribution when simulating strips in each layer #134

Closed
SmartinaK opened this issue Jan 6, 2025 · 2 comments

Comments

@SmartinaK
Copy link

SmartinaK commented Jan 6, 2025

To see how the shower shape variables change if the strip layer is pushed even further back, instead of only setting one layer to be a strip layer and running that configuration for each layer, I run one simulation and set strips in every layer. Since I'm not adding any noise or cross talk, and I only want to look at the shower variables which use cells in the respective layer only, I thought that the segmentations in each layer shouldn't affect each other.
However, there is a different distribution for the front side energy ratio for the photons, looking at the SW.
What I mean by "different distribution": Looking at the same layers, but in the first plots (10GeV) I set only strips in the third layer, while for the second plots I put strips everywhere. In the fside plot for photons (upper right), the peak is not concentrated around 0 anymore. Which is the distribution I see across other energies too. What is the reason for this?

10GeV_Filtered_Layer_3_variables
10GeV_Filtered_Layer_3_variables
10GeV_Filtered_Layer_4_variables

20GeV_Filtered_Layer_3_variables
5GeV_Filtered_Layer_3_variables

@zwu0922
Copy link
Contributor

zwu0922 commented Jan 15, 2025

Hi everyone, I tried to produce distributions of these 6 shower shape variables with the two settings of readout segmentation. For the 3rd layer (or "layer 2" in my version), distributions are compatible between two segmentations, up to the effect of cluster reconstruction efficiency. Please find the following attached plots.
SummaryPlots.pdf
After a discussion with Martina, we think the issue is most likely from a bug in the plotting code. The calculation of shower shape variables in the full simulation code seems OK.

@giovannimarchiori
Copy link
Contributor

Thank you much @zwu0922 for following up on this and investigating with @SmartinaK . I will close the issue then

@giovannimarchiori giovannimarchiori closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2025
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

No branches or pull requests

3 participants