GeomConverter/src/org/lcsim/geometry/compact/converter/lcdd
diff -u -r1.4 -r1.5
--- HPSEcal3.java 8 Sep 2011 06:32:59 -0000 1.4
+++ HPSEcal3.java 15 Sep 2011 21:28:44 -0000 1.5
@@ -57,15 +57,15 @@
* @author Jeremy McCormick
* @author Tim Nelson
*
- * @version $Id: HPSEcal3.java,v 1.4 2011/09/08 06:32:59 jeremy Exp $
+ * @version $Id: HPSEcal3.java,v 1.5 2011/09/15 21:28:44 jeremy Exp $
*/
public class HPSEcal3 extends LCDDSubdetector
{
// Tolerance factor for moving crystals to appropriate place in mom volume.
- static final double tolerance = 0.1;
+ static final double tolerance = 0.0;
// Tolerance factor for separating crystals to avoid overlaps.
- static final double crystalTolerance = 0.1;
+ static final double crystalTolerance = 0.15;
// Margin for mother volume.
static final double margin = 1.1;
@@ -147,7 +147,6 @@
if (sens == null)
throw new RuntimeException("SensitiveDetector parameter points to null.");
-
// Crystal dimensions.
Element dimensions = node.getChild("dimensions");
double dx1 = dimensions.getAttribute("x1").getDoubleValue();