An implantable cardioverter defibrillator, ICD, comprising: a plurality of electrodes capable of forming a plurality of sensing vectors for sensing cardiac signals; and a processor configured to obtain the cardiac signals sensed via the plurality of sensing vectors, determine, for each of the plurality of sensing vectors, at least one sensing vector quality metric of the sensed cardiac signals, determine, for each of the plurality of sensing vectors, at least one morphology quality metric associated with a morphology of the sensed cardiac signals by sensing an R-wave in response to the cardiac signal exceeding a sensing threshold, determining pulses associated with the sensed R-wave, determining, for each pulse, whether a pulse width of the pulse is less than a pulse width threshold, determining, for each pulse, whether a pulse amplitude of the pulse is greater than a pulse amplitude threshold, determining a number of the determined pulses having both a pulse width less than the pulse width threshold and a pulse amplitude greater than the pulse amplitude threshold, and setting the morphology metric equal to the determined number of pulses, determine, for each of the plurality of sensing vectors, vector selection metrics based on the determined sensing vector quality metric and the determined morphology quality metric, and select a sensing vector of the plurality of sensing vectors based on the determined vector selection metrics; and wherein the processor is further configured to set a window of time determined based on the sensed R-wave, determined signal differences between the sensed cardiac signal and the sensing threshold during the window of time, and set the sensing vector quality metric based on the determined signal differences. a plurality of electrodes capable of forming a plurality of sensing vectors for sensing cardiac signals; and a processor configured to obtain the cardiac signals sensed via the plurality of sensing vectors, determine, for each of the plurality of sensing vectors, at least one sensing vector quality metric of the sensed cardiac signals, determine, for each of the plurality of sensing vectors, at least one morphology quality metric associated with a morphology of the sensed cardiac signals by sensing an R-wave in response to the cardiac signal exceeding a sensing threshold, determining pulses associated with the sensed R-wave, determining, for each pulse, whether a pulse width of the pulse is less than a pulse width threshold, determining, for each pulse, whether a pulse amplitude of the pulse is greater than a pulse amplitude threshold, determining a number of the determined pulses having both a pulse width less than the pulse width threshold and a pulse amplitude greater than the pulse amplitude threshold, and setting the morphology metric equal to the determined number of pulses, determine, for each of the plurality of sensing vectors, vector selection metrics based on the determined sensing vector quality metric and the determined morphology quality metric, and select a sensing vector of the plurality of sensing vectors based on the determined vector selection metrics; and wherein the processor is further configured to set a window of time determined based on the sensed R-wave, determined signal differences between the sensed cardiac signal and the sensing threshold during the window of time, and set the sensing vector quality metric based on the determined signal differences. <EOS>