Tau trigger, reconstruction and identification at CMS