hps-java/src/main/java/org/lcsim/hps/recon/tracking
diff -u -r1.3 -r1.4
--- HPSTrack.java 23 Jul 2012 22:11:32 -0000 1.3
+++ HPSTrack.java 28 Sep 2012 22:13:46 -0000 1.4
@@ -299,12 +299,15 @@
@return position[0] and direction[1] at Z=zfinal
*/
public Hep3Vector[] getPositionAtZMap(double start, double xFinal, double step) {
+ return this.getPositionAtZMap(start, xFinal, step, true);
+ }
+ public Hep3Vector[] getPositionAtZMap(double start, double xFinal, double step, boolean debugOk) {
double startFringe = start;
_debugForward = false;
if (xFinal > 900)
- _debugForward = true;
+ _debugForward = debugOk ? true : false;
// if looking upstream, we'll be propagating backwards
if (xFinal < 0) {
step = -step;