I would personally take an H&K over a Glock any time. But I like a hammer fired gun better in general.
I would decide based on what size frame suits you better. Glock big frames are kind of unreasonably sized, H&Ks are pretty well always designed to be a nice natural fit.