CMS analysis framework