diff --git a/src/proto_nd_flow/reco/charge/calib_prompt_hits.py b/src/proto_nd_flow/reco/charge/calib_prompt_hits.py index 6afa7afd..eead47e5 100644 --- a/src/proto_nd_flow/reco/charge/calib_prompt_hits.py +++ b/src/proto_nd_flow/reco/charge/calib_prompt_hits.py @@ -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: