mkShapesRDF script#
Main script for the creation of shapes, starting from a configuration folder.
It gives the option to compile the configuration folder and save it as both JSON and pickle file.
It also gives the option to run the analysis in batch mode, or to check for errors in the batch submission.
The analysis can be run in batch mode or locally.
If run in batch mode it gives the ability to merge the output root files.
usage: mkShapesRDF [-h] [-c {0,1}] [-o {0,1,2}] [-b DOBATCH] [-dR {0,1}]
[-f FOLDER] [-configs CONFIGSFOLDER] [-config CONFIGFILE]
[-l LIMITEVENTS] [-r {0,1,2}]
Named Arguments#
- -c, --compile
Possible choices: 0, 1
0 compile configuration and save JSON, 1 load compiled configuration
- -o, --operationMode
Possible choices: 0, 1, 2
0 do analysis in batch, 1 check for errors in batch submission, 2 hadd root files
- -b, --doBatch
0 (default) runs on local, 1 runs with condor
- -dR, --dryRun
Possible choices: 0, 1
1 do not submit to condor
- -f, --folder
Path to folder
- -configs, --configsFolder
Path to configurations folder
- -config, --configFile
Path to configuration JSON file to load
- -l, --limitEvents
Max number of events
- -r, --resubmit
Possible choices: 0, 1, 2
Resubmit jobs, 1 resubmit finished jobs with errors, 2 resubmit running jobs