Skip to content
Snippets Groups Projects

Calo Cell children override,final un-needed virtual

All threads resolved!

LarCell/TileCell use virtual (or rm it) , override, final

  • LarCell is just a few final (so avoid virtual calls if the compiler knows the concrete type)
  • TileCell had quite a few methods that were marked virtual for no clear reason aka they do not override neither seem to get ever overriden. Beyond that we can also mark thigs as final so the compiler can avoid virtual calls if it knows the type.
  • Leave the _novirt (which are there as I guess using the "without reason" virtual ones was slow ...). In principle this we could clean up after this MR.
  • No clear why the Simul side was inheriting naively it seems to use the default setGain from CaloCell [https://acode-browser1.usatlas.bnl.gov/lxr/ident?_i=setGain]
Edited by Christos Anastopoulos

Merge request reports

Pipeline #5736352 passed

Pipeline passed for 90c323db on ATLAS-EGamma:CaloCell_and_childs_over_final

Approval is optional

Merged by Walter LamplWalter Lampl 1 year ago (Jun 15, 2023 2:47pm UTC)

Merge details

  • Changes merged into 23.0 with 8206d716 (commits were squashed).
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading