icecube.offline_filterscripts.filter_segments.highq_filter module

HighQ filter tray segment.

This segment defines the “OfflineHQ_24”

To calculate this filter, this segment:

  • Runs Homogenized_Qtot (from VHESelfVeto) on the SplitInIcePulses

  • Adds a flag to the frame indicating if HQtot is higher than 1000PE or not

Returns an I3Bool in InIceSplit P-frames named “OfflineHQ_24” with filter results per-split. It also leaves Homogenized_QTot in the frame, as this variable is very commonly relied upon in IceCube analyses. As a result, we should run this filter very early during offline filter processing.

icecube.offline_filterscripts.filter_segments.highq_filter.highq_filter(tray, name: str = 'hqtot_filter_24', filter_name: str = 'HighQFilter')

Run hqtot, place the result in the P frame, and set a flag based on it.

This runs the homogenized qtot segment (above), and places the result in the p-frame. If a InIceSplit P frame has Hqtot, and that value of hqtot >=threshold, then the “HighQFilter” flag is set to true.

Parameters:
  • name (str) – Name of the module for icetray to use internally

  • filter_name (str) – Name of the filter key in the frame

icecube.offline_filterscripts.filter_segments.highq_filter.run_hqtot(tray, name: str = 'run_hqtot', output_key_name: str = 'Homogenized_QTot')

Run HomogenizedQTot segment from VHESelfVeto module.

Parameters:
  • name (str) – The name of the module for icetray to use internally

  • output_name (str) – The name of the frame object that will contain hqtot