Code for producing BLT unfolding ntuples