Skip to content

Commit

Permalink
divide the recombination faction instead (more charge at the origin t…
Browse files Browse the repository at this point in the history
…han at the readout)
  • Loading branch information
Yifan Chen committed May 21, 2024
1 parent 322d610 commit 1ff5456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proto_nd_flow/reco/charge/calib_prompt_hits.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def run(self, source_name, source_slice, cache):
calib_hits_arr['io_channel'] = packets_arr['io_channel']
calib_hits_arr['Q'] = self.charge_from_dataword(packets_arr['dataword'],vref,vcm,ped)
#!!! hardcoding W_ion, R=0.7, and not accounting for finite electron lifetime
calib_hits_arr['E'] = self.charge_from_dataword(packets_arr['dataword'],vref,vcm,ped) * 23.6e-3 * 0.7
calib_hits_arr['E'] = self.charge_from_dataword(packets_arr['dataword'],vref,vcm,ped) * 23.6e-3 / 0.7

# create truth-level backtracking dataset
if has_mc_truth:
Expand Down

0 comments on commit 1ff5456

Please sign in to comment.