code: def setup_interval_coinc(workflow, hdfbank, trig_files, stat_files,
                           veto_files, veto_names, out_dir, tags=None):
      
      if tags is None:
          tags = []
      make_analysis_dir(out_dir)
      logging.info('Setting up coincidence')
  
      if len(hdfbank) != 1:
          raise ValueError('Must use exactly 1 bank file for this coincidence '
                           'method, I got %i !' % len(hdfbank))
      hdfbank = hdfbank[0]
  
      if len(workflow.ifos) > 2:
          raise ValueError('This coincidence method only supports two-ifo searches')
  
      findcoinc_exe = PyCBCFindCoincExecutable(workflow.cp, 'coinc',
                                               ifos=workflow.ifos,
                                               tags=tags, out_dir=out_dir)
  
      # Wall time knob and memory knob
      factor = int(workflow.cp.get_opt_tags('workflow-coincidence', 'parallelization-factor', tags))
  
      statmap_files = []
      for veto_file, veto_name in zip(veto_files, veto_names):
          bg_files = FileList()
          for i in range(factor):
              group_str = '%s/%s' % (i, factor)
              coinc_node = findcoinc_exe.create_node(trig_files, hdfbank,
                                                     stat_files,
                                                     veto_file, veto_name,
                                                     group_str,
                                                     tags=[veto_name, str(i)])
              bg_files += coinc_node.output_files
              workflow.add_node(coinc_node)
  
          statmap_files += [setup_statmap(workflow, bg_files, hdfbank, out_dir, tags=tags + [veto_name])]
  
      logging.info('...leaving coincidence ')
      return statmap_files
docs: This function sets up exact match coincidence and background estimation
  
      using a folded interval technique.