User codes for CMS analyses