icecube.simprod.jcorsika.corsika_options.execution_option module

copyright (c) 2005 the icecube collaboration

@version: $Revision: $ @date: $Date: $ @author: Alex Olivas <olivas@icecube.umd.edu> and Javier Gonzalez <javierg@udel.edu>

class icecube.simprod.jcorsika.corsika_options.execution_option.ExecutionOption(options, groups)

Bases: OptionSuite

Execution options that have nothing to do with CORSIKA itself (paths, logging, testing)

append_to_steering()

Derived modules should return a string that will get appended directly to the INPUTS steering file.

configure(options)

This method will be called after “parse_args” and is meant to be used to set defaults that depend on other user defined parameters that could potentially belong to a different policy. The result of the parse_args, ‘options’ is what’s passed here.

validate()

Check to see that the input is valid and self-consistent.