In the COM frame the total energy of the system is the rest energy, and this quantity (when divided by the factor c2, where c is the speed of light) gives the rest mass (invariant mass) of the system:
In the COM frame, the total energy of the system corresponds to its rest energy. Dividing this quantity by c2 (where c denotes the speed of light) provides the invariant mass or rest mass of the system.