Circles represent individuals in the population; the different patterns indicate independent haplotypes at the neutral locus. An individual is dark grey when it is associated with the beneficial allele B at the selected site, and white when it is associated with the ancestral b allele. The B allele arises two times by independent mutations (indicated by M); individuals then change their color from white to grey, but keep their pattern. Similarly, a b lineage can recombine onto a B allele (indicated by R), in which case the individual also changes its color and keeps its pattern. Directly after fixation (t = 0), we take a sample of three individuals. If the sample would contain individuals (2, 3, 4), it would have two ancestral haplotypes because it is a soft sweep. If the sample would be (1, 3, 4) it would also contain two ancestral haplotypes, but this time because of recombination. In a coalescent view, both 1 and 2 escape the B part of the population.