added ability to make plots for non-SM sample