lcsim/src/org/lcsim/digisim
diff -u -r1.6 -r1.7
--- CellSelector.java 5 Jul 2005 06:51:10 -0000 1.6
+++ CellSelector.java 12 Jul 2005 19:11:47 -0000 1.7
@@ -10,7 +10,7 @@
import org.lcsim.geometry.IDDecoder;
import org.lcsim.geometry.subdetector.CylindricalCalorimeter;
import org.lcsim.geometry.compact.Subdetector;
-import org.lcsim.geometry.segmentation.SegmentationImpl;
+import org.lcsim.geometry.segmentation.SegmentationBase;
import org.lcsim.geometry.segmentation.ProjectiveCylinder;
import org.lcsim.geometry.segmentation.NonprojectiveCylinder;
@@ -22,7 +22,7 @@
* any cell in a given subdetector.
*
* @author Guilherme Lima
- * @version $Id: CellSelector.java,v 1.6 2005/07/05 06:51:10 lima Exp $
+ * @version $Id: CellSelector.java,v 1.7 2005/07/12 19:11:47 jeremy Exp $
*/
public class CellSelector
{
@@ -37,7 +37,7 @@
CalHitMapMgr aux = CalHitMapMgr.getInstance();
_evt = aux.getEvent();
_calsub = aux.getSubdetector( _collName );
- _segm = (SegmentationImpl)_calsub.getReadout().getSegmentation();
+ _segm = (SegmentationBase)_calsub.getReadout().getSegmentation();
try {
IDDescriptor desc = _calsub.getReadout().getIDDescriptor();
@@ -140,7 +140,7 @@
return _encoder.getID();
}
- public SegmentationImpl getSegmentation() {
+ public SegmentationBase getSegmentation() {
if(_calsub==null) setupGeometry();
return _segm;
}
@@ -252,7 +252,7 @@
/** Subdetector */
private Subdetector _calsub;
/** Segmentation */
- private SegmentationImpl _segm;
+ private SegmentationBase _segm;
/** ID encoder */
private IDEncoder _encoder;
/** system number to be used in hit encoding */
lcsim/src/org/lcsim/digisim
diff -u -r1.2 -r1.3
--- Crosstalk.java 5 Jul 2005 06:53:50 -0000 1.2
+++ Crosstalk.java 12 Jul 2005 19:11:47 -0000 1.3
@@ -3,14 +3,14 @@
import java.util.Vector;
import java.util.Map;
import java.util.HashMap;
-import org.lcsim.geometry.segmentation.SegmentationImpl;
+import org.lcsim.geometry.segmentation.SegmentationBase;
// import org.lcsim.geometry.util.IDEncoder;
/**
* A modifier for simulation of crosstalk in calorimeter cells
*
* @author Guilherme Lima
- * @version $Id: Crosstalk.java,v 1.2 2005/07/05 06:53:50 lima Exp $
+ * @version $Id: Crosstalk.java,v 1.3 2005/07/12 19:11:47 jeremy Exp $
*/
class Crosstalk extends AbstractCalHitModifier {
@@ -196,5 +196,5 @@
/** Global instance, used only for registration */
private static Crosstalk _me = new Crosstalk();
/** Geometry-aware class to find neighbours */
- private SegmentationImpl _segm;
+ private SegmentationBase _segm;
}