Scripts for processor#

mkPostProc#

mkShapesRDF.processor.scripts.mkPostProc.condorDir = '/home/docs/checkouts/readthedocs.org/user_builds/mkshapesrdf/conda/latest/lib/python3.11/site-packages/mkShapesRDF/processor/condor'#

condorDir is the path to use for condor submission, user might want to change it -> edit mkPostProc.py

mkShapesRDF.processor.scripts.mkPostProc.eosDir = '/eos/cms/store/group/phys_smp/Latinos/vbfz/mkShapesRDF_nanoAOD'#

eosDir is the path to use for eos submission, user might want to change it -> edit mkPostProc.py

mkShapesRDF.processor.scripts.mkPostProc.defaultRedirector = 'root://cms-xrd-global.cern.ch/'#

defaultRedirector is the redirector used to access files if the option --useRedirector 1 is used, user might want to change it -> edit mkPostProc.py

Basic arguments#

usage: mkPostProc -o {0,1} -p PROD -s STEP

Named Arguments#

-o, --operationMode

Possible choices: 0, 1

0 do analysis in batch, 1 check for errors in batch submission

-p, --prod

Production name to run

-s, --step

Step name to run

Operation mode 0 arguments#

usage: mkPostProc -o 0 -p PROD -s STEP -sN SAMPLENAME [-h] [-T SELTREE]
                                                      [-E EXCTREE]
                                                      [-iL ISLATINO]
                                                      [-i INPUTFOLDER]
                                                      [--maxFilesPerJob MAXFILESPERJOB]
                                                      [-l LIMITFILES]
                                                      [-dR {0,1}]
                                                      [--useRedirector {0,1}]

Named Arguments#

-T, --selTree

List of samples to select, comma separated

Default: “”

-E, --excTree

List of samples to exclude, comma separated

Default: “”

-iL, --isLatino

If the files in input follow the latino naming convention

Default: True

-i, --inputFolder

Input folder to search for files

Default: “”

--maxFilesPerJob

Max number of input files per job (will merge input files)

Default: 1

-l, --limitFiles

Limit number of files to process

Default: -1

-dR, --dryRun

Possible choices: 0, 1

1 do not submit to condor

Default: 0

--useRedirector

Possible choices: 0, 1

0 do not use redirector, 1 use it

Default: 0

Operation mode 1 arguments#

usage: mkPostProc -o 1 -p PROD -s STEP -sN SAMPLENAME [-h] [-r {0,1}]

Named Arguments#

-r, --resubmit

Possible choices: 0, 1

0 do not resubmit, 1 resubmit

Default: 0

Example usage:

mkPostProc -o 0 -p Summer20UL18_106x_nAODv9_Full2018v9 -s MCFull2018v9 -T EWKZ2Jets_ZToLL_M-50_MJJ-120 \
--limitFiles 1 --dryRun 1