If $X$ is an irreducible algebraic variety (over $\mathbb C$), an algebraic vector bundle of rank $r$ over $X$ is a couple $(E,\pi)$ where $E$ is an algebraic variety and $\pi: E\longrightarrow X$ is a surjective morphism, with the following properties:
1) $\pi^{-1}(x)$ is a vector space isomorphic to $\mathbb C^r$ for every $x\in X$
2) For every $x\in X$ there are an open neighborhood $U$ and an isomorphism of varieties $\phi_U:\pi^{-1}(U)\longrightarrow U\times\mathbb C^r$ such that:
2a) $ \pi_1\circ\phi_U=\pi$ where $\pi_1:U\times\mathbb C^r\rightarrow U$ is the canonical projection on $U$.
2b) $\phi_U|_{\pi^{-1}(x)}:\pi^{-1}(x)\longrightarrow \{x\}\times\mathbb C^r$ is an isomorphism of vector spaces.
One can also construct an algebraic vector bundle by an open cover $\{U_\alpha\}$ of $X$ and some functions $g_{\alpha\beta}:U_\alpha\cap U_\beta\longrightarrow GL_r(\mathbb C)$ which satisfy some cocicle conditions. Now my question is the following:
Are the functions $g_{\alpha\beta}$ morphisms between varieties? (remember that $GL_r(\mathbb C)$ is an open affine subvariety of $\mathbb C^{r^2}$)
For example Cox in his book on Toric varieties says only that $g_{\alpha\beta}$ is a function. But for smooth manifolds, $g_{\alpha\beta}$ must be a smooth function, so by analogy I think that in the algebraic case $g_{\alpha\beta}$ should be a morphism.