parameters: (self)
docstring: Try to fulfill the requirement on the minimum number of events per IOV
          in the alignment file list by picking files from the validation list.
docstring_summary: Try to fulfill the requirement on the minimum number of events per IOV
          in the alignment file list by picking files from the validation list.
docstring_tokens: Try to fulfill the requirement on the minimum number of events per IOV in the alignment file list by picking files from the validation list .
function: def _fulfill_iov_eventcount(self):
          """
          Try to fulfill the requirement on the minimum number of events per IOV
          in the alignment file list by picking files from the validation list.
          """
  
          for iov in self._iovs:
              if self._iov_info_alignment[iov]["events"] >= self._args.minimum_events_in_iov: continue
              for fileinfo in self._files_validation[:]:
                  dataset, f, number_of_events, runs = fileinfo
                  iovs = self._get_iovs(runs)
                  if iov in iovs:
                      self._files_alignment.append(fileinfo)
                      self._events_for_alignment += number_of_events
                      self._add_file_info(self._iov_info_alignment, iovs, fileinfo)
  
                      self._events_for_validation -= number_of_events
                      self._remove_file_info(self._iov_info_validation, iovs, fileinfo)
                      if self._args.run_by_run:
                          self._remove_file_info(self._run_info, runs, fileinfo)
                      self._files_validation.remove(fileinfo)
  
                      if (self._iov_info_alignment[iov]["events"]
                          >= self._args.minimum_events_in_iov):
                          break
function_tokens: def _fulfill_iov_eventcount ( self ) : for iov in self . _iovs : if self . _iov_info_alignment [ iov ] [ "events" ] >= self . _args . minimum_events_in_iov : continue for fileinfo in self . _files_validation [ : ] : dataset , f , number_of_events , runs = fileinfo iovs = self . _get_iovs ( runs ) if iov in iovs : self . _files_alignment . append ( fileinfo ) self . _events_for_alignment += number_of_events self . _add_file_info ( self . _iov_info_alignment , iovs , fileinfo ) self . _events_for_validation -= number_of_events self . _remove_file_info ( self . _iov_info_validation , iovs , fileinfo ) if self . _args . run_by_run : self . _remove_file_info ( self . _run_info , runs , fileinfo ) self . _files_validation . remove ( fileinfo ) if ( self . _iov_info_alignment [ iov ] [ "events" ] >= self . _args . minimum_events_in_iov ) : break