Precision IR sensor for wafer