- For producing the histograms for WJets enriched region:
> python -m pepper.runproc stau_fake_rate.py ./configs/stau2018_fake_rate.json -o ./output_fakes/fake_rate_v1/ --statedata ./output_fakes/pepper_condor_fake_rate.coffea -i ./configs/setup_env.sh --condor 2000 --retries 10
- To plot control plots
DIR_PATH=./output_fakes/fake_rate_v1/; python ./stau_plotter.py ./configs/stau2018_fake_rate_plotter.json ${DIR_PATH}/hists/hists.json --outdir ${DIR_PATH}/hists/plots_signal --cutflow ${DIR_PATH}/cutflows.json --mode 1D
- For the ratio calculation (the binning is hardcoded inside the script)
python ./stau_rate_calculate.py ./configs/stau2018_fake_rate_plotter.json ./output_fakes/fake_rate_v1/hists/hists.json --outdir ./output_fakes/fake_rate_v1/fake_sf --cutflow ./output_fakes/fake_rate_v1/cutflows.json
- stau2018_fake_rate_hist.json - histograms definition for fake rate estimate
- stau2018_fake_rate_plotter.json - config file for plotting script
- stau2018_fake_rate.json - config file for main stau_fake_rate processor
DIR_PATH=./output_fakes/fake_rate_v1/; python ./stau_plotter.py ./configs/stau2018_fake_rate_plotter.json ${DIR_PATH}/hists/hists.json --outdir ${DIR_PATH}/hists/plots_signal --cutflow ${DIR_PATH}/cutflows.json --mode 1D
DIR_PATH=./output_prompt/prompt_rate_v2/; python ./stau_plotter.py ./configs/stau2018_prompt_rate_plotter.json ${DIR_PATH}/hists/hists.json --outdir ${DIR_PATH}/hists/plots_signal --cutflow ${DIR_PATH}/cutflows.json --mode 1D
python ./stau_rate_calculate.py ./configs/stau2018_fake_rate_plotter.json ./output_fakes/fake_rate_v1/hists/hists.json --outdir ./output_fakes/fake_rate_v1/fake_sf --cutflow ./output_fakes/fake_rate_v1/cutflows.json
python ./stau_rate_calculate.py ./configs/stau2018_prompt_rate_plotter.json ./output_prompt/prompt_rate_v2/hists/hists.json --outdir ./output_prompt/prompt_rate_v2/fake_sf --cutflow ./output_prompt/prompt_rate_v2/cutflows.json