Skip to content

Conversation

@zhangbiao-phy
Copy link
Collaborator

@zhangbiao-phy zhangbiao-phy commented Jun 9, 2025

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:

  • Implement SGSelector cut from PWGUD
  • Add rejection bit into rejection mask
  • Add QA plot for the type of single gap A/C, double gap trigger event

Main changes are in trackIndexSkimCreator.cxx and utilsEvSelHf.h

image

@github-actions github-actions bot added the pwghf PWG-HF label Jun 9, 2025
@github-actions
Copy link

github-actions bot commented Jun 9, 2025

O2 linter results: ❌ 20 errors, ⚠️ 0 warnings, 🔕 47 disabled

zhangbiao-phy added a commit to zhangbiao-phy/O2Physics that referenced this pull request Jun 9, 2025
[PWGHF] Please consider the following formatting changes to AliceO2Group#11518
zhangbiao-phy added a commit to zhangbiao-phy/O2Physics that referenced this pull request Jun 9, 2025
Please consider the following formatting changes to AliceO2Group#11518
zhangbiao-phy added a commit to zhangbiao-phy/O2Physics that referenced this pull request Jun 9, 2025
[PWGHF] Please consider the following formatting changes to AliceO2Group#11518
@zhangbiao-phy zhangbiao-phy marked this pull request as ready for review June 9, 2025 11:58
@alibuild
Copy link
Collaborator

alibuild commented Jun 9, 2025

Error while checking build/O2Physics/o2 for 71fc7b5 at 2025-06-09 17:20:

## sw/BUILD/O2Physics-latest/log
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Full log here.

zhangbiao-phy added a commit to zhangbiao-phy/O2Physics that referenced this pull request Jun 9, 2025
[PWGHF] Please consider the following formatting changes to AliceO2Group#11518
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"};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spoting this

aod::McParticles const& mcParticles,
aod::McCollisions const& mcCollisions,
aod::BCsWithTimestamps const& bcs,
BCsInfo const& bcs,
Copy link
Collaborator

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

@vkucera vkucera changed the title [PWGHF] Add upc selection into HF framework [PWGHF] Add UPC event selection Jun 26, 2025
zhangbiao-phy added a commit to zhangbiao-phy/O2Physics that referenced this pull request Jun 26, 2025
[PWGHF] Please consider the following formatting changes to AliceO2Group#11518
@vkucera vkucera enabled auto-merge (squash) June 26, 2025 14:33
@vkucera
Copy link
Collaborator

vkucera commented Jun 26, 2025

@mfaggin @fgrosa Can you also check if it looks good to you?

@vkucera vkucera disabled auto-merge June 26, 2025 14:34
@fgrosa
Copy link
Collaborator

fgrosa commented Jun 27, 2025

@mfaggin @fgrosa Can you also check if it looks good to you?

Good for me! I would suggest to move on and merge

@fgrosa fgrosa merged commit 5e04fa8 into AliceO2Group:master Jun 27, 2025
13 of 14 checks passed
@zhangbiao-phy
Copy link
Collaborator Author

@mfaggin @fgrosa Can you also check if it looks good to you?

Good for me! I would suggest to move on and merge

Thanks all!

jpxrk pushed a commit to jpxrk/O2Physics that referenced this pull request Jul 16, 2025
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
prottayCMT pushed a commit to prottayCMT/O2Physics2024 that referenced this pull request Jul 18, 2025
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
JimunLee pushed a commit to JimunLee/O2Physics that referenced this pull request Jul 22, 2025
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
vojmach pushed a commit to vojmach/O2Physics that referenced this pull request Jul 23, 2025
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
jloemker pushed a commit to jloemker/O2Physics that referenced this pull request Nov 11, 2025
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

5 participants