Analysis code for the VH analysis