Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #479 from JeffersonLab/DCT0MC
Browse files Browse the repository at this point in the history
Allow non zero T0 in MC.
  • Loading branch information
raffaelladevita authored Feb 28, 2020
2 parents 7899335 + e8e6d8a commit 0a7688b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,11 @@ public void read_HBHits(DataEvent event, IndexedTable constants0, IndexedTable c

if (!event.hasBank("MC::Particle") &&
event.getBank("RUN::config").getInt("run", 0) > 100) {
T_0 = this.get_T0(sector[i], slayer[i], layer[i], wire[i], T0, T0ERR)[0];
//T_0 = this.get_T0(sector[i], slayer[i], layer[i], wire[i], T0, T0ERR)[0];
if (event.hasBank("RECHB::Event"))
T_Start = event.getBank("RECHB::Event").getFloat("startTime", 0);
}

T_0 = this.get_T0(sector[i], slayer[i], layer[i], wire[i], T0, T0ERR)[0];
FittedHit hit = new FittedHit(sector[i], slayer[i], layer[i], wire[i], tdc[i], id[i]);
hit.set_Id(id[i]);
hit.setB(B[i]);
Expand Down

0 comments on commit 0a7688b

Please sign in to comment.