If you look at
pictures of
artillery during the civil war there's either no rifles or full length rifles. What makes sense since as defense against cavalry the soldier relied on the bayonet, and a short musket wasn't going to cut it there.
Maybe someone can find a picture of the artillery musket in action somewhere in google.