Tonnage from geometry
Each second the shearer removes a box of coal: web depth times seam height times the distance it moved. Multiply by the in-place density of coal, about 1.35 tonnes per cubic meter, and convert to hours to get the cutting rate.
This is the instantaneous rate while cutting. Real shift output is lower because the shearer must slow at the ends, reverse, and wait for supports to advance.
What happens behind
The roof behind the shields is meant to cave into the empty space, called the gob. That controlled collapse relieves pressure on the face but can cause the ground surface above to subside.