Advanced ROOT based analyzer for CMS data