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

Mid-Shower Muon Conversion Background Filter #1217

Merged
merged 3 commits into from
Oct 30, 2023

Conversation

tomeichlersmith
Copy link
Member

I am updating ldmx-sw, here are the details.

What are the issues that this addresses?

This resolves #984 by implementing a separate filter rather than incorporating this process into a general mid-shower background sample. Look there for the context on why this decision was made. Besides adding the ability to filter for this background, I also updated the eat.py module to be more supportive of both 4GeV and 8GeV beams. This was done by having both the detector name and the generator be parameters to the function that configures the simulation and scaling the minimum energy required of the primary electron to be 87.5% of the beam energy (3.5GeV for 4GeV beam and 7GeV for 8GeV beam). The rest of the energy thresholds for the different backgrounds are inputs into the functions.

Check List

  • I successfully compiled ldmx-sw with my developments
  • I ran my developments and the following shows that they are successful. (below)
  • NA I attached any sub-module related changes to this PR.

Proof

I am showing proof that these developments were successful by showing plots where I vary the minimum required total energy in the muons $E_F$ as well as the minimum energy to bias a photon $E_B$. When varying $E_F$ we expect the distribution of total muonic energy to have a hard cut at that value while varying $E_B$ should have no distorting affect on the distribution.1

muonic-energy-1

Footnotes

  1. Having two different parameters for this simpler, single-process case is overkill. I have tested and will put into the EaT internal note showing that $E_B$ can equal $E_F$ for this sample.

initial testing looks like it is functional (i.e. debug printouts when
uncommented show that events are only being kept when muon pairs are
generated at above the input threshold energy), will need to check the
physical distributions after generating an actual sample.
@tomeichlersmith tomeichlersmith linked an issue Oct 26, 2023 that may be closed by this pull request
@tomeichlersmith tomeichlersmith marked this pull request as draft October 27, 2023 14:18
@tomeichlersmith tomeichlersmith marked this pull request as ready for review October 27, 2023 14:18
@tomeichlersmith tomeichlersmith merged commit 46d0e7e into trunk Oct 30, 2023
12 of 13 checks passed
@tomeichlersmith tomeichlersmith deleted the 984-midshower-muon-conv branch October 30, 2023 16:34
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

Successfully merging this pull request may close these issues.

Include Muon-Conversion in Midshower Enriched Background Sample
1 participant