Anti-terrorism police have taken up the investigation into the incident in Trappes, to the west of Paris.