Commit in lcsim/src/org/lcsim/event on MAIN | |||
SimTrackerHit.java | +5 | 1.3 -> 1.4 |
Added Track momentum at hit point.
diff -u -r1.3 -r1.4 --- SimTrackerHit.java 3 Aug 2005 06:23:53 -0000 1.3 +++ SimTrackerHit.java 22 Sep 2005 15:35:14 -0000 1.4 @@ -20,4 +20,9 @@
public double getTime(); public MCParticle getMCParticle();
+ + /** Returns the 3-momentum of the particle at the hits position in [GeV] - + * optional, only if bit LCIOConstants.THBIT_MOMENTUM is set. + */ + public double[] getMomentum();
}
\ No newline at end of file