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

Iterative Bayesian 3D (t, x, y) S2 merging #1513

Merged
merged 54 commits into from
Feb 6, 2025
Merged

Iterative Bayesian 3D (t, x, y) S2 merging #1513

merged 54 commits into from
Feb 6, 2025

Conversation

dachengx
Copy link
Collaborator

@dachengx dachengx commented Jan 7, 2025

Before you submit this PR: make sure to put all operations-related information in a wiki-note, a PR should be about code and is publicly accessible

Depends on AxFoundation/strax#946 and AxFoundation/strax#951

Combining #1495 and #1512.

What does the code in this PR do / what does it improve?

Merge S2 based on the probability that the two peaklets are from the same normal distribution.

The FAKE_MERGED_S2_TYPE was introduced by #36 to handle cases that the very old strax can not handle correctly. So it is removed.

Can you briefly describe how it works?

For more details please refer to https://xe1t-wiki.lngs.infn.it/doku.php?id=xenon:xenonnt:analysis:s2_merging_time_position.

Can you give a minimal working example (or illustrate with a figure)?

Please include the following if applicable:

  • Update the docstring(s)
  • Update the documentation
  • Tests to check the (new) code is working as desired.
  • Does it solve one of the open issues on github?

Notes on testing

  • Until the automated tests pass, please mark the PR as a draft.
  • On the XENONnT fork we test with database access, on private forks there is no database access for security considerations.

All italic comments can be removed from this template.

@dachengx dachengx marked this pull request as ready for review January 8, 2025 17:56
@coveralls
Copy link

coveralls commented Jan 10, 2025

Coverage Status

coverage: 89.651% (-0.02%) from 89.667%
when pulling 5b33d1c on merged_s2s_3d
into 9008c14 on master.

@dachengx dachengx merged commit 4e394e2 into master Feb 6, 2025
7 checks passed
@dachengx dachengx deleted the merged_s2s_3d branch February 6, 2025 18:35
dachengx added a commit to XENONnT/axidence that referenced this pull request Feb 7, 2025
* Compatible with XENONnT/straxen#1513

* Inherit `find_n_competing`
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.

5 participants