Categories
ATLAS recipes

Drawing data/MC overlay plots

To make nice overlay plots comparing data and Monte Carlo distributions, you will need to copy the following files from /home/willocq/root/MuonESDAnalysis/:

  • plot_overlay.C
  • RescaleVariableBinHisto.C

Assuming you have a full complement of data and MC histograms, and have already executed run_hadd.sh, you should create a plots subdirectory and then produce the data/MC plots with:

  • root -q -b plot_overlay.C

To view the output plots in pdf, you can use the display command:

  • display filename.pdf

Leave a Reply