Print

Print


Commit in GeomConverter/src/org/lcsim/geometry/compact/converter/lcdd on MAIN
HPSEcal.java+5-51.9 -> 1.10
correct neg crystal field value's sign

GeomConverter/src/org/lcsim/geometry/compact/converter/lcdd
HPSEcal.java 1.9 -> 1.10
diff -u -r1.9 -r1.10
--- HPSEcal.java	22 Apr 2011 01:06:23 -0000	1.9
+++ HPSEcal.java	28 Apr 2011 01:11:04 -0000	1.10
@@ -24,7 +24,7 @@
  * 
  * Beam travels in +X direction.
  * Magnetic field is -Z (????).
- * Y is the bend plane.
+ * Y is the beam bend plane.
  * 
  * The dimensions element defines the crystal HALF dimensions: x1, x2, y1, y2, and z.
  * 
@@ -40,7 +40,7 @@
  * @author Jeremy McCormick
  * @author Tim Nelson
  * 
- * @version $Id: HPSEcal.java,v 1.9 2011/04/22 01:06:23 jeremy Exp $
+ * @version $Id: HPSEcal.java,v 1.10 2011/04/28 01:11:04 jeremy Exp $
  */
 public class HPSEcal extends LCDDSubdetector
 {
@@ -95,8 +95,8 @@
         mz = dz*margin;  
 
         // Envelope box and logical volume for one section of ECal.
-        Box momBox = new Box("mom_box", mx*2, my*2, mz*2);
-        Volume momVol = new Volume("mom_volume", momBox, lcdd.getMaterial("Air"));       
+        Box momBox = new Box("ecal_env_box", mx*2, my*2, mz*2);
+        Volume momVol = new Volume("ecal_env_volume", momBox, lcdd.getMaterial("Air"));       
         
         lcdd.add(momBox);
         lcdd.add(momVol);
@@ -206,7 +206,7 @@
                     PhysVol negCrystalPlacement = new PhysVol(crystalLogVol, momVol, iposneg, irotneg);
                     
                     // Add volume IDs.
-                    negCrystalPlacement.addPhysVolID("ix", ix);
+                    negCrystalPlacement.addPhysVolID("ix", -ix);
                     negCrystalPlacement.addPhysVolID("iy", iy);
                 }                
 
CVSspam 0.2.8