-
Notifications
You must be signed in to change notification settings - Fork 613
[PWGHF] add more UPC infos in taskLc.cxx #14007
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
Conversation
|
O2 linter results: ❌ 0 errors, |
PWGHF/D2H/Tasks/taskLc.cxx
Outdated
| } | ||
| if (FT0A > FT0AThreshold && FT0C < FT0CThreshold && ZNA > ZDCThreshold && ZNC < ZDCThreshold) { | ||
| return GapType::GapC; | ||
| if (candidate.isSelLcToPKPi() >= selectionFlagLc) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear @Rrantu, can you please consider not duplicating the code but usage of already existing fillHistosData() (modifying it to UPC needs) function? Because now there are two big blocks of code, where one is a subset of another (with an extension related to UPC).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion. I thought about using fillHistosData(), but I need some non-global detector info that fillHistosData() doesn’t have and that isn’t useful for other analyses using it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @lubynets, good suggestion! yes, we can remove it since we only need ThnSparse to store the key informations
Add FT0A, FT0C, FV0A, FDDA, FDDC, ZDC amplitudes and gap type axes to THnSparse in UPC runAnalysis function