analysis code for susy threebody decays