lcsim/src/org/lcsim/event/base
diff -u -r1.18 -r1.19
--- BaseSimTrackerHit.java 10 Jul 2012 19:57:14 -0000 1.18
+++ BaseSimTrackerHit.java 20 Jul 2012 09:29:43 -0000 1.19
@@ -14,7 +14,7 @@
/**
* A concrete implementation of SimTrackerHit.
* @author Jeremy McCormick
- * @version $Id: BaseSimTrackerHit.java,v 1.18 2012/07/10 19:57:14 jeremy Exp $
+ * @version $Id: BaseSimTrackerHit.java,v 1.19 2012/07/20 09:29:43 grefe Exp $
*/
public class BaseSimTrackerHit extends BaseHitWithPosition implements SimTrackerHit
{
@@ -80,6 +80,8 @@
this.time = time;
this.dEdx = dEdx;
this.cellID0 = cellID;
+ // TODO need to properly set a 64bit ID
+ this.id = (long) cellID;
this.pathLength = pathLength;
this.meta = meta;
this.de = de;
@@ -105,13 +107,13 @@
public double[] getPoint()
{
- return position;
+ return positionVec.v();
}
- public double[] getPosition()
- {
- return getPoint();
- }
+// public double[] getPosition()
+// {
+// return getPoint();
+// }
public double getTime()
{
@@ -139,6 +141,10 @@
{
return id;
}
+
+ public void setCellID64(long cellID) {
+ id = cellID;
+ }
public double getPathLength()
{