code: def get_cumulative_veto_group_files(workflow, option, cat_files,
                                      out_dir, execute_now=True, tags=None):
      
      if tags is None:
          tags = []
      logging.info("Starting generating vetoes for groups in %s" %(option))
      make_analysis_dir(out_dir)
  
      cat_sets = parse_cat_ini_opt(workflow.cp.get_opt_tags('workflow-segments',
                                              option, tags))
  
      cum_seg_files = FileList()
      names = []
      for cat_set in cat_sets:
          segment_name = "CUMULATIVE_CAT_%s" % (''.join(sorted(cat_set)))
          logging.info('getting information for %s' % segment_name)
          categories = [cat_to_veto_def_cat(c) for c in cat_set]
  
          cum_seg_files += [get_cumulative_segs(workflow, categories, cat_files,
                            out_dir, execute_now=execute_now,
                            segment_name=segment_name, tags=tags)]
          names.append(segment_name)
  
      logging.info("Done generating vetoes for groups in %s" %(option))
  
      return cum_seg_files, names, cat_files
docs: Get the cumulative veto files that define the different backgrounds
      we want to analyze, defined by groups of vetos.
  
      Parameters
      -----------
      workflow : Workflow object
          Instance of the workflow object
      option : str
          ini file option to use to get the veto groups
      cat_files : FileList of SegFiles
          The category veto files generated by get_veto_segs
      out_dir : path
          Location to store output files
      execute_now : Boolean
          If true outputs are generated at runtime. Else jobs go into the workflow
          and are generated then.
      tags : list of strings
          Used to retrieve subsections of the ini file for
          configuration options.
  
      Returns
      --------
      seg_files : workflow.core.FileList instance
          The cumulative segment files for each veto group.
      names : list of strings
          The segment names for the corresponding seg_file
      cat_files : workflow.core.FileList instance
          The list of individual category veto files