Fix for ATR-27420 causing error in GenerateMenuMT stage of trig_mc_newJO_ITk_build in master
Fix for ATR-27420 causing error in GenerateMenuMT stage of trig_mc_newJO_ITk_build in master This fix only affects running on ITk datasets. Because of this, the MR was originally made for master in !63380 (closed). But @fwinkl and @jmasik requested it be made in 23.0 and swept to master. So this MR replaces !63380 (closed).
This MR adds a switch between ITkTracking and InDetTracking flags in generateMuon.py, generateTau.py and TrigInDetConfig/utils.py e.g. muonflagsCBid = muonflagsCB.cloneAndReplace("Tracking.ActiveConfig", "Trigger.ITkTracking.muon" if flags.Detector.GeometryITk else "Trigger.InDetTracking.muon") it also removes the cloneAndReplace from TrigInDetConfig/TrigIndetConfigITk.py as this is now performed higher up.