The real hammer must have a cylinder?
Using compressed air hammer is relative with the cylinder structure, but also through the gas power into rotary motion, such as work by cam structure. Generally, this device is called a pneumatic motor.
The hammer is not the cylinder hammer is composed of a motor and a cam transmission structure.