Print

Print


Commit in GeomConverter/src/org/lcsim/geometry/compact on MAIN
Detector.java+2-11.15 -> 1.16
JM: make getSubdetector(int) public

GeomConverter/src/org/lcsim/geometry/compact
Detector.java 1.15 -> 1.16
diff -u -r1.15 -r1.16
--- Detector.java	7 Feb 2006 18:47:10 -0000	1.15
+++ Detector.java	8 Feb 2006 01:03:01 -0000	1.16
@@ -109,6 +109,7 @@
         subdetectors.put(sub.getName(),sub);
      
         // add subdetector to system ID map
+        //System.out.println(getDetectorName() + ": " + sub.getSystemID() + " -> " + sub.getName());
         idmap.add(sub.getSystemID(), sub);
     }
     
@@ -116,7 +117,7 @@
      * Get a Subdetector by system ID.
      * @param system ID
      */    
-    protected Subdetector getSubdetector(int sysid)
+    public Subdetector getSubdetector(int sysid)
     {
         return idmap.get(sysid);
     }
CVSspam 0.2.8