in the <initialize> block, *after* having read in the structure with say an init block, write e.g.
<masses mode="manual" units="dalton"> [ 15. 997, 1.008, 1.008 ] </masses>
Note you will have to indicate the mass of all atoms. I think you can also do
<masses mode="manual" units="dalton" index="1"> [1.008] </masses>
but I'm not 100% sure.
You can check it has initialized stuff correctly by looking at the RESTART file and checking the <m> array.
Best
Michele