Detector: make members private and add new getter functions for l2g & g2l

7 jobs for master in 2 minutes and 53 seconds (queued for 1 second)