Commit in GeomConverter/src/org/lcsim/geometry/compact/converter/lcdd on MAIN
EcalBarrel.java+2-61.13 -> 1.14
JM: Remove duplicate physvolid assignment.

GeomConverter/src/org/lcsim/geometry/compact/converter/lcdd
EcalBarrel.java 1.13 -> 1.14
diff -u -r1.13 -r1.14
--- EcalBarrel.java	18 Oct 2006 20:38:41 -0000	1.13
+++ EcalBarrel.java	19 Oct 2006 02:09:31 -0000	1.14
@@ -35,7 +35,7 @@
  * that is similar to the "ecal02" subdetector in the Mokka database.
  * 
  * @author Jeremy McCormick <[log in to unmask]>
- * @version $Id: EcalBarrel.java,v 1.13 2006/10/18 20:38:41 jeremy Exp $
+ * @version $Id: EcalBarrel.java,v 1.14 2006/10/19 02:09:31 jeremy Exp $
  */
 public class EcalBarrel extends LCDDSubdetector
 {
@@ -115,7 +115,7 @@
         envelopePhysvol.setRotation(rot);
         envelopePhysvol.addPhysVolID("system",id);
         envelopePhysvol.addPhysVolID("barrel",0);
-        motherVolume.addPhysVol(envelopePhysvol);
+        motherVolume.addPhysVol(envelopePhysvol);       
 		
 		// outer radius, which is really just inner_radius + thickness
 		double outer_radius = inner_radius + module_z;
@@ -209,10 +209,6 @@
 					rotation, null);
 			pv.addPhysVolID("module", module_number);
 
-			// FIXME: put these ids on subdetector envelope when have it
-			pv.addPhysVolID("system", node.getAttribute("id").getIntValue());
-			pv.addPhysVolID("barrel", 0);
-
 			//motherVolume.addPhysVol(pv);
 			envelopeVolume.addPhysVol(pv);
 
CVSspam 0.2.8