Skip to content

Conversation

@fgrosa
Copy link
Collaborator

@fgrosa fgrosa commented Sep 26, 2025

@sawenzel @marslandALICE this PR adds the possibility to filter out MCParticles originated from the background event in case of embedding, as discussed in O2-6320 and in this presentation.

MC labels of tracks and calo clusters are set to -1 if they are produced by removed MC particles.

grafik grafik

I also verified that tracks and calo clusters produced by MCParticles from the signal event still have indices that point to the same particles as before.

Finally, the AO2D.root size after the signal filtering is approximately 35% of the one without.

@fgrosa fgrosa requested a review from a team as a code owner September 26, 2025 12:38
@github-actions
Copy link
Contributor

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

Please consider the following formatting changes to AliceO2Group#14698
sawenzel
sawenzel previously approved these changes Sep 26, 2025
Copy link
Collaborator

@sawenzel sawenzel left a comment

Choose a reason for hiding this comment

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

Looks good to me.

In principle, we might not even need modification of O2DPG MC. We should already be able to inject the additional AOD option with a config file. But to be seen if this practical.

@sawenzel sawenzel enabled auto-merge (squash) September 30, 2025 06:31
@sawenzel sawenzel merged commit 0b91842 into AliceO2Group:dev Sep 30, 2025
13 checks passed
alcaliva pushed a commit that referenced this pull request Oct 2, 2025
* Add possibility to apply signal filtering for MC with embedding
* Add protection for signal filtering to be enabled only with emdedding
alcaliva pushed a commit that referenced this pull request Oct 2, 2025
* Add possibility to apply signal filtering for MC with embedding
* Add protection for signal filtering to be enabled only with emdedding
alcaliva pushed a commit that referenced this pull request Oct 2, 2025
* Add possibility to apply signal filtering for MC with embedding
* Add protection for signal filtering to be enabled only with emdedding
alcaliva pushed a commit that referenced this pull request Oct 3, 2025
* Add possibility to apply signal filtering for MC with embedding
* Add protection for signal filtering to be enabled only with emdedding
plariono pushed a commit to plariono/AliceO2 that referenced this pull request Oct 23, 2025
…eO2Group#14698)

* Add possibility to apply signal filtering for MC with embedding
* Add protection for signal filtering to be enabled only with emdedding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants