Skip to content

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