My codes used for CMS analysis