Surely it isn't a tank (it would make no sense to have a small, 5 or 10 liters or so tank), but it is also not a hammer arrestor, as it is not vertical, and there is no way it could provide the air cushion needed.
Very likely it is simply a sort of distribution manifold.
Oww, come on, there is no way it could have been vertical, and even if it was, it would be way too short, given the diameter, to allow for a meaningful air cushion.
Besides, in actual hammer arrestors both inlet and outlets would have been at the very bottom.