Selection and plotting code for events with two or more leptons