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

need to speedup/refactor EgammaHcalIsolation #35969

Open
slava77 opened this issue Nov 3, 2021 · 8 comments
Open

need to speedup/refactor EgammaHcalIsolation #35969

slava77 opened this issue Nov 3, 2021 · 8 comments

Comments

@slava77
Copy link
Contributor

slava77 commented Nov 3, 2021

This is a follow-up to some initial work done already in #35955

a better refactoring of the code should be considered in near future. Some options are

  • accumulate all needed isolation types in one loop over rechits
    • compute multiple cone isolation in a single loop over rechits, e.g. 0.3 and 0.4
  • precompute (η,φ) of rechits in a separate producer in a ValueMap and use it when dR computations are needed
    • this will eliminate the calls to calo geometry geometry and the cost of recomputing (η,φ) from (x,y,z)
      @wrtabb @SohamBhattacharya

Gains expected

  • around 0.5-0.7% in full reco
  • larger gains may be present in HLT or analysis setups
@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2021

A new Issue was created by @slava77 Slava Krutelyov.

@Dr15Jones, @perrotta, @dpiparo, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@slava77
Copy link
Contributor Author

slava77 commented Nov 3, 2021

assign reconstruction,@cms-sw/egamma-pog-l2

@makortel
Copy link
Contributor

makortel commented Nov 3, 2021

assign reconstruction, egamma-pog

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2021

New categories assigned: reconstruction,egamma-pog

@slava77,@jpata,@lfinco,@swagata87 you have been requested to review this Pull request/Issue and eventually sign? Thanks

@swagata87
Copy link
Contributor

just to keep track,
this was another improvement along this direction (thanks to Slava)
#36108

@jpata
Copy link
Contributor

jpata commented Apr 1, 2022

type performance-improvements

@jpata
Copy link
Contributor

jpata commented Apr 11, 2022

@wrtabb @SohamBhattacharya please take note of this opportunity for performance improvements. We should start to prioritize computing improvements.

@cms-sw/egamma-pog-l2

@jpata
Copy link
Contributor

jpata commented May 5, 2022

type egamma

@cmsbuild cmsbuild added the egamma label May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants