Thermal Wave Resonator: In situ investigation by photothermal deflection technique