Skip to content

Commit

Permalink
Fix: expand FZ to it's isolated value in dt
Browse files Browse the repository at this point in the history
TODO: make FV depend on time-stamp
  • Loading branch information
josh0-jrg committed Nov 7, 2024
1 parent 2dc7c54 commit 918bd1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flamedisx/lz/WS2024_cuts_and_acceptances.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def WS2024_fiducial_volume_cut(x,y,dt):
~((phi <= phi_slices[i]) & (phi > phi_slices[i + 1])) for i in range(n_phi_slices)]

# Calculate dR_phi by replacing relevant points in loops over phi slices, then return
dR_phi = np.zeros(len(R))
dR_phi = np.zeros_like(x)
for i, p in enumerate(phi_cuts):
dR_phi[p] = R[p] - phi_walls[i](dt[p])

Expand All @@ -121,7 +121,7 @@ def WS2024_fiducial_volume_cut(x,y,dt):
mask = ((dR_phi < (contour + expansion)) & expandable) | ((dR_phi < contour) & ~expandable)

#cut the drift time
dt_cut = (dt > 71) & (dt < 1030)
dt_cut = (dt > 71) & (dt < 1034)

return dt_cut&mask&(dR_phi<=0)

Expand Down

0 comments on commit 918bd1e

Please sign in to comment.