Author: [log in to unmask]
Date: Mon Feb 2 14:18:44 2015
New Revision: 3499
Log:
Comment out for now some methods from the subdetector interface. The detailed model can be used to get this information.
Modified:
projects/lcsim/trunk/detector-framework/src/main/java/org/lcsim/geometry/subdetector/HPSEcal3.java
Modified: projects/lcsim/trunk/detector-framework/src/main/java/org/lcsim/geometry/subdetector/HPSEcal3.java
=============================================================================
--- projects/lcsim/trunk/detector-framework/src/main/java/org/lcsim/geometry/subdetector/HPSEcal3.java (original)
+++ projects/lcsim/trunk/detector-framework/src/main/java/org/lcsim/geometry/subdetector/HPSEcal3.java Mon Feb 2 14:18:44 2015
@@ -28,8 +28,8 @@
public class HPSEcal3 extends AbstractSubdetector {
private int nx;
private int ny;
- private double beamgap;
- private double dface;
+ //private double beamgap;
+ //private double dface;
private boolean oddX;
List<CrystalRange> removeCrystals = new ArrayList<CrystalRange>();
@@ -62,9 +62,9 @@
Element layout = node.getChild("layout");
nx = layout.getAttribute("nx").getIntValue();
- ny = layout.getAttribute("ny").getIntValue();
- beamgap = layout.getAttribute("beamgap").getDoubleValue();
- dface = layout.getAttribute("dface").getDoubleValue();
+ ny = layout.getAttribute("ny").getIntValue();
+ //beamgap = layout.getAttribute("beamgap").getDoubleValue();
+ //dface = layout.getAttribute("dface").getDoubleValue();
if (nx % 2 != 0)
oddX = true;
@@ -139,13 +139,13 @@
return true;
}
- public double distanceToFace() {
- return dface;
- }
-
- public double beamGap() {
- return beamgap;
- }
+ //public double distanceToFace() {
+ // return dface;
+ //}
+
+ //public double beamGap() {
+ // return beamgap;
+ //}
/**
* The number of crystals in X in one section.
@@ -198,10 +198,8 @@
}
/**
- * Get the neighbors for a given cell ID. Each crystal not on an edge has 8 neighbors. Edge crystals have fewer.
- *
- * @param id
- * The cell ID.
+ * Get the neighbors for a given cell ID. Each crystal not on an edge has 8 neighbors. Edge crystals have fewer.
+ * @param id The cell ID.
* @return A <code>Set</code> containing the cell's neighbors.
*/
Set<Long> getNeighbors(Long id) {
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1
|