A second level trigger for the PAMELA satellite experiment