From 2dd05e3d4696d1397af848e3c1e3af1aa4a2fb59 Mon Sep 17 00:00:00 2001 From: Latif Kabir Date: Fri, 29 Dec 2017 16:59:25 -0500 Subject: [PATCH] Fix for triple bands --- .../dc/src/main/java/org/jlab/rec/dc/banks/HitReader.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reconstruction/dc/src/main/java/org/jlab/rec/dc/banks/HitReader.java b/reconstruction/dc/src/main/java/org/jlab/rec/dc/banks/HitReader.java index 78addc1667..9145d83aa9 100644 --- a/reconstruction/dc/src/main/java/org/jlab/rec/dc/banks/HitReader.java +++ b/reconstruction/dc/src/main/java/org/jlab/rec/dc/banks/HitReader.java @@ -251,7 +251,8 @@ public void read_HBHits(DataEvent event, IndexedTable constants0, IndexedTable c FittedHit hit = new FittedHit(sector[i], slayer[i], layer[i], wire[i], time[i]-tProp[i]-tFlight[i] - T_0, 0, B[i], id[i]); hit.set_B(B[i]); - hit.setT0SubTime(time[i]- T_0+tProp[i]+tFlight[i]); + //hit.setT0SubTime(time[i]- T_0+tProp[i]+tFlight[i]); + hit.setT0SubTime(time[i]- T_0 - tProp[i] - tFlight[i]); // Temporary fix for triple bands hit.setTProp(tProp[i]); hit.setTFlight(tFlight[i]); hit.set_LeftRightAmb(LR[i]); @@ -337,7 +338,8 @@ public void read_TBHits(DataEvent event, IndexedTable constants0, IndexedTable c } FittedHit hit = new FittedHit(sector[i], slayer[i], layer[i], wire[i], time[i]-tProp[i]-tFlight[i], 0, B[i], id[i]); - hit.setT0SubTime(time[i]+tProp[i]+tFlight[i]); + //hit.setT0SubTime(time[i]+tProp[i]+tFlight[i]); + hit.setT0SubTime(time[i] - tProp[i] - tFlight[i]); // Temporary fix for triple bands hit.setTFlight(tFlight[i]); hit.setTProp(tProp[i]); hit.set_B(B[i]);