Remove unused hits columns#949
Conversation
1ee7b9e to
df53e19
Compare
|
Hi Gonza! I have a qestion regarding this PR. I have been looking into event_model.py and still many of the unused columns are still there, for example in the HitCollection class definition. Is there a particular reason for this? |
|
In principle, no, just leftovers that I didn't pick up in my work. Well spotted, I'll work on removing them. |
|
Make sense! There are many "hidden" references across all IC hahaha. I also found a |
|
Thanks! I will search the entire repo for the unused columns. |
Perfect! Sounds good! I also found this reference in |
|
I also found this in |
I also saw that |
|
I've removed the remaining references to the variables we are discussing, with the exception of those that use the The other |
Great!! I have a quick question. I was looking at the function |
|
The |
Yes, we use |
I think it will be a good idea to eliminate |
|
When you say eliminate, you mean parametrize the algorithm to be able to choose which one to use? If that's the case I'm ok with that, but that's orthogonal to this PR. |
|
By the way, |
Fair enough! |
Yes, I understand! In that case it makes sense! I will have a look at the rest and ask more questions when appropiate! |
As far as I can tell (I could be very wrong), within the |
That is what I thought, maybe we can look into this in the near future! |
I remembered that the reason for the existence of Ep was that there was something in there that needed to modify the energy. It took me a while, but I think I've found it. It's this line in the voxel-dropping function. |
Luismiguelvillar
left a comment
There was a problem hiding this comment.
Everything looks fine and all doubts have been answered. I approve the pull request
|
Thanks, @Luismiguelvillar. For future reference, we don't merge-commit like this. We let a third person do it (to increase the know-how) following the instructions in this file. I'll rewrite the history now. |
#949 [author: gonzaponte] There are several columns that hold dummy values due to historical reasons. This PR removes them and breaks backward compatibility to reduce noise in the output file and save memory. These columns are: - nsipm (always 1) - Xrms / Yrms (always 0) - Qc (always -1) - track_id and Ep (always -1, pre-paolina) [reviewer: Luismiguelvillar] Everything looks fine and all doubts have been answered.
There are several columns that hold dummy values due to historical reasons. This PR removes them and breaks backward compatibility to reduce noise in the output file and save memory. These columns are: