SPIDER beam dump as diagnostic of the particle beam