Mass in special relativity (including the kinetic energy of the gas) only when it is measured in the center of momentum frame. Just as is the case for single particles, the calculated "rest mass" of such a container of gas does not change when it is in motion, although its "relativistic mass" does change. The container may even be subjected to a force which gives it an overall velocity, or else (equivalently) it may be viewed from an inertial frame in which it has an overall velocity (that is, technically, a frame in which its center of mass has a velocity). In this case,
Secondary ion mass spectrometry the SIMS type, there are three basic analyzers available: sector, quadrupole, and time-of-flight. A sector field mass spectrometer uses a combination of an electrostatic analyzer and a magnetic analyzer to separate the secondary ions by their mass-to-charge ratio. A quadrupole mass analyzer separates the masses by resonant electric fields, which allow only the selected masses to pass through. The time of flight mass analyzer separates the ions in a field-free drift path according to their velocity. Since all ions possess the same kinetic energy the velocity and therefore time of flight varies according to mass. It requires pulsed secondary ion