Adding protection for tracks in vertex particle thinning
In some vertex containers (e.g. long-lived particle vertex containers), tracks can be from multiple track containers. In the current implementation of the VertexParticleThinning tool, track indices are assigned to the track mask associated to the input track container, but those indices could be from multiple track containers and causes issues. This MR adds protection against such cases.