public void testGetDetectors() {
Map<String, Detector> detectors = extractor.getDetectors();
assertEquals(1, detectors.size());
// Detector 1 (photon intensity detector)
Detector det = detectors.get("det1");
PhotonIntensityDetector phDet = (PhotonIntensityDetector) det;
double[] pos = phDet.getDetectorPosition();
assertEquals(Math.toRadians(40.0), Math.atan2(pos[2], pos[0]), 1e-4);
assertEquals(Math.toRadians(90.0), Math.atan2(pos[1], pos[0]), 1e-4);