Print

Print


Commit in GeomConverter/src/org/lcsim/geometry/segmentation on MAIN
MokkaSegmentation.java+7-51.1 -> 1.2
JM: Update MokkaSegmentation.

GeomConverter/src/org/lcsim/geometry/segmentation
MokkaSegmentation.java 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- MokkaSegmentation.java	18 Jan 2006 01:46:25 -0000	1.1
+++ MokkaSegmentation.java	18 Apr 2007 00:08:48 -0000	1.2
@@ -4,7 +4,7 @@
 import org.jdom.DataConversionException;
 
 import org.lcsim.geometry.util.IDDescriptor;
-
+    
 /**
  * @author jeremym
  *
@@ -14,7 +14,7 @@
     public MokkaSegmentation(Element node) throws DataConversionException
     {
         super(node);
-        System.out.println("MokkaSegmentation");
+        //System.out.println("MokkaSegmentation");
     }
 
     public void setIDDescription(IDDescriptor id)
@@ -24,17 +24,19 @@
 
     public boolean supportsNeighbours()
     {
-        return true;
+        return false;
     }
 
     public long[] getNeighbourIDs(int layerRange, int zRange, int phiRange)
     {
+        if ( true )
+            throw new RuntimeException("!!! MokkaSegmentation does not support neighbors !!!");
         long[] dummy = {0,0,0};
         return dummy;
     }
 
     public long findCellContainingXYZ(double x, double y, double z)
     {
-        return 0;
+        throw new RuntimeException("!!! MokkaSegmentation does not support findCellContainingXYZ !!!");
     }
-}
+}
\ No newline at end of file
CVSspam 0.2.8