[PWGHF] Hadron Table Update for Event Mixing and High-p T Electron Cut#16112
[PWGHF] Hadron Table Update for Event Mixing and High-p T Electron Cut#16112rashigupt wants to merge 26 commits intoAliceO2Group:masterfrom
Conversation
…ection table Introduce MC changes for efficiency estimation and extend electron selection table with additional variables
Used getcharmHadron Function
|
O2 linter results: ❌ 0 errors, |
|
Test your formatting before you make the PR ready for review. |
|
Dear expert, please approve and merge the code |
|
Dear Expert, if everything looks okay, please approve and merge the code. |
apalasciano
left a comment
There was a problem hiding this comment.
Dear Rashi,
with offline ME, we usually refer to the computation of the ME distributions completely offline, as explained in this presentation.
I am not entirely sure that what you want to do with this process function will work, since you may be limited to mixing hfe and hadrons that belong to the same DF.
(In case you want to use the same strategy as other analyses, close this PR.)
| continue; | ||
|
|
||
| for (const auto& hadron : hadrons) { | ||
| if (electron.timeStamp() == hadron.timeStamp()) { |
There was a problem hiding this comment.
| if (electron.timeStamp() == hadron.timeStamp()) { | |
| if (electron.timeStamp() == hadron.timeStamp() && hadron.gIndexCol() == electron.gIndexCol()) { |
| if (hadron.poolBin() == electron.poolBin()) { | ||
| continue; | ||
| } | ||
| if (hadron.gIndexCol() == electron.gIndexCol()) { |
| continue; // or continue; if you're inside a loop | ||
| } | ||
|
|
||
| if (hadron.poolBin() == electron.poolBin()) { |
There was a problem hiding this comment.
remove this if statement
|
Error while checking build/O2Physics/staging for 0676d7e at 2026-05-07 04:16: Full log here. |
|
Okay, thank you @antonio. I will remove the offline event mixing from this task |
|
Error while checking build/O2Physics/staging for 62abacd at 2026-05-07 08:17: Full log here. |
Implemented changes to save the hadron table for offline event mixing in
correlatorHfeHadron.cxxand added a high-(p_T) cut in the electron selection in `ElectronSelectionWithTPCEMCal.cxx.