Suppose $\Sigma_g$ is the closed, orientable surface of genus $g\ge 1$. Isomorphism classes of principal $S^1$-bundle on $\Sigma_g$ is then classified by $H^2(\Sigma_g,\mathbb{Z})=\mathbb{Z}$. Suppose $S^1\hookrightarrow{} P_n\to \Sigma_g$ is the bundle corresponding to the class represented by the integer $n$. I'd like to compute the cohomology groups of $P_n$.
The obvious tool was to use Serre spectral sequence. But since $\pi_1(\Sigma_g)\ne 0$, the coefficient system is not necessarily simple. Is the action of $\pi_1(\Sigma_g,b)$ on $H^1(F_b,\mathbb{Z})=\mathbb{Z}$ is always trivial? I can see that this action should somehow depend on the Euler class of this bundle, but I'm not sure how to proceed.
If the coefficient system is indeed non-trivial, is there any way to compute, say, $E_2^{2,1}=\mathrm{H}^2(\Sigma_g, \mathcal{H}^1(S^1,\mathbb{Z}))$? Here $\mathcal{H}^1(S^1,\mathbb{Z})$ denotes the local coefficient system.
Any help is appreciated!
Here is a geometric topological approach. Since $P_n$ is the frame bundle for the complex line bundle with Chern number n, $P_n$ is the boundary of the disk bundle over $\Sigma_g$ with Euler number $n$. Call this 4-manifold $D_n$. One way to think about this 4-manifold is to take $(\Sigma_g-D^2) \times D^2$ and attach a n-framed 2-handle along the $S^1$ boundary of $\Sigma_g-D^2$ (times a constant in the other factor). Now there is a Morse function on the 4 manifold which has 1 0-handle and 2g 1-handles (all coming from the standard Morse function on $\Sigma_g-D^2$ and one n-framed 2-handle attached along a curve representing a product of commutators of the generators of $\pi_1(\natural^{2g}S^1 \times D^3)$. In particular the boundary of this 4-manifold $P_n$, is $n$-surgery on a null homologous knot in $\#^{2g}S^1 \times S^2$ hence we have $H_1(P_n)=\Bbb Z^{2g}\oplus \Bbb Z/n$.