Triggering on hard probes in heavy ion collisions with CMS