Photodissociation within classical S matrix theory