it will be the z22se engine
the vectra B has a different inlet cam - this has a hexagon drive for the power steering pump
use the old cam if the new engine doesn't have the right cam, very easy to swap.
also fit a new cam chain to the new engine before fitting it, you don't want a repeat.
the z22yh is a direct injection and is not suitable for the vectra B, the heads are different and so is the wiring loom and ecu.