We have written a Fortran programme BCVEGPY, which is an event generator for
the hadronic production of the Bc​ meson through the dominant hard subprocess
gg→Bc​(Bc∗​)+b+cˉ. To achieve a compact programme, we have written
the amplitude of the subprocess with the particle helicity technique and made
it as symmetric as possible, by decomposing the gluon self couplings and then
applying the symmetries. To check the programme, various cross sections of the
subprocess have been computed numerically and compared with those in the
literature. BCVEGPY is written in a PYTHIA-compatible format, thus it is easy
to implement in PYTHIA.Comment: 47 pages, 12 figure