This answer assumes some knowledge of bosonic string theory.
In section 7.3 of volume 1 of Polchinski's textbook on string theory, it is proved that the genus 1 amplitude for the bosonic string without any vertex operator insertion is given by
F1∼12∫Fdτd¯τIm(τ)<b(0)¯b(0)ˉc(0)c(0)>
where b, c (resp ¯b, ¯c) are the left (resp. right) antighost and ghost fields and where the integration is over the fundamental domain F for the action of SL2(Z) on the upper half-plane, i.e. the moduli space of elliptic curves. Essentially, there is one insertion of the antighosts b, ¯b because a genus 1 complex curve has one complex moduli and there is one insertion of the ghosts c, ¯c because a genus 1 complex curve has a one complex dimensional group of automorphisms.
Now the key point is that the algebraic structure of the topological twist of a N=2 two dimensional conformal field theory is similar to the algebraic structure appearing in the covariant BRST quantization of the bosonic string. In the topological twisted theory, we are looking at the cohomology of a nilpotent operator Q=∮G+, the stress tensor is Q-exact: T(z)={Q,G−(z)} and there is a U(1) R-symmetry current J(z) with respect to which G+ and G− are respectively of charge 1 and −1. In the BRST formulation of the bosonic string, we are looking at the cohomology of the nilpotent BRST operator QB=∮jB where jB is the ghost current, the stress tensor is QB-exact: T(z)={QB,b(z)} and there is a U(1) ghost number current JB(z)∼b(z)c(z) with respect to which jB and b have respectively of charge 1 and −1. This suggests the identification of Q with QB, G+ with jB, G− with b and J with JB. As we have for the bosonic string
F1∼12∫Fdτd¯τImτ<JB(0)¯JB(0)>
we have for the topological string that
F1∼12∫Fdτd¯τImτ<J(0)¯J(0)>
As FL and FR are the charges associated to the currents J and ¯J, the correlation function <J(0)¯J(0)> is given in operator formalism by Tr(−1)FFLFRqHL¯qHR.
The preceding derivation works for any topological twist of a N=(2,2) two dimensional conformal field theory. It applies as well to a Calabi-Yau sigma model as to a LG model.