Unified if-detection theory optical sy by Hooymans