Skip to content

Commit 4967fff

Browse files
authored
Remove unused variable hpsSensorPos
Remove unused variable hpsSensorPos in KalTrack.java
1 parent 1e3a722 commit 4967fff

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • tracking/src/main/java/org/hps/recon/tracking/kalman

tracking/src/main/java/org/hps/recon/tracking/kalman/KalTrack.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,13 +533,12 @@ public Pair<Double, Double> getIsoAndT0(MeasurementSite ms){
533533
List<Measurement> allHits=sensor.hits;
534534
if(allHits.size()>1 && ms.hitID>-1){
535535
Measurement hitOnTrack= allHits.get(ms.hitID);
536-
double[] hpsSensorPos=KalmanInterface.localKalToHps(sensor.p.X());
536+
537537
// keep track of sensor position & orientation
538538
// use the sign of the global plane position (vertical = z)
539539
// times the local-->global v-->z element
540540
// to determine if sensor is aligned (+ive v --> away from beam)
541541
// or anti-aligned (+ive v is towards beam)
542-
543542
double vertPos=sensor.p.X().v[2];
544543
double l2gv2z=sensor.R.M[1][2];
545544
int awayFromBeam = (int)Math.signum(vertPos*l2gv2z);

0 commit comments

Comments
 (0)