need help identifying parts?

I bought a swap it was suppose to be D16Z6 but i never checked it when i got it. i was cleaning the block and i saw the engine code on the block and it was a D15B7 the head looks like a VTEC head cause it has a vtec solenoid. how do can i identify the head? Also how can i identify the tranny. ill post picture later of the swap.