Data-driven background estimation in CMS