Detector rail