Skip to content

MuonInertMaterialBuilder : De-duplicate code

This follows !59277 (merged)

Same idea

  • We create an Impl clas.
  • We move all the common things to it .
  • Note that is NOT new code but copy paste of the "common" code
  • So it has the same "issues", but now in one place not two (so potentially easer to solve in the future?)
  • The 2 derived ones differ on how one "gets" the EventContext
  • So we end up with a single 900 lines impl, rather than 2 ...

This follows some discussion with @jchapman.

Edited by Christos Anastopoulos

Merge request reports