setParam ( paramname, newvalue )

Set the value of a parameter to a new value.


paramname: String containing the name of parameter that you would like to modify. The name can include '*' and '?' wildcards. If more than one parameter matches, the matching names are listed and none are modified. Note that case is ignored.

newvalue: Desired new value for parameter. Can be 'default', which indicates that the parameter should be reset to its default value.

Example usage:

  env.setParam("Cuts", 2)
  env.setParam("Heu*", 0.5)
  env.setParam("*Interval", 10)