parameters: (process, option, drop = False)
docstring: Utility function to set or override pede `option` defined in `process`.
  
      Arguments:
      - `process`: cms.Process object
      - `option`: option string
      - `drop`: if set to 'True' the `option` is dropped completely
docstring_summary: Utility function to set or override pede `option` defined in `process`.
docstring_tokens: Utility function to set or override pede option defined in process .
function: def set_pede_option(process, option, drop = False):
      """Utility function to set or override pede `option` defined in `process`.
  
      Arguments:
      - `process`: cms.Process object
      - `option`: option string
      - `drop`: if set to 'True' the `option` is dropped completely
      """
  
      existing_options = process.AlignmentProducer.algoConfig.pedeSteerer.options
  
      exists = False
      for i in range(len(existing_options)):
          if existing_options[i].split()[0] == option.split()[0]:
             existing_options[i] = option.strip()
             exists = True
             if drop: existing_options.pop(i)
             break
  
      if not exists and not drop: existing_options.append(option.strip())
function_tokens: def set_pede_option ( process , option , drop = False ) : existing_options = process . AlignmentProducer . algoConfig . pedeSteerer . options exists = False for i in range ( len ( existing_options ) ) : if existing_options [ i ] . split ( ) [ 0 ] == option . split ( ) [ 0 ] : existing_options [ i ] = option . strip ( ) exists = True if drop : existing_options . pop ( i ) break if not exists and not drop : existing_options . append ( option . strip ( ) )