Final design of the diagnostic calorimeter for the negative ion source SPIDER