-
Notifications
You must be signed in to change notification settings - Fork 614
[PWGHF] Add UPC event selection #11518
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: ❌ 20 errors, |
[PWGHF] Please consider the following formatting changes to AliceO2Group#11518
Please consider the following formatting changes to AliceO2Group#11518
[PWGHF] Please consider the following formatting changes to AliceO2Group#11518
|
Error while checking build/O2Physics/o2 for 71fc7b5 at 2025-06-09 17:20: Full log here. |
[PWGHF] Please consider the following formatting changes to AliceO2Group#11518
PWGHF/Utils/utilsEvSelHf.h
Outdated
| o2::framework::Configurable<float> centralityMin{"centralityMin", 0., "Minimum centrality"}; | ||
| o2::framework::Configurable<float> centralityMax{"centralityMax", 100., "Maximum centrality"}; | ||
| o2::framework::Configurable<bool> useSel8Trigger{"useSel8Trigger", true, "Apply the sel8 event selection"}; | ||
| o2::framework::Configurable<bool> useUpcTrigger{"useUpcTrigger", true, "Apply the upc event selection"}; |
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.
| o2::framework::Configurable<bool> useUpcTrigger{"useUpcTrigger", true, "Apply the upc event selection"}; | |
| o2::framework::Configurable<bool> useUpcTrigger{"useUpcTrigger", false, "Apply the upc event selection"}; |
I'd not enable it by default
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 spoting this
PWGHF/Tasks/taskMcValidation.cxx
Outdated
| aod::McParticles const& mcParticles, | ||
| aod::McCollisions const& mcCollisions, | ||
| aod::BCsWithTimestamps const& bcs, | ||
| BCsInfo const& bcs, |
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.
I'd call the BCsInfo data type if and only if UPC selections are enabled. This means that in the process functions that do not apply UPC selections I'd not use at all the data type BCsInfo, but I'd keep the data type aod::BCsWithTimestamps
[PWGHF] Please consider the following formatting changes to AliceO2Group#11518
[PWGHF] Please consider the following formatting changes to AliceO2Group#11518
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Add UPC event selection into the HF framework, the preselection used taken from UD group, further selection (ZDC or ITs UPC mode) can be easily added into specific task:
Main changes are in
trackIndexSkimCreator.cxx and utilsEvSelHf.h