Make UT code compile with DD4hep
The main part of this MR is to modernize the code, make it functional and using derived conditions.
Part of the set of MRs LHCb!3386 (merged) Lbcom!596 (merged) !2700 (merged) Boole!378 (merged) Allen!757 (merged) Brunel!1193 (merged)
Edited by Sebastien Ponce