code: def convert_trig_to_hdf(workflow, hdfbank, xml_trigger_files, out_dir, tags=None):
      
      if tags is None:
          tags = []
      #FIXME, make me not needed
      logging.info('convert single inspiral trigger files to hdf5')
      make_analysis_dir(out_dir)
  
      trig_files = FileList()
      for ifo, insp_group in zip(*xml_trigger_files.categorize_by_attr('ifo')):
          trig2hdf_exe = PyCBCTrig2HDFExecutable(workflow.cp, 'trig2hdf',
                                         ifos=ifo, out_dir=out_dir, tags=tags)
          _, insp_bundles = insp_group.categorize_by_attr('segment')
          for insps in insp_bundles:
              trig2hdf_node =  trig2hdf_exe.create_node(insps, hdfbank[0])
              workflow.add_node(trig2hdf_node)
              trig_files += trig2hdf_node.output_files
      return trig_files
docs: Return the list of hdf5 trigger files outputs