Determination of the Optimum Operating Conditions of the Electron Capture Detector