[PWGHF] Add HFE event mixing and high-pT electron cut (TPC+EMCAL)#16112
[PWGHF] Add HFE event mixing and high-pT electron cut (TPC+EMCAL)#16112rashigupt wants to merge 23 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-06 22:49: Full log here. |
Dear @apalasciano When I submit the code on Hyperloop and save the derived data, the corresponding derived dataset becomes very large, approximately 1 TB. Because of this, I am unable to use the “Save Slim Data” option effectively. Additionally, downloading a dataset of this size is quite difficult, while the standard derived dataset does not provide the final results needed for the analysis. For this reason, I committed the code and would like to follow the same strategy that is being used in other analyses. However, if you have any alternative suggestions or recommendations, I would be very grateful for your help. |
Implemented offline event mixing in TaskCorrelatorHfeHadron.cxx and added a high-pT cut in electron selection in ElectronSelectionWithTPCEMCal.cxx