Code for the SBN $\nu_\mu$ disappearance analysis