The family of twisted $L$-functions of a cusp form