-
Notifications
You must be signed in to change notification settings - Fork 613
[PWGHF] Add UPC process functions to taskDplus and taskD0 #13603
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
[PWGHF] Add UPC process functions to taskDplus and taskD0 #13603
Conversation
|
O2 linter results: ❌ 0 errors, |
Please consider the following formatting changes to AliceO2Group#13603
|
hi @minjungkim12, Thanks a lot for the implementations! Given we already loose the selection on the FIT amplitudes in the derived data, and we want to determine the gap type for the candidates come from offline. In this case, We need to save the FIT signal amplitudes to the ThnSparse as we discussed. it will make the analysis more flexible. What do you think? I think @Rrantu is also working it on the Lc task |
Hi @zhangbiao-phy Thanks a lot for bringing it up! Yes, I agree with it. I will wait for the PR from @Rrantu and implement accordingly :) @Rrantu , Can I get rough time estimating? |
|
Hi @minjungkim12, sorry for the late reply. I’m currently busy with meetings, but I’ll try to get this PR done before the weekend. |
9d4c45b to
6cef4e6
Compare
|
Thanks a lot @zhangbiao-phy for your review :) I implemented your latest comments in my last commit. |
Thanks @minjungkim12! I don't have further comments. Let's see whether Vit have further comments |
|
Error while checking build/O2Physics/o2 for b2ba951 at 2025-11-17 18:52: Full log here. |
Yes, I do. See my previous unresolved comments. Plus the PR doesn't compile. @minjungkim12 You are supposed to check your compilation log before pushing. |
|
@zhangbiao-phy Please mark your comments as resolved if they are. |
… warnings - Remove gapTypeToInt pass-through function from utilsUpcHf.h - Replace hf_upc::gapTypeToInt(gap) calls with gap directly in taskD0 and taskDplus - Add /*tracks*/ comment to suppress unused parameter warnings in UPC process functions The gapTypeToInt function was a no-op that simply returned its input unchanged. As noted by @vkucera, this function serves no purpose since gap is already an int. 🤖 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
@minjungkim12 Looks good to me. Thanks a lot for your patience and for the effort to address all the comments. |
Green light from my side! Thanks a lot! |
Head branch was pushed to by a user without write access
|
@minjungkim12 Your last commit introduced a warning. Please fix it. |
satisfies the naming guidelines
Head branch was pushed to by a user without write access
Summary
This PR adds Ultra-Peripheral Collision (UPC) analysis functionality to taskDplus and taskD0, following the implementation pattern from taskLc (commit 41d60bb).
Changes
Core UPC Implementation
processDataWithDCAFitterNMlWithUpcfor taskD0,processDataWithMlWithUpcfor taskDplus)PWGHF/Utils/utilsUpcHf.hwith gap type enum and helper functionsConfigurable Thresholds and Occupancy Storage (Latest)
upcFT0AThreshold(default: 100.0 a.u.)upcFT0CThreshold(default: 50.0 a.u.)upcZDCThreshold(default: 1.0 a.u.)storeOccupancyAndIRfor UPC process in taskD0Benefits
Gap Determination Logic
Single-sided gaps are identified based on FIT and ZDC signals:
Default thresholds are defined in
utilsUpcHf.hand can be overridden via configuration.