added protection against abcence of g4SimHits

Added protection.