Added code for DDstarpi and tweaked cuts for DDpi