Doesn't sound like hammering. Could be that unions are not tight enough. Also, did plumber ream copper pipe after cutting. Ridges in pipe cause turbulence and noise.