Extra code for the AlphaT analysis