Put everything in a huge function
Uses function (inherits) from runOverAOD
Added configuration for single Photon analysis.

Command line arguments are accepted now as well, so it could be used for
all other analysis as well