-
Notifications
You must be signed in to change notification settings - Fork 33
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 definition of the SE Score (previously the SE density) for SR1 WIMP #1430
Conversation
for more information, see https://pre-commit.ci
…into hsv_update_to_leftovers
return 2 * (self.se_time_search_window_left + self.se_time_search_window_right) | ||
|
||
def setup(self): | ||
self._para_a = 1 |
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.
You should better set self._para_a = self.para_a
and, make para_a
a straxen.URLConfig
.
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.
To avoid having same name with the para_a
in cutax, I added para_a_place_holder
here
…into hsv_update_to_leftovers
@chnlkx please add the dependency of PRs in straxen and cutax in the description. |
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.
Thanks a lot! @chnlkx
* Use SE scores instead of SE density Following XENONnT/straxen#1430 and XENONnT/cutax#479 * Use `sr1_leftovers` for the installation, later will change to a tagged version
* Update pytest.yml (#1431) * Update pytest.yml Specify the strax to be v1.6.5 * add install base_env * Add force reinstall * Update definition of the SE Score (previously the SE density) for SR1 WIMP (#1430) * Update score definition. Modify file names. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Modify file names in the initialization file. * Rearrangenames. Move sr phase assignment elsewhere. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add url configs and modify code style. * Modify the parameter names. * Fix data type in url config. * Add docstring for the eps used to prevent divide by zero. * Reformmated with precommit. * Add docstrings. Remove redundant code. * Add docstring for the 2D Gaussian. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Dacheng Xu <dx2227@columbia.edu> * Copy #1417 (#1438) * Bump to v2.2.6 (#1441) * Bump version: 2.2.4 → 2.2.6 * Update HISTORY.md * Constraint strax version --------- Co-authored-by: Kexin Liu <lkx21@mails.tsinghua.edu.cn> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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
What does the code in this PR do / what does it improve?
Update the se_score calculated for the hotspot veto cut to use a score based on the distance and position reconstruction resolution.
This PR will provide input for the hotspot veto cut in https://github.com/XENONnT/cutax/pull/479
Can you briefly describe how it works?
Can you give a minimal working example (or illustrate with a figure)?
Please include the following if applicable:
Notes on testing
All italic comments can be removed from this template.