icecube.offline_filterscripts.filter_segments.muon_filter.Functions module

Helper functions to choose best track, calculate charge cuts, and clean input streams.

icecube.offline_filterscripts.filter_segments.muon_filter.Functions.CalcChargeCuts(frame)

Calculate qtot with and without DeepCore and calculate AvgDistQ without DeepCore.

Parameters:

frame (object) – The frame object.

icecube.offline_filterscripts.filter_segments.muon_filter.Functions.CharacterizeHits(tray, name, If=<function <lambda>>)

Write out various hit on the non-DeepCore pulses

Run tools from CommonVariables to describe the pulses and track fit.

Parameters:
  • tray (I3Tray) – The I3Tray

  • name (str) – A name for the tray segment

  • If (function) – A function used to determine whether these modules should run. Defaults to always returning True

icecube.offline_filterscripts.filter_segments.muon_filter.Functions.GetBestTrack(frame)

Get (and use) track information for the highest-level reconstruction that succeeded.

Parameters:

frame (object) – The frame object.