added option to pass two different hist names 8TeV and 13 TeV jobs. This removed the ifelse hack in the main body.