Commit in GeomConverter/src/org/lcsim/geometry/compact on MAIN | |||
Detector.java | +6 | -1 | 1.29 -> 1.30 |
add method to access Subdetectors as a List
diff -u -r1.29 -r1.30 --- Detector.java 10 Jun 2010 21:59:00 -0000 1.29 +++ Detector.java 26 Jan 2011 01:14:49 -0000 1.30 @@ -1,5 +1,5 @@
-
package org.lcsim.geometry.compact;
+
import java.net.URL; import java.util.ArrayList; import java.util.HashMap;
@@ -301,4 +301,9 @@
} return null; }
+ + public List<Subdetector> getSubdetectorList() + { + return new ArrayList<Subdetector>(getSubdetectors().values()); + }
}
\ No newline at end of file