Skip to content

Commit

Permalink
Modify the name and docstring of the hotspot veto threshold schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
chnlkx committed Jul 18, 2023
1 parent a811788 commit eb5ea26
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion xedocs/schemas/corrections/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
from .avg_se_gain import *
from .bayes_model import *
from .som_network import *
from .hotspot_veto import *
from .hotspot_veto_cut import *
9 changes: 0 additions & 9 deletions xedocs/schemas/corrections/hotspot_veto.py

This file was deleted.

11 changes: 11 additions & 0 deletions xedocs/schemas/corrections/hotspot_veto_cut.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"""
The 'hotspot_veto_threshold' provides a per-run cut threshold of the 'hotspot_veto_cut',
which vetos the events with local single electron rate above the threshold in each run.
Reference: xenon:xenonnt:analysis:hot_spot_cut_summary
"""

from .base_corrections import TimeIntervalCorrection

class HotspotVetoThreshold(TimeIntervalCorrection):
_ALIAS = 'hotspot_veto_threshold'
value: float

0 comments on commit eb5ea26

Please sign in to comment.