The electromagnetic calorimeter for the OBELIX experiment