The normweight branch is constructed as follow:
The PRW weight is missing, until it is fixed in the input samples.
source Setup.sh
Syntax:
python MergeTTrees.py --inDir [INPUT_DIRECTORY] --outDir [OUTPUT_DIRECTORY]
Optional flags:
--debug
: enables debug logging--dryRun
: doesn't merge anything
Please note: INPUT_DIRECTORY
must contain the dataset name of the grid job (in order to extract information)
source Setup.sh
Syntax:
python add_normweights.py --inDir [INPUT_DIRECTORY] --outDir [OUTPUT_DIRECTORY]
Optional flags:
--debug
: enables debug logging--dryRun
: doesn't create output ROOT files
Please note: INPUT_DIRECTORY
must contain the dataset name of the grid job (in order to extract information)
An example submission script to run over all slices is provided: 'run_add_normweights.py'