def _get_jana_args(params):
    """Get Jana constructor arguments from general paramters"""
    jana_args = {}
    if params.nevents:
        jana_args['nevents'] = params.nevents
    if params.nskip:
        jana_args['nskip'] = params.nskip
    jana_args['output'] = params.output
    jana_args['nthreads'] = params.threads
    return jana_args
