-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fraction of TPC clusters used for PID to AO2D #13417
Conversation
We add this fraction as a binned variable contained in the track flags (like the PID in tracking).
REQUEST FOR PRODUCTION RELEASES:
This will add The following labels are available |
Hi @mpuccio , thanks a lot! I have a few comments:
Having all this in mind: I will not really object to carrying on in this particular instance provided (important!) that we make sure the precision is reasonable, but still, let's please restrict the 'repurposing' of columns to a bare minimum in the future. Instead, let's please discuss how to improve the way we deal with versioning and converters (tagging also @ktf @pzhristov for that). Thank you! |
Hi @ddobrigk,
Of course if the spawner, or any other process, could handle the conversions in one go, I would be happier. Cheers, |
Hi @mpuccio , thanks for the reply - I think I am just a bit curious about the data volume at this point but otherwise I will not go against this being merged, provided also Jens is fine with 12.5% resolution in the ratio you are saving (though let's still hear from @wiechula to be sure) Just for completeness and for the general data model discussion, I would still like to provide replies to your point 3: while this is not the first time we pack info in a non-direct way, there is a certain new component to what you are doing when you pack a float into an existing Flag. It's different wrt the PID in tracking, because PID-in-tracking is definitely a discrete option (and therefore flag-like) instead of a float. It is also different wrt pidTiny, where the truncated variables were designed for proper packing in the first place and aren't used for other, unrelated purposes. Therefore, rigorously, even if we have packed info in various ways before, this PR is still doing something new on top as far as I can tell ;-) In this context, when you say "we are not making it worse", well ... we actually are, because we're adding extra packed info and at the same time combining float bitpacking and variable type mixing into one single 32-bit column. Arguably, if we can do that, we can simply have bitwise columns for everything, and we'll never need any converter but the raw data model will be rather difficult to read :-D. In that sense, what worries me most is that this does not become a major trend, and that's why I pinged Peter/Giulio about possibilities for improving converters for the future. Maybe we can also touch base now in the Monday meeting - but still, no objection to merging this one, let's decouple the two discussions. Thank you! P.S.: One last word about filterability: what I usually do when I want to do a |
Dear @mpuccio , I'm not sure I fully understand the purpose of introducing this fraction. From analysis side it is hard for me to comment, since I'm not in analysis any more. My guess is this should be used to remove very bad quality tracks for which many clusters were not used for PID. There, I assume the resolution will do. If the intention is to use it in the n-Sigma estimate (instead of the tracking clusters used at the moment, since the PID clusters are not in AO2D), the +- 0.125/2 binning should result in +-3% variation of the sigma estimate (since sigma goes with 1/sqrt(ncl_PID)). Does also not sound dramatic. There is anyhow some bias using the tracking clusters... |
This PR did not have any update in the last 30 days. Is it still needed? Unless further action in will be closed in 5 days. |
Closing in favor of #13617 |
We add this fraction as a binned variable contained in the track flags (like the PID in tracking).
@shahor02 this is how I would implement the change we discuss before.
@ddobrigk @pzhristov @jgrosseo please have a look: we need this information to clean up the dE/dx signal following the change of dE/dx calculation in the reconstruction that exclude the clusters close to the sector boundaries. A few open points:
I am still testing so I open in draft.