Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify find_duplicates_sharedhits #393

Closed

Conversation

leonardogiannini
Copy link
Contributor

@leonardogiannini leonardogiannini commented Feb 2, 2022

this PR modifies find_duplicates_sharedhits used in pixelless and tobtec to fdollow a logic similar to cmssw

  1. maps hits to tracks
  2. find for each tracks the ones the share hits with it and how many

this allows to avoid nested track-track loops

the timing is reduced by a factor from ~2 to 4, while the physics is not changed i.e. same number of output tracks

  • new vs old time for the function (10 evts)
    image

  • speed up plot (10 evts)
    image

@mmasciov
Copy link
Collaborator

mmasciov commented Apr 9, 2022

Closing, as superseded by cms-sw/cmssw#37122.

@mmasciov mmasciov closed this Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants