Skip to content

Conversation

@diana0x0f
Copy link
Contributor

Modification of global track selection in UPCCandidateProduceR:

  • check the correct number of tracks before finding the corresponding MCH-MID tracks
  • check whether both global tracks are in the MFT acceptance and handle the four cases separately

Copy link
Collaborator

@rolavick rolavick left a comment

Choose a reason for hiding this comment

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

Hi Diana, it seems to me a bit redundant to define variables on line 1608, 1633 and 1634. They are used basically only once on line 1610, 1636 and 1639. Could you please use directly the pointers? It saves just a little bit of memory, but in global it can play a role.
Also, in lines 1631, 1632, use const auto&, also for the computing performance reason. It should speed up the compiler, so your O2Physics build will finish a little bit sooner :)
Last thing, could you please add some comment for the createCandidatesFwdGlobal function, to describe what it does and how it differ from createCandidatesFwd? It seems createCandidatesFwdGlobal is quite specialized.

@diana0x0f
Copy link
Contributor Author

Hi @rolavick , thanks a lot for your review! I have pushed the changes as you requested.

@rolavick rolavick enabled auto-merge (squash) January 11, 2025 18:57
@rolavick rolavick merged commit 660616f into AliceO2Group:master Jan 11, 2025
12 of 13 checks passed
smaff92 pushed a commit to smaff92/O2Physics that referenced this pull request Feb 17, 2025
AliceO2Group#9268)

Co-authored-by: Diana Krupova <diana@Dianas-MacBook-Pro.local>
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.

2 participants