Categories in Detector Simulation