Print

Print


Commit in GeomConverter/src/org/lcsim/geometry/compact/converter/lcdd on MAIN
PolyconeSupport.java+2-211.5 -> 1.6


GeomConverter/src/org/lcsim/geometry/compact/converter/lcdd
PolyconeSupport.java 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- PolyconeSupport.java	15 Jul 2005 00:47:50 -0000	1.5
+++ PolyconeSupport.java	20 Aug 2005 19:53:36 -0000	1.6
@@ -19,7 +19,6 @@
 import org.lcsim.geometry.compact.converter.lcdd.util.Polycone;
 import org.lcsim.geometry.compact.converter.lcdd.util.Volume;
 
-
 /**
  *
  * @author jeremym
@@ -36,9 +35,7 @@
     }
     
     public void addToLCDD(LCDD lcdd, SensitiveDetector sens) throws JDOMException
-    {
-        //System.out.println("PolyconeSupport::addToLCDD - begin");
-        
+    {        
         String suppName = node.getAttributeValue("name");
         
         // get LCDD objects
@@ -72,22 +69,6 @@
         
         // phys vol
         PhysVol physvol = new PhysVol(vol);
-        worldVolume.addPhysVol(physvol);
-        
-        // debug zplanes
-        /*
-        for ( Iterator i = node.getChildren("zplane").iterator(); i.hasNext(); )
-        {
-            Element e = (Element) i.next();
-            System.out.println("");
-            System.out.println("z=" + e.getAttributeValue("z"));
-            System.out.println("rmin=" + e.getAttributeValue("rmin"));
-            System.out.println("rmax=" + e.getAttributeValue("rmax"));
-            System.out.println("");
-        }
-         */
-        
-        //System.out.println("PolyconeSupport::addToLCDD - end");
-        //System.out.println("Adding PolyconeSupport "+suppName+" to "+worldVolume.getName());
+        worldVolume.addPhysVol(physvol);       
     }
 }
CVSspam 0.2.8