Introduction
To get the beam spot corrected pT of the muons, we generated our custom nanoAODv12.
Generation Setup
Generation few tricks
Sanity check for the generation
Compare the generated nanoAODv12 with the official nanoAODv9.
For this code exists at location: plotting_scripts/compare_vars_from_nanoRootFile.py