Print

Print


Commit in lcsim/test/org/lcsim/recon/vertexing/zvtop4 on MAIN
ZvTrackTest.java+3-31.4 -> 1.5
- changed transformLocation() to rotateLocation()

lcsim/test/org/lcsim/recon/vertexing/zvtop4
ZvTrackTest.java 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- ZvTrackTest.java	26 Jul 2005 05:57:52 -0000	1.4
+++ ZvTrackTest.java	1 Aug 2005 18:10:07 -0000	1.5
@@ -163,10 +163,10 @@
                 double[] pV = iTrack.getMomentum();
                 SpacePoint pVector = new CartesianPoint(pV);
                 // check for length
-                assertEquals(pVector.rxyz(), zvItrack.transformLocation(pVector).rxyz(), 0.000001);
+                assertEquals(pVector.rxyz(), zvItrack.rotateLocation(pVector).rxyz(), 0.000001);
                 // check for direction
-                assertEquals(0, zvItrack.transformLocation(pVector).x(), 0.000001);
-                assertEquals(pVector.rxy(), zvItrack.transformLocation(pVector).y(), 0.000001);
+                assertEquals(0, zvItrack.rotateLocation(pVector).x(), 0.000001);
+                assertEquals(pVector.rxy(), zvItrack.rotateLocation(pVector).y(), 0.000001);
             }
         }
     }
CVSspam 0.2.8