I'm in need to find a paper/book that discusses how to obtain the $g^{(2)}$ correlation of a certain emitter when using an Hanbury Brown Twiss interferometer (HBT) with two single photon avalanche diodes (APD). This means recovering $g^{(2)}$ from data obtained with, possibly, different quantum efficiencies on each APD and different noise background levels.
For some reason I can't find it. Any recommendation or link will be much appreciated.