Skip to content

[PWGHF] Cache D* soft pions propagation - #18214

Merged
zhangbiao-phy merged 6 commits into
AliceO2Group:masterfrom
Marcellocosti:cache_softpi
Oct 16, 2026
Merged

zhangbiao-phy merged 6 commits into
AliceO2Group:masterfrom
Marcellocosti:cache_softpi

Conversation

@Marcellocosti

@Marcellocosti Marcellocosti commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Extends #17906 to the soft pions tracks in D* candidate creation. I estimated a 20% reduction of the total CPU time locally on ~4000 collisions in 0-20% centrality. I needed to define an overloaded function to deal with the std::optional type of the soft pions tables. I also defined a dedicated and lighter struct for soft pions, as neither the track object nor the track covariance matrix are needed in the processing.

image With implementation of soft pions caching (run time 12m 12s) image Online version (run time 15m 36s)

Please let me know if you spot any issue with the implementation or if you have further suggestions!

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

O2 linter results: ❌ 0 errors, ⚠️ 8 warnings, 🔕 7 disabled

Marcellocosti and others added 2 commits October 8, 2026 12:26
Comment on lines +1509 to +1510
LabeledArray<double> cutsDstar{};
std::vector<double> binsPtDstar{};

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

How do these help?

@vkucera

vkucera commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

@fchinu Since you did the original implementation, could you please have a look at this one?

@fchinu fchinu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good for me, thanks a lot @Marcellocosti

@Marcellocosti

Copy link
Copy Markdown
Contributor Author

Hello, can this be merged? Thanks!

@zhangbiao-phy
zhangbiao-phy enabled auto-merge (squash) October 16, 2026 09:02
@zhangbiao-phy
zhangbiao-phy merged commit f899d8b into AliceO2Group:master Oct 16, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pwghf PWG-HF

Development

Successfully merging this pull request may close these issues.

5 participants