icecube.offline_filterscripts.filter_segments.slop_filter module¶
offline SLOPFilter 2024 tray segment.
This segment defines the “SLOPFilter_24”. To calculate this filter, this segment:
Starts by reproducing the SLOPTrigger by running the TupleTagger
Calculate the minimum gap of the time sorted tuples
Apply a cut on the minimum gap and minimum innerangle of the Triplets
Returns an I3Bool in SLOPSplit P frames named “SLOPFilter_24” with filter result
- class icecube.offline_filterscripts.filter_segments.slop_filter.GapMin(context)¶
Bases:
I3ConditionalModule
Gap min class.
- Configure()¶
Configure parameter.
- Geometry(frame)¶
Get DOM positions to calculate distances.
- Physics(frame)¶
Call gap_min function.
- gap_min(frame, use_pulses)¶
Calculate the minimum gap in the time sorted Tuple list.
- icecube.offline_filterscripts.filter_segments.slop_filter.SLOPFilter(tray, name, use_pulses, If=<function <lambda>>)¶
Define the SLOPFilter segment.
- icecube.offline_filterscripts.filter_segments.slop_filter.cut(var1, var2, cut_var1, cut_var2)¶
Cut on two variables with passed cuts.
- icecube.offline_filterscripts.filter_segments.slop_filter.passed_filter(frame)¶
Return filter bool.
- icecube.offline_filterscripts.filter_segments.slop_filter.slopfilter_s2(frame, use_pulses)¶
Calculate cut.
- icecube.offline_filterscripts.filter_segments.slop_filter.slopfilter_stage2(frame, use_pulses)¶
Write filter bool to the frame.