A bang in a tower closet is often not the heater. Shared risers, building pumps and long pipe runs carry noise from other units, and the timing of the sound is the best way to find the source.
Water hammer
A quick-closing valve stops a column of water, and the momentum shakes the pipe. On a shared riser the pulse can travel several floors, so a knock in one apartment may originate in another. Loose pipe clips and missing arrestors make it louder.
The fix is at the piping — securing runs, fitting arrestors at the right valves, checking pressure. It is a building-scale job when the riser is shared, which is why the building's engineer is often part of the conversation.
Thermal expansion
A building service with a backflow preventer is a sealed circuit. Water that swells as it heats has nowhere to escape, so the pressure climbs until something ticks, weeps or knocks. The pattern is easy to confirm: quiet when cold, noisy once the unit has run for a while, and a relief valve that leaves a mark it should not be leaving.
The cure is a tank on the cold side that gives the swelling water somewhere to sit. In a closet the question becomes space: a small tank may fit beside the unit, and where it will not, a position further along the cold line is considered before anything is ordered.
Pumps and check valves
A building recirculation pump or booster can transmit a knock through the riser. A chattering check valve sounds similar. If the noise tracks the building's schedule rather than the unit's heating cycle, the pump is the better suspect.
Loose mounting
A tank on a stand that is not secure, or a pipe that is not clipped, will amplify every vibration. In a closet the unit is close to the structure, so the sound carries.
When it points to the tank
A knock that persists after the piping, pump and mounting are checked, especially with a weeping relief valve or poor heating, warrants a look at the tank and its controls. The noise then is a symptom rather than a separate fault.