Exit if no input file is given
Bug fix: Assing photon pt before calculating isolations