GeomConverter/src/org/lcsim/geometry/compact
diff -u -r1.11 -r1.12
--- Segmentation.java 8 Dec 2010 23:07:23 -0000 1.11
+++ Segmentation.java 8 Sep 2011 07:28:32 -0000 1.12
@@ -7,33 +7,32 @@
import org.lcsim.geometry.util.BaseIDDecoder;
/**
- *
+ *
* @author tonyj
*/
-public class Segmentation
-extends BaseIDDecoder
-{
+public class Segmentation extends BaseIDDecoder
+{
protected List<Double> cellSizes = new ArrayList<Double>(2);
boolean useForHitPosition = true;
-
+
protected Segmentation(Element segmentation)
{
super();
-
+
// Flag if hit position is to be kept independent of cell position.
- useForHitPosition = Boolean.parseBoolean( segmentation.getAttribute( "useForHitPosition" ).getValue() );
+ useForHitPosition = Boolean.parseBoolean(segmentation.getAttribute("useForHitPosition").getValue());
}
-
+
public boolean useForHitPosition()
{
return this.useForHitPosition;
}
-
+
public double getCellSizeU()
{
return this.cellSizes.get(0);
}
-
+
public double getCellSizeV()
{
return this.cellSizes.get(1);