update the purity calculation to also run over PbPb data and private MC