Function getTracksFromSwitchingSet