Make plots for the cosmic track splitting validation

This code is to make plots for the cosmic track splitting validation, as is done by several other validations in the All In One Tool. I was asked by the alignment conveners to create this pull request in several release cycles.

Backport of pull request #5081 in 72X