File tree Expand file tree Collapse file tree
tracking/src/main/java/org/hps/recon/tracking/kalman Expand file tree Collapse file tree Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments