Closed YifanC closed 6 months ago
Oh btw I updated the Git Issue #216 @krwood
I will begrudgingly approve the PR, but I’m still not comfortable with the way the code is laid out. Specific to this PR, I really don’t think it’s great that we simulate the quenching and drifting on one segment dataset, and then simulate the pixel responses, and then re-simulate the quenching and drifting in another segment dataset for “back tracking”. We should backtrack to the exact input to the pixel response simulation (especially with the outstanding reproducibility issues). I wouldn’t be surprised if we find the backtracking bugs you and Kazu are encountering in the ml reco training work are related to this.
Relate this comment to Kevin's Git Issue #228
@mjkramer @krwood As Matt suggested, I added comments on why we need the hotfix and why it is a hotfix. It is a fairly isolated change.
all_mod_tracks
are passed in the module loop astracks
which have the truth information updated, but notall_mod_tracks
, we are patchingall_mod_tracks
here because the unsolved flow issue. The code is tested to a degree that it verifies the output contains the updated segments.