icecube.BadDomList.BadDomListTraySegment module

icecube.BadDomList.BadDomListTraySegment.BadDomList(Tray, Name, Simulation=False, RunId=0, AddIceTopBadDoms=True, **kwargs)

Adds the bad dom list to the DetectorStatus frame.

It renames old bad dom lists (BadDomsList, BadDomsListSLC, IceTopBadDOMs, IceTopBadTanks) to Old*. After that it utilizes the BadDomListModule to generate the BadDomsList and the BadDomsListSLC. The difference if the BadDomsList and BadDomsListSLC is that the BadDomsList has doms that are only in the SoftLC mode too. Those doms are NOT in the BadDomsListSLC. It also adds the bad dom lists for IceTop (IceTopBadDOMs, IceTopBadTanks) if AddIceTopBadDoms is True (default).

Parameters:
  • Tray (icecube.icetray.i3tray.I3Tray) – The tray

  • Name (str) – The name

  • Simulation (bool) – Indicates if the the list is used for data or simulation. If it is set to True, only disabled OM keys

  • ignored. (are written into the bad dom list. The runId parameter will be) –

  • RunId (int) – The run id for the GCD file. Is required if simulation = False.

  • AddIceTopBadDoms (bool) – If it is set to True, the bad dom lists for IceTop will be added. Default is True.

  • kwargs – Those additional arguments will be passed to the BadDomListModule as well.