Commit in projects/lcsim/trunk/tracking/src/main/java/org/lcsim/fit/helicaltrack on MAIN | |||
HelicalTrackHit.java | +15 | -4 | 3150 -> 3151 |
Add setPosition method.
--- projects/lcsim/trunk/tracking/src/main/java/org/lcsim/fit/helicaltrack/HelicalTrackHit.java 2014-06-05 07:40:36 UTC (rev 3150) +++ projects/lcsim/trunk/tracking/src/main/java/org/lcsim/fit/helicaltrack/HelicalTrackHit.java 2014-06-05 19:56:03 UTC (rev 3151) @@ -7,12 +7,12 @@
package org.lcsim.fit.helicaltrack;
+import java.util.ArrayList; +import java.util.List; +
import hep.physics.matrix.SymmetricMatrix; import hep.physics.vec.Hep3Vector;
-import java.util.ArrayList; -import java.util.List; -
import org.lcsim.event.MCParticle; import org.lcsim.event.RawTrackerHit; import org.lcsim.event.TrackerHit;
@@ -28,8 +28,10 @@
* setCorrectedCovMatrix can be used to update the corrected values. Currently, * this feature is only used for stereo hits, where the hit position and covariance * matrix depend on the track direction.
+ *
* @author Richard Partridge
- * @version 1.0
+ * @version $Id$
+ *
*/ public class HelicalTrackHit implements Comparable, TrackerHit {
@@ -286,6 +288,15 @@
} /**
+ * Set the hit position. + * @param position : hit position + * + */ + public void setPosition(double[] position){ + _pos = position; + } + + /**
* Set the corrected hit position. * @param poscor corrected hit position */
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