Skip to content

Conversation

@Simple-Shyam
Copy link
Contributor

The event mixing is crashed due to cache fixed using Preslice.

Fixing the crash caused by Cache
Please consider the following formatting changes to AliceO2Group#14721
}
PROCESS_SWITCH(HfCorrelatorDplusHadrons, processMcRecMixedEvent, "Process Mixed Event MCRec", false);

Preslice<aod::McParticles> presliceMc{aod::mcparticle::mcCollisionId};
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do not declare members between methods. It's in the guidelines. Please fix it.

Copy link
Contributor Author

@Simple-Shyam Simple-Shyam Jan 31, 2026

Choose a reason for hiding this comment

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

I fixed it. After adding the above line it fixes the crash by why? It's not clear to me.

Please consider the following formatting changes to AliceO2Group#14721
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.

3 participants