Better loop over hits in GenDataHistogrammingModule.cc