Detection rate of weakly interacting massive particles