Share common code between BeamPipeBuilder and BeamPipeBuilderCond
Follows on from !59277 (merged).
Every GeometryBuilder
implementation is duplicated; once for the CondAlg
-based way of building the Tracking Geometry (used in reconstruction) and once for the Service
-based approach (used in Fatras simulation). In reality we would like to get rid of the Service
, but this is not yet possible for simulation.
In this MR:
- We create an
BeamPipeBuilderImpl
clas. - We move all the common code into it and have the
BeamPipeBuilder
andBeamPipeBuilderCond
call the common code.
Edited by John Derek Chapman