This code is tested on CMSSW_10_5_0 with added depth segmentation
Modify jetemet_tree.py
for desired variables
Make a list of files stored in files.txt
run: python jetmet_analyzer inputFiles=files.txt
This will read all files from files.txt
and produce an flat root file called jetmetNtuples.root
run python jet_resolution.py
This will read from jetmetNtuples.root
and make plots in the result/
directory
For ZMM samples only!
run python met_resolution.py
This will read from jetmetNtuples.root
and make plots in the result/
directory
python plot_depth.py
Also read from jetmetNtuples.root
python plot_pf_distributions_in_jets.py inputFiles=files.txt
This need to read from MINIAOD files