Skip to content

Instantly share code, notes, and snippets.

@mattleblanc
Created May 31, 2018 12:49
Show Gist options
  • Select an option

  • Save mattleblanc/95c95f767924f6b28c6350d8feb07e69 to your computer and use it in GitHub Desktop.

Select an option

Save mattleblanc/95c95f767924f6b28c6350d8feb07e69 to your computer and use it in GitHub Desktop.
Output of xAH_run.py --help (https://github.com/UCATLAS/xAODAnaHelpers/)
usage: xAH_run.py --files ... file [file ...]
--config path/to/file.json
[options]
driver [driver options]
Spin up an analysis instantly!
optional:
-h [subsection], --help [subsection]
show this help message and exit. You can also
pass in the name of a subsection. (default:
None)
--submitDir <directory> Output directory to store the output. (default:
submitDir)
--nevents <n> Number of events to process for all datasets. (0
= no limit) (default: 0)
--skip <n> Number of events to skip at start for all
datasets. (0 = no limit) (default: 0)
-f, --force Overwrite previous directory if it exists.
(default: False)
--version 01-00-00-59-ga6497a3
--mode {class, branch, athena}
run using class access mode, branch access mode,
or athena access mode (default: class)
--treeName TREENAME Tree Name to run on (default: CollectionTree)
--isMC Running MC (default: False)
--isAFII Running on AFII (default: False)
--extraOptions [param=val] Pass in extra options straight into the python
config file. These can be accessed by using
argparse: `parser.parse_args(shlex.split(args.ex
tra_options))`. (default: )
--inputList If enabled, will read in a text file containing
a list of paths/filenames. (default: False)
--inputTag INPUTTAG A wildcarded name of input files to run on.
(default: )
--inputRucio If enabled, will search using Rucio. Can be
combined with `--inputList`. (default: False)
--inputEOS If enabled, will search using EOS. Can be
combined with `--inputList and inputTag`.
(default: False)
--inputSH If enabled, will assume the input file is a
directory of ROOT files of saved SH instances to
use. Call SH::SampleHandler::load() on it.
(default: False)
--scanXRD If enabled, will search the xrootd server for
the given pattern (default: False)
-l LOG_LEVEL, --log-level LOG_LEVEL
Logging level. See
https://docs.python.org/3/howto/logging.html for
more info. (default: info)
--stats If enabled, will variable usage statistics.
(default: False)
required named arguments:
--files file [file ...] input file(s) to read. This gives all the input
files for the script to use. Depending on the
other options specified, these could be rucio
sample names, local paths, or text files
containing a list of filenames/paths. (default:
None)
--config configuration for the algorithms. This tells the
script which algorithms to load, configure, run,
and in which order. Without it, it becomes a
headless chicken. (default: None)
drivers:
specify where to run jobs
{direct,prooflite,prun,condor,lsf,slurm,local}
direct Run your jobs locally.
prooflite Run your jobs using ProofLite
prun Run your jobs on the grid using prun. Use prun
--help for descriptions of the options.
condor Flock your jobs to condor
lsf Flock your jobs to lsf
slurm Flock your jobs to SLURM
local Run using the LocalDriver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment