Ionisation studies of chlorinated and fluorinated compounds