lcsim/test/org/lcsim
diff -u -r1.4 -r1.5
--- SidloiCalorimeterHitTest.java 8 Oct 2009 18:54:52 -0000 1.4
+++ SidloiCalorimeterHitTest.java 21 Jan 2010 20:57:33 -0000 1.5
@@ -29,7 +29,7 @@
*/
public class SidloiCalorimeterHitTest extends TestCase
{
- private static final boolean debug = false;
+ private static final boolean debug = true;
private static final boolean boundsCheck = true;
static final double tolerance = 0.1;
@@ -39,7 +39,8 @@
public void testHitPosition() throws Exception
{
- runTestFile("http://www.lcsim.org/test/lcio/dev/muons10_Theta4-176_1-10GeV_SLIC-v2r6p3_geant4-v9r2p0_LCPhys_sidloi2.slcio");
+ //runTestFile("http://www.lcsim.org/test/lcio/dev/muons10_Theta4-176_1-10GeV_SLIC-v2r6p3_geant4-v9r2p0_LCPhys_sidloi2.slcio");
+ runTestFile(new File("/u/ey/jeremym/work/curr_project/pi+_10GeV_SLIC-v2r7p0_geant4-v9r2p2_LCPhys_sidloi3.slcio"));
}
private void runTestFile(File f) throws Exception
@@ -125,12 +126,12 @@
if (layern != 0 && layern != (nlayers - 1))
{
- assertEquals("Number of neighbors is incorrect.", 27, neighbors.length);
+ assertEquals("Number of neighbors is incorrect.", 26, neighbors.length);
++neighborCheckCount;
}
else
{
- assertEquals("Number of neighbors is incorrect.", 18, neighbors.length);
+ assertEquals("Number of neighbors is incorrect.", 17, neighbors.length);
++neighborCheckCount;
}