Fix of EDM list when running with EDMDecodingVersion 3 (reported in ATR-20108)
Fixing problem reported in ATR-20108 and introduced by !25093 (merged) by reorganising TriggerEDM.py in function getTriggerEDMList to make it work for Run 3/EDMDecodingVersion 3. Current fix is temporary (hence the commented part, I would prefer to leave this please) to get tests running again, will provide a proper implementation for EDM Slim sets (i.e. removal of dynamic variables). Tagging @hartj, @rbielski, @jpanduro and @okuprash for info.