Skip to content

Commit

Permalink
adds placeholder for recombination factor in Q-->E
Browse files Browse the repository at this point in the history
  • Loading branch information
krwood committed Feb 17, 2024
1 parent 5bbeded commit ae0fcbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/proto_nd_flow/reco/charge/calib_prompt_hits.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ def run(self, source_name, source_slice, cache):
calib_hits_arr['io_group'] = packets_arr['io_group']
calib_hits_arr['io_channel'] = packets_arr['io_channel']
calib_hits_arr['Q'] = self.charge_from_dataword(packets_arr['dataword'],vref,vcm,ped)
calib_hits_arr['E'] = self.charge_from_dataword(packets_arr['dataword'],vref,vcm,ped) * 23.6e-3 # hardcoding W_ion and not accounting for finite electron lifetime
#!!! 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

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

0 comments on commit ae0fcbc

Please sign in to comment.